< Home

peer connect-interface (MSDP)

Function

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.

Format

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

undo peer peer-address

Parameters

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

Views

MSDP view of the public network instance or MSDP view of the VPN instance

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure IP address 10.10.7.6 for the remote MSDP peer and specify VLANIF100 as the local interface.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] msdp
[HUAWEI-msdp] peer 10.10.7.6 connect-interface vlanif 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >