3Com Switch 8800 Advanced Software V5 Configuration Guide

BGP Configuration Examples 463
[SwitchD-bgp] peer 194.1.1.1 as-number 200
[SwitchD-bgp] quit
3 Configure the route reflector
# Configure SwitchC
[SwitchC] bgp 200
[SwitchC-bgp] peer 193.1.1.2 reflect-client
[SwitchC-bgp] peer 194.1.1.2 reflect-client
[SwitchC-bgp] quit
4 Verify the above configuration
# Display the BGP routing table of SwitchB.
[SwitchB] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 200.1.2.2
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 1.0.0.0 192.1.1.1 0 0 100i
# Display the BGP routing table of SwitchD.
[SwitchD] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 200.1.2.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
i 1.0.0.0 193.1.1.2 0 100 0 100i
SwitchD learned route 1.0.0.0/8 from SwitchC.
BGP Path Selection
Configuration
Network requirements
In the figure below, all switches run BGP. Between Switch A and Switch B,
Switch A and Switch C are EBGP connections. Between Switch B and Switch D,
Switch D and Switch C are IBGP connections.
OSPF is the IGP protocol in AS 200.
Configure routing policies, making Switch D give priority to the route 1.0.0.0/8
from Switch C.