peer connect-interface
Syntax
peer peer-address connect-interface interface-type interface-number
undo peer peer-address
View
MSDP view
Parameters
peer-address: Specifies an MSDP peer by its IP address.
interface-type interface-number: Specifies an interface by its type and number. The switch will use the
primary address of this interface as the source IP to establish a TCP connection with the remote MSDP
peer.
Description
Use the peer connect-interface command to specify an MSDP peer and connect the switch with the
MSDP peer through the specified interface.
Use the undo peer connect-interface command to remove an MSDP peering connection.
If an MSDP peer of the switch is a BGP peer to this switch at the same time, the same IP address must
be used for both the MSDP peering connection and the BGP peering connection.
Related commands: static-rpf-peer.
Examples
# Configure the switch whose IP address is 125.10 .7.6 as the MSDP peer of the switch and establish a
peering connection with the MSDP peer through VLAN-interface 100.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] msdp
[Sysname-msdp] peer 125.10.7.6 connect-interface Vlan-interface 100
peer description
Syntax
peer peer-address description text
undo peer peer-address description
View
MSDP view
Parameters
peer-address: Specifies an MSDP peer by its IP address.
text: Descriptive text, case-sensitive. The maximum length is 80 characters.
4-11