The peer connect-interface command configures an MSDP peer.
The undo peer command removes the configured MSDP peer.
By default, no MSDP peer is configured.
Parameter | Description | Value |
---|---|---|
peer-address | Specifies the address of a remote MSDP peer. | The address is in dotted decimal notation. |
interface-type interface-number | Specifies the type and the number of the interface. The local switch uses the primary address of the interface as the source IP address to set up the TCP connection with the remote MSDP peer. | - |
Usage Scenario
MSDP peers are identified by addresses. You can run the peer connect-interface command on two devices to specify the peer addresses for each other and specify interfaces for establishing the TCP connection. In this way, an MSDP peer connection is established.
Prerequisites
MSDP has been enabled using the msdp command.
Configuration Impact
You can run the peer peer-address connect-interface interface-type interface-number command repeatedly to configure multiple MSDP peers for the local switch.
You can specify the same interface-type interface-number for different peer-address. That is, you can specify the same local interface for different remote peers.
You can specify different interface-type interface-number for different peer-address. That is, you can specify different local interfaces for different remote peers.
Precautions
Run the peer connect-interface command before running other peer commands. Otherwise, the system displays a message indicating that the peer does not exist.
When configuring a static RPF peer, you need to first run the peer connect-interface command to set the remote end as an MSDP peer and then the static-rpf-peer command to set the MSDP peer as a static RPF peer.