msdp-peer
msdp-peer
ip-address
[
connect-source loopback
num
|
shutdown
]
no msdp-peer
ip-address
[
connect-source loopback
num
|
shutdown
]
MSDP router configuration mode
VRF configuration mode
The
no form of the command with deletes the MSDP peer configuration. You should provide
the IP address to identify the MSDP peer configuration that needs deletion. Use the
shutdown option to disable the MSDP peer.
It is strongly recommended that you specify the
connect-source loopback
keyword when iyou configure the
msdp-peer command. If you do not, the device uses the IP address of the outgoing interface.
You should also make sure that the IP address of the connect-source loopback is the
source IP address used by the PIM RP and the BGP device.
The following example configures a device with the address 205.216.162.1 as an MSDP peer.
device(config)# router msdp device(config-msdp-router)# msdp-peer 205.216.162.1
The following example configures an MSDP peer on a VRF.
device(config)# router msdp device(config-msdp-router)# msdp-peer 205.216.162.1
The following example adds an MSDP peer and specifies a loopback interface as the source interface for sessions with the peer. By default, the device uses the subnet address configured on the physical interface where you configure the peer as the source address for sessions with the peer.
device(config)# interface loopback 1 device(config-lbif-1)# ip address 9.9.9.9/32 device(config)# router msdp device(config-msdp-router)# msdp-peer 2.2.2.99 connect-source loopback 1