peer

Use peer to specify an MSDP peer.

Use undo peer to remove an MSDP peer.

Syntax

peer peer-address connect-interface interface-type interface-number

undo peer peer-address

Default

No MSDP peers exist.

Views

MSDP view

Predefined user roles

network-admin

Parameters

peer-address: Specifies an MSDP peer by its IP address.

connect-interface interface-type interface-number: Specifies an interface by its type and number. The local device uses the primary IP address of the specified interface to establish a TCP connection with the remote MSDP peer.

Usage guidelines

You must execute this command before you use any other peer commands.

Examples

# Specify the router with IP address 125.10.7.6 as an MSDP peer and VLAN-interface 100 as the local connection port on the public network.

<Sysname> system-view
[Sysname] msdp
[Sysname-msdp] peer 125.10.7.6 connect-interface vlan-interface 100