3Com Switch 4800G 24-Port Configuration Manual page 402

Switch 4800g family 24-port, pwr 24-port, 48-port, pwr 48-port, 24-port sfp
Hide thumbs Also See for Switch 4800G 24-Port:
Table of Contents

Advertisement

402
C
30: BGP C
HAPTER
ONFIGURATION
# Configure Switch C.
<SwitchC> system-view
[SwitchC] bgp 65009
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 200.1.2.2 as-number 65008
[SwitchC-bgp] peer 9.1.1.1 as-number 65009
[SwitchC-bgp] network 9.1.1.0 255.255.255.0
[SwitchC-bgp] quit
# Display the routing table on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 3
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
*>
8.0.0.0
*>
9.1.1.0/24
*
Two routes to 9.1.1.0/24 are available, and the one with the next hop being
200.1.1.1 is the optimal because the ID of Switch B is smaller.
3 Configure loading balancing
# Configure Switch A.
[SwitchA] bgp 65008
[SwitchA-bgp] balance 2
[SwitchA-bgp] quit
# Display the routing table on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 3
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
*>
8.0.0.0
*>
9.1.1.0/24
*>
The route 9.1.1.0/24 has two next hops 200.1.1.1 and 200.1.2.1, and both are
the optimal.
4 Configure MED
# Configure the default MED of Switch B.
[SwitchB] bgp 65009
[SwitchB-bgp] default med 100
i - internal, s - suppressed, S - Stale
NextHop
MED
0.0.0.0
0
200.1.1.1
0
200.1.2.1
0
i - internal, s - suppressed, S - Stale
NextHop
MED
0.0.0.0
0
200.1.1.1
0
200.1.2.1
0
LocPrf
PrefVal Path/Ogn
0
i
0
65009i
0
65009i
LocPrf
PrefVal Path/Ogn
0
i
0
65009i
0
65009i

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents