Creating an MSDP peer

Create an MSDP peer to establish a peer relationship between the local MSDP enabled router and a peer in another domain.
Important

Important

Do not enable more than 20 active peers.

Procedure

  1. Enter either Global Configuration mode or VRF Router Configuration mode for a specific VRF context:

    enable

    configure terminal

    Optional: router vrf WORD<1-16>

  2. Create an MSDP peer:

    ip msdp peer {A.B.C.D}

  3. Enable an MSDP peer:

    ip msdp peer {A.B.C.D} enable

    Note

    Note

    MSDP peer is disabled by default.

  4. Optional: Specify the remote autonomous system (AS) number of the MSDP peer:

    ip msdp peer {A.B.C.D} remote–as WORD<0-11>

Example

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#ip msdp peer 21.0.0.2
Switch:1(config)#ip msdp peer 21.0.0.2 enable
Switch:1(config)#ip msdp peer remote-as 1

Variable definitions

The following table defines parameters for the ip msdp peer command.

Variable

Value

{A.B.C.D}

Specifies the MSDP peer IP address.

WORD<0-11>

Specifies the AS number of the MSDP peer, 0-65535 (2-Byte AS) 0-4294967295 (4-Byte AS).