3Com Switch 8800 Advanced Software V5 Configuration Guide
MSDP Configuration Examples 625
[SwitchC] interface loopback 0
[SwitchC-LoopBack0] ip address 1.1.1.1 255.255.255.255
[SwitchC-LoopBack0] pim sm
[SwitchC-LoopBack0] quit
[SwitchC] pim
[SwitchC-pim] c-bsr loopback 0
[SwitchC-pim] c-rp loopback 0
[SwitchC-pim] quit
The configuration on Switch D and Switch F is similar to the configuration on
Switch C.
4 Configure inter-AS BGP and configure mutual route redistribution between BGP
and OSPF
# Configure EBGP on Switch C, and import OSPF routes.
[SwitchC] bgp 100
[SwitchC-bgp] router-id 1.1.1.1
[SwitchC-bgp] peer 192.168.1.2 as-number 200
[SwitchC-bgp] import-route ospf 1
[SwitchC-bgp] quit
# Configure IBGP and EBGP on Switch D, and import OSPF routes.
<SwitchD> system-view
[SwitchD] bgp 200
[SwitchD-bgp] router-id 2.2.2.2
[SwitchD-bgp] peer 192.168.1.1 as-number 100
[SwitchD-bgp] peer 192.168.3.2 as-number 200
[SwitchD-bgp] import-route ospf 1
[SwitchD-bgp] quit
# Configure IBGP on Switch F, and import OSPF routes.
<SwitchF> system-view
[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
# Import BGP routing information 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.
Use the display bgp peer command to view the BGP peering relationships
between the switches. For example:
# View the information about BGP peering relationship on Switch C.