[SwitchA] msdp
[SwitchA-msdp] peer 192.1.1.2 connect-interface Vlanif100
[SwitchA-msdp] quit
# Configure Switch B.
[SwitchB] msdp
[SwitchB-msdp] peer 192.1.1.1 connect-interface Vlanif100
[SwitchB-msdp] quit
Step 8 Verify the configuration.
# Run the display bgp multicast peer command to view the MBGP peer relationship between
switches. For example, the following information shows the MBGP peer relationship on Switch
A:
[SwitchA] display bgp multicast peer
BGP local router ID : 1.1.1.1
Local AS number : 100
Total number of peers : 1 Peers in established state : 1
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
192.1.1.2 4 200 82 75 0 00:30:29 Established 17
# Run the display msdp brief command to view information about the MSDP peer relationship
between switches. For example, the following information shows the MBGP peer relationship
on Switch B:
[SwitchB] display msdp brief
MSDP Peer Brief Information
Configured Up Listen Connect Shutdown Down
1 1 0 0 0 0
Peer's Address State Up/Down time AS SA Count Reset Count
192.1.1.1 Up 00:07:17 100 1 0
----End
Configuration Files
l Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 100 to 101
#
multicast routing-enable
#
interface Vlanif100
ip address 192.1.1.1 255.255.255.0
pim bsr-boundary
pim sm
#
interface Vlanif101
ip address 10.10.10.1 255.255.255.0
pim sm
#
interface XGigabitEthernet0/0/1
port hybrid tagged vlan 100
#
interface XGigabitEthernet0/0/2
port hybrid tagged vlan 101
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
pim sm
#
pim
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 9 MBGP Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
587