HP 3600 v2 series Configuration Manual page 252

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 3.1.1.1 as-number 65009
[SwitchA-bgp] peer 3.1.2.1 as-number 65009
[SwitchA-bgp] network 8.1.1.1 24
[SwitchA-bgp] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] bgp 65009
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 3.1.1.2 as-number 65008
[SwitchB-bgp] peer 3.3.3.3 as-number 65009
[SwitchB-bgp] peer 3.3.3.3 connect-interface loopback 0
[SwitchB-bgp] network 9.1.1.0 255.255.255.0
[SwitchB-bgp] quit
[SwitchB] ip route-static 3.3.3.3 32 9.1.1.2
# Configure Switch C.
<SwitchC> system-view
[SwitchC] bgp 65009
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 3.1.2.2 as-number 65008
[SwitchC-bgp] peer 2.2.2.2 as-number 65009
[SwitchC-bgp] peer 2.2.2.2 connect-interface loopback 0
[SwitchC-bgp] network 9.1.1.0 255.255.255.0
[SwitchC-bgp] quit
[SwitchC] ip route-static 2.2.2.2 32 9.1.1.1
# Display the BGP 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, ^ - VPNv4 best, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? – incomplete
Network
*>
8.1.1.0/24
*>
9.1.1.0/24
*
The output shows two valid routes to destination 9.1.1.0/24: the route with next hop 3.1.1.1 is marked
with a greater-than sign (>), indicating it is the best route (because the ID of Switch B is smaller); the
route with next hop 3.1.2.1 is marked with only an asterisk (*), indicating it is a valid route, but not
the best.
By using the display ip routing-table command, you can find only one route to 9.1.1.0/24 with next
hop 3.1.1.1 and outbound interface VLAN-interface 200.
Configure loading balancing.
3.
i - internal, s - suppressed, S - Stale
NextHop
MED
0.0.0.0
0
3.1.1.1
0
3.1.2.1
0
240
LocPrf
PrefVal Path/Ogn
0
0
0
i
65009i
65009i

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents