Operation Manual – Multicast Protocol
H3C S3610&S5510 Series Ethernet Switches
Chapter 7 MSDP Configuration
7-20
[SwitchD-bgp] quit
# Configure EBGP on Switch F, and inject OSPF routes.
[SwitchF] bgp 200
[SwitchF-bgp] router-id 3.3.3.3
[SwitchF-bgp] peer 192.168.3.1 as-number 200
[SwitchF-bgp] import-route ospf 1
[SwitchF-bgp] quit
# Inject BGP routes into OSPF on Switch C.
[SwitchC] ospf 1
[SwitchC-ospf-1] import-route bgp
[SwitchC-ospf-1] quit
The configuration on Switch D and Switch F is similar to the configuration on Switch C.
Carry out the
display bgp peer
command to view the BGP peering relationships
between the switch. For example:
# View the information about BGP peering relationships on Switch C.
[SwitchC] display bgp 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 PrefRcv Up/Down State
192.168.1.2 4 200 24 21 0 6 00:13:09 Established
# View the information about BGP peering relationships on Switch D.
[SwitchD] display bgp peer
BGP local router ID : 2.2.2.2
Local AS number : 200
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
192.168.1.1 4 100 18 16 0 1 00:12:04 Established
192.168.3.2 4 200 21 20 0 6 00:12:05 Established
# View the information about BGP peering relationships on Switch F.
[SwitchF] display bgp peer
BGP local router ID : 3.3.3.3
Local AS number : 200
Total number of peers : 1 Peers in established state : 1