3Com Switch 7750 Configuration Guide Guide

MSDP Configuration Example 453
[SwitchC-bgp] import-route ospf
[SwitchC-bgp] quit
# Configure IBGP and EBGP on Switch F, and import OSPF routes.
[SwitchF] router id 3.3.3.3
[SwitchF] bgp 200
[SwitchF-bgp] group as100 external
[SwitchF-bgp] peer as100 as-number 100
[SwitchF-bgp] peer 192.168.1.1 group as100
[SwitchF-bgp] group as200
[SwitchF-bgp] peer 192.168.3.1 group as200
[SwitchF-bgp] import-route ospf
[SwitchF-bgp] quit
# Configure IBGP on Switch D, and import OSPF routes.
[SwitchD] router id 2.2.2.2
[SwitchD] bgp 200
[SwitchD-bgp] group as200
[SwitchD-bgp] peer as200 as-number 200
[SwitchD-bgp] peer 192.168.3.2 group as200
[SwitchD-bgp] import-route ospf
[SwitchD-bgp] quit
# Carry out the display bgp peer command to view the BGP peering
relationships
between the switches. The information about BGP peering
relationships
between Switch C, Switch D and Switch F is displayed as follows:
[SwitchC] display bgp peer
Peer AS-num Ver Queued-Tx Msg-Rx Msg-Tx Up/Down State
--------------------------------------------------------------------------
192.168.1.2 200 4 0 24 21 00:41:00 Established
[SwitchD] display bgp peer
Peer AS-num Ver Queued-Tx Msg-Rx Msg-Tx Up/Down State
--------------------------------------------------------------------------
192.168.3.2 200 4 0 21 20 00:46:00 Established
[SwitchF] display bgp peer
Peer AS-num Ver Queued-Tx Msg-Rx Msg-Tx Up/Down State
--------------------------------------------------------------------------
192.168.1.1 100 4 0 1 4 00:01:05 Established
192.168.3.1 200 4 0 0 0 00:00:05 Active
# Carry out the display bgp routing-table command to view the BGP routing
table
information on the switches. The BGP routing table information on Switch
F
is as follows:
[SwitchF] display bgp routing-table
Flags: # - valid ^ - active I - internal
D - damped H - history S - aggregate suppressed
Dest/Mask Next-hop Med Local-pref Origin As-path
---------------------------------------------------------------------------
#^ 192.168.0.0 0.0.0.0 0 IGP 100
# 1.1.1.1/32 192.168.1.1 0 IGP 100
# I 2.2.2.2/32 192.168.3.1 0 100 IGP 100
# 3.3.3.3/32 0.0.0.0 0 IGP 100
# 192.168.1.0 0.0.0.0 0 IGP 100
# 192.168.1.1 0 IGP 100
# 192.168.1.1/32 0.0.0.0 0 IGP 100
# 192.168.1.2/32 0.0.0.0 0 IGP 100
# 192.168.1.1 0 IGP 100
# 192.168.3.0 0.0.0.0 0 IGP 100
# I 192.168.3.1 0 100 IGP 100
# 192.168.3.1/32 0.0.0.0 0 IGP 100