< Home

peer connect-interface (MSDP)

Function

The peer connect-interface command configures an MSDP peer.

The undo peer command restores the default configuration.

Format

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

undo peer peer-address

Parameters

Parameter Description Value
peer-address Indicates the address of a remote MSDP peer. The address is in dotted decimal notation.
interface-type interface-number Indicates the type and number of an interface. The local FW uses the primary address of the interface as the source IP address to set up the TCP connection with the remote MSDP peer. The system does not advertise routes on MTIs to private networks. Therefore, do not use the addresses of MTIs to set up the MSDP peer relationship.

Views

MSDP view

Default Level

2: Configuration level

Usage Guidelines

By default, no MSDP peer is configured.

Usage Scenario

The peer connect-interface command is used to configure MSDP peers and set up TCP connections among these MSDP peers.

Configuration Impact

Before running other peer commands, run the peer connect-interface command.

You can repeat the peer peer-address connect-interface interface-type interface-number command to configure multiple MSDP peers for the local FW.

  • 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.

Example

# In the public network instance, configure the FW with the IP address of 10.10.7.6 as the MSDP peer of the local FW. GE 1/0/0 is the local port of the connection.
<sysname> system-view
[sysname] msdp
[sysname-msdp] peer 10.10.7.6 connect-interface GigabitEthernet 0/0/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >