Table Of Contents
Multicast Source Discovery Protocol Commands on Cisco IOS XR Software
cache-sa-holdtime
cache-sa-state
clear msdp peer
clear msdp sa-cache
clear msdp stats
connect-source
default-peer
description (peer)
maximum external-sa
maximum peer-external-sa
mesh-group (peer)
originator-id
password (peer)
peer (MSDP)
remote-as (multicast)
sa-filter
show msdp globals
show msdp peer
show msdp rpf
show msdp sa-cache
show msdp statistics peer
show msdp summary
shutdown (MSDP)
ttl-threshold (MSDP)
Multicast Source Discovery Protocol Commands on Cisco IOS XR Software
This chapter describes the commands used to configure and monitor the Multicast Source Discovery Protocol (MSDP) on Cisco IOS XR software.
For detailed information about multicast routing concepts, configuration tasks, and examples, refer to the Implementing Multicast Routing on Cisco IOS XR Software configuration module in Cisco IOS XR Multicast Configuration Guide.
cache-sa-holdtime
To configure the cache source-active (SA) state hold-time period on a router, use the cache-sa-holdtime command in router MSDP configuration mode. To return to the default behavior, use the no form of this command.
cache-sa-holdtime holdtime-number
no cache-sa-holdtime holdtime-number
Syntax Description
holdtime-number
|
Hold-time period (in seconds). Range is 150 to 3600.
|
Defaults
holdtime-number: 150 seconds
Command Modes
Router MSDP configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The cache-sa-holdtime command is used to increase the cache SA state hold time. Any cache entry that is created usually expires after 150 seconds. For troubleshooting purposes, you may need Multicast Source Discovery Protocol (MSDP) to keep SA cache entries for a longer period.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to set the cache SA state hold-time period to 200 seconds:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# cache-sa-holdtime 200
Related Commands
Command
|
Description
|
cache-sa-state
|
Controls cache SA state on a router.
|
cache-sa-state
To control cache source-active (SA) state on a router, use the cache-sa-state command in router MSDP configuration mode. To return to the default behavior, use the no form of this command.
cache-sa-state {list access-list-number | rp-list access-list-name}
no cache-sa-state {list access-list-number | rp-list access-list-name}
Syntax Description
list access-list-number
|
Specifies an IP access list that defines which (S, G) pairs to cache.
|
rp-list access-list-name
|
Specifies an access list name for the originating rendezvous point (RP).
|
Defaults
The router creates SA state.
Command Modes
Router MSDP configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
When a new member joins a group immediately after an SA message arrives, latency may occur and an SA message may be missed. To overcome this problem, you can configure this command and the router will supply SA information (from cache memory) to the new member instead of requiring that the member wait until the next SA message is received.
The cache-sa-state command is required in every Multicast Source Discovery Protocol (MSDP) speaker, to cache SA messages received from peers.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure the cache state for all sources in 10.0.0.0/16 sending to groups 224.2.0.0/16:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# cache-sa-state list 100
RP/0/RP0/CPU0:router(config-msdp)# exit
RP/0/RP0/CPU0:router(config)# ipv4 access-list 100 permit 10.0.0.0 0.0.255.255 224.2.0.0
0.0.255.255
Note
The source and destination fields in the access list matches on the (S,G) fields in the SA messages. We recommend that the first address and mask field in the access list is used for the source and the second field in the access list is used for the group or destination.
Related Commands
clear msdp peer
To clear the TCP connection of the specified Multicast Source Discovery Protocol (MSDP) peer, use the clear msdp peer command in EXEC mode.
clear msdp [ipv4] peer peer-address
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes.
|
peer-address
|
IPv4 address or hostname of the MSDP peer to which the TCP connection is cleared.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The clear msdp peer command closes the TCP connection to the MSDP peer, resets all the MSDP peer statistics, and clears the input and output queues to and from the MSDP peer.
Task ID
Task ID
|
Operations
|
multicast
|
execute
|
Examples
The following example shows how to clear the TCP connection of the MSDP peer at address 224.15.9.8:
RP/0/RP0/CPU0:router# clear msdp peer 224.15.9.8
Related Commands
Command
|
Description
|
peer (MSDP)
|
Enters peer configuration mode and configures an MSDP peer.
|
clear msdp sa-cache
To clear external Multicast Source Discovery Protocol (MSDP) source-active (SA) cache entries, use the clear msdp sa-cache command in EXEC mode.
clear msdp [ipv4] sa-cache [group-address]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes.
|
group-address
|
(Optional) Multicast group address or name for which external SA entries are cleared from the SA cache.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
The ipv4 keyword was added.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Note
SA caching is enabled by default on Cisco IOS XR software.
If you do not specify a multicast group by group address or group name with the group-address argument, the clear msdp sa-cache command clears all external SA cache entries.
Note
Local SA cache entries can be cleared using the clear pim topology command.
Task ID
Task ID
|
Operations
|
multicast
|
execute
|
Examples
The following example shows how to clear the external SA entries for the multicast group at address 224.5.6.7 from the cache:
RP/0/RP0/CPU0:router# clear msdp sa-cache 224.5.6.7
Related Commands
clear msdp stats
To reset Multicast Source Discovery Protocol (MSDP) peer statistic counters, use the clear msdp stats command in EXEC mode.
clear msdp [ipv4] stats [peer peer-address] [allvalues]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes.
|
peer peer-address
|
(Optional) Clears MSDP peer statistic counters for the specified IPv6 MSDP peer address or peer name.
|
allvalues
|
(Optional) Clears all statistic counters for all MSDP peers.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
The ipv4 keyword was added.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The clear msdp stats command resets MSDP peer statistic counters such as the number of keepalives sent and received and the number of Source Active (SA) entries sent and received.
If you do not specify an MSDP peer with the peer keyword and peer-address argument, this command clears statistic counters for all MSDP peers.
Task ID
Task ID
|
Operations
|
multicast
|
execute
|
Examples
The following example shows how to clear all statistics for all peers:
RP/0/RP0/CPU0:router# clear msdp stats peer 224.0.1.1
Related Commands
connect-source
To configure a source address used for a Multicast Source Discovery Protocol (MSDP) connection, use the connect-source command in the appropriate configuration mode. To return to the default behavior, use the no form of this command.
connect-source type instance
no connect-source type instance
Syntax Description
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
If a source address is not configured for the MSDP connection, the IP address of the interface toward the peer is used as a source address.
Command Modes
Router MSDP configuration
MSDP peer configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The connect-source command:
•
Specifies the interface type and instance whose primary address becomes the source IP address for the TCP connection.
•
Is recommended for MSDP peers that peer with a router inside the remote domain.
•
Can be configured globally for MSDP (and is inheritable by MSDP peers). This global configuration can be overridden if the command is issued again in peer configuration mode.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure a loopback interface source address for an MSDP connection:
RP/0/RP0/CPU0:router(config)# interface loopback 0
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1/24
RP/0/RP0/CPU0:router(config-if)# exit
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# connect-source loopback 0
default-peer
To define a default peer from which to accept all Multicast Source Discovery Protocol (MSDP) source-active (SA) messages, use the default-peer command in router MSDP configuration mode. To return to the default behavior, use the no form of this command.
default-peer ip-address
no default-peer
Syntax Description
ip-address
|
IP address or Domain Name System (DNS) name of the MSDP default peer.
|
Defaults
No default MSDP peer exists.
Command Modes
MSDP configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
The command was moved from MSDP peer configuration mode to MSDP configuration mode.
The prefix-list keyword was removed.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
A default peer configuration accepts all MSDP Source-Active (SA) messages, as a last Reverse Path Forwarding (RPF) rule, when all other MSDP RPF rules fail.
Use the default-peer command if you do not want to configure your MSDP peer to be a BGP peer also.
When the prefix-list list keyword and argument are not specified, all SA messages received from the configured default peer are accepted.
Remember to configure a BGP prefix list to configure the prefix-list list keyword and argument with the default-peer command.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure the router 172.16.12.0 as the default peer to the local router:
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# default-peer 172.16.12.0
Related Commands
Command
|
Description
|
peer (MSDP)
|
Enters peer configuration mode and configures an MSDP peer.
|
description (peer)
To add descriptive text to the configuration for a Multicast Source Discovery Protocol (MSDP) peer, use the description command in peer configuration mode. To return to the default behavior, use the no form of this command.
description peer-address text
no description peer-address text
Syntax Description
peer-address
|
IP address or hostname for the peer to which this description applies.
|
text
|
Description of the MSDP peer. Use up to 80 characters to describe this peer.
|
Defaults
No description is associated with an MSDP peer.
Command Modes
MSDP peer configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Configure a description to make the MSDP peer easier to identify. This description is visible in the show msdp peer command output.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure the router at the IP address 10.0.5.4 with a description indicating that it is a router at customer site A:
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# peer 10.0.5.4
RP/0/RP0/CPU0:router(config-msdp-peer)# description 10.0.5.4 router_at_customer_site_A
Related Commands
Command
|
Description
|
peer (MSDP)
|
Enters peer configuration mode and configures an MSDP peer.
|
show msdp peer
|
Displays information about the MSDP peer.
|
maximum external-sa
To configure the maximum number of external Multicast Source Discovery Protocol (MSDP) source-active (SA) entries that can be learned by the router or by a specific MSDP peer, use the maximum external-sa command in the appropriate configuration mode. To return to the default behavior, use the no form of this command.
maximum external-sa entries
no maximum external-sa
Syntax Description
entries
|
Maximum number of SA entries that can be learned by the router or a specific MSDP peer. Range is 1 to 75000.
|
Defaults
entries: 20000
Command Modes
MSDP peer configuration
Router MSDP configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
When issued from router MSDP configuration mode, the maximum external-sa command configures the total number of external SA entries (that is, the total cumulative SA state for all peers) that can be learned by the router. This command is used to control router resource utilization under heavy traffic conditions.
Note
The configuration fails if you configure the maximum number of external SA entries to be lower than the current accumulated SA state.
When issued from MSDP peer configuration mode, the maximum external-sa command configures the total number of external SA entries that can be learned by a specific MSDP peer. From MSDP configuration mode, this command can also be used to configure a specific MSPD peer to override the maximum external SA entry value configured with the maximum peer-external-sa command.
Note
The configuration fails if you configure the maximum number of external SA entries for a specific MSDP peer to be higher than the maximum number of external SA entries that can be learned by the router.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
This example shows how to configure the maximum number of external SA entries that can be learned by the router to 30000 SA entries:
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# maximum external-sa 30000
This example shows how to configure the maximum number of external SA entries that can be learned by the MSDP peer at address 10.1.5.3 to 25000 SA entries:
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# peer 10.1.5.3
RP/0/RP0/CPU0:router(config-msdp-peer)# maximum external-sa 25000
Related Commands
maximum peer-external-sa
To configure the maximum number of external Multicast Source Discovery Protocol (MSDP) Source-Active (SA) entries that can be learned from MSDP peers, use the maximum peer-external-sa command in router MSDP configuration mode. To return to the default behavior, use the no form of this command.
maximum peer-external-sa entries
no maximum peer-external-sa
Syntax Description
entries
|
Maximum number of SA entries to be learned by MSDP peers. Range is 1 to 75000.
|
Defaults
entries: 20000
Command Modes
Router MSDP configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The maximum peer-external-sa command configures the maximum number of external SA entries that can be learned for each configured MSDP peer, whereas the maximum external-sa command (in router MSDP configuration mode) configures the maximum number of SA entries accepted by the router as a cumulative total.
Note
The configuration fails if you attempt to configure the maximum number of external SA entries for MSDP peers to be higher than the maximum number of external SA entries that can be learned by the router.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
This example shows how to configure the maximum number of external SA entries that each MSDP peer can learn to 27000 SA entries:
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# maximum peer-external-sa 27000
Related Commands
mesh-group (peer)
To configure a Multicast Source Discovery Protocol (MSDP) peer to be a member of a mesh group, use the mesh-group command in peer configuration mode. To return to the default behavior, use the no form of this command.
mesh-group name
no mesh-group name
Syntax Description
name
|
Name of the mesh group.
|
Defaults
MSDP peers do not belong to a mesh group.
Command Modes
MSDP peer configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
A mesh group is a group of MSDP speakers that have fully meshed MSDP connectivity among themselves. Any Source-Active (SA) messages received from a peer in a mesh group are not forwarded to other peers in the same mesh group.
Mesh groups can be used to:
•
Reduce SA message flooding
•
Simplify peer-Reverse Path Forwarding (RPF) flooding (no need to run Border Gateway Protocol [BGP] or multiprotocol BGP among MSDP peers)
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure the MSDP peer at address 10.0.5.4 to be a member of the mesh group named internal:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# peer 10.0.5.4
RP/0/RP0/CPU0:router(config-msdp-peer)# mesh-group internal
originator-id
To identify an interface type and instance to be used as the rendezvous point (RP) address in a Multicast Source Discovery Protocol (MSDP) Source-Active (SA) message, use the originator-id command in router MSDP configuration mode. To return to the default behavior, use the no form of this command.
originator-id type instance
no originator-id type instance
Syntax Description
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
The RP address is used as the originator ID.
Command Modes
Router MSDP configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The originator-id command allows an MSDP speaker that originates an SA message to use the IP address of the interface as the RP address in the SA message.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure Packet-over-SONET/SDH (POS) interface 0/1/1/0 to be used as the RP address in SA messages:
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# originator-id pos 0/1/1/0
password (peer)
To enable Message Digest 5 (MD5) authentication on a TCP connection between two Multicast Source Discovery Protocol (MSDP) peers, use the password command in MSDP peer configuration mode. To return to the default behavior, use the no form of this command.
password {clear | encrypted} password
no password {clear | encrypted} password
Syntax Description
clear
|
Specifies that an unencrypted password follows. The password must be a case-sensitive, clear-text unencrypted password.
|
encrypted
|
Specifies that an encrypted password follows. The password must be a case-sensitive, encrypted password.
|
password
|
Password of up to 80 characters. The password can contain any alphanumeric characters. However, if the first character is a number or the password contains a space, the password must be enclosed in double quotation marks; for example, "2 password."
|
Defaults
No password is configured.
Command Modes
MSDP peer configuration
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The password command supports MD5 signature protection on a TCP connection between two MSDP peers. When MD5 authentication is enabled between two MSDP peers, each segment sent on the TCP connection between the peers is verified. MD5 authentication must be configured with the same password on both MSDP peers; otherwise, the connection between them is not made. Configuring MD5 authentication causes the Cisco IOS XR software to generate and verify the MD5 digest of every segment sent on the TCP connection.
Use the show msdp peer command to check if a password has been configured on a peer.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure the MSDP password on a peer:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# peer 10.0.5.4
RP/0/RP0/CPU0:router(config-msdp-peer)# password encrypted a34bi5m
Related Commands
Command
|
Description
|
show msdp peer
|
Displays information about the MSDP peer.
|
peer (MSDP)
To configure a Multicast Source Discovery Protocol (MSDP) peer, use the peer command in router MSDP configuration mode. To return to the default behavior, use the no form of this command.
peer peer-address
no peer peer-address
Syntax Description
peer-address
|
IP address or Domain Name System (DNS) name of the router that is to be the MSDP peer.
|
Defaults
No MSDP peer is configured.
Command Modes
Router MSDP configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Configure the specified router as a Border Gateway Protocol (BGP) neighbor.
If you are also BGP peering with this MSDP peer, use the same IP address for MSDP as you do for BGP. However, you are not required to run BGP or multiprotocol BGP with the MSDP peer, as long as there is a BGP or multiprotocol BGP path between the MSDP peers. If there is no path, you must configure the default-peer command from router MSDP configuration mode.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure the router at the IP address 172.16.1.2 as an MSDP peer to the local router and enter MSDP peer configuration mode:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# peer 172.16.1.2
RP/0/RP0/CPU0:router(config-msdp-peer)#
Related Commands
Command
|
Description
|
default-peer
|
Defines a default peer from which to accept all MSDP Source-Active (SA) messages.
|
remote-as (multicast)
To configure the remote autonomous system number of this peer, use the remote-as command in peer configuration mode. To return to the default behavior, use the no form of this command.
remote-as as-number
no remote-as as-number
Syntax Description
as-number
|
Autonomous system number of this peer. Range for 2-byte numbers is 1 to 65535. Range for 4-byte numbers is 1.0 to 65535.65535.
|
Defaults
If this command is not issued during peer configuration, the remote autonomous system value is derived from BGP (if also configured) or initialized to zero, when only Interior Gateway Protocol (IGP) is present.
Command Modes
MSDP peer configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
Support was added for the as-number 4-byte number range 1.0 to 65535.65535.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Use the remote-as command to configure remote autonomous system if deriving the autonomous system value from the configured Border Gateway Protocol (BGP) is not required.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to set the autonomous system number for the specified peer to 250:
RP/0/RP0/CPU0:router(config)# router msdp
RP/0/RP0/CPU0:router(config-msdp)# peer 172.16.5.4
RP/0/RP0/CPU0:router(config-msdp-peer)# remote-as 250
sa-filter
To configure an incoming or outgoing filter list for Source-Active (SA) messages received from the specified Multicast Source Discovery Protocol (MSDP) peer, use the sa-filter command in the appropriate configuration mode. To return to the default behavior, use the no form of this command.
sa-filter {in | out} {list access-list-name |