Bgp Gr Configuration Example - HPE 5800 Series Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

Total Number of Routes: 2
BGP Local router ID is 194.1.1.1
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
*>i 1.0.0.0
* i
Route 1.0.0.0/8 is the optimal.
Method II: Configure different local preferences on Switch B and C for route 1.0.0.0/8,
making Switch D give priority to the route from Switch C.
# Define an ACL numbered 2000 on Switch C to permit route 1.0.0.0/8.
[SwitchC] acl number 2000
[SwitchC-acl-basic-2000] rule permit source 1.0.0.0 0.255.255.255
[SwitchC-acl-basic-2000] quit
# Configure a routing policy named localpref on Switch C to set the local preference of route
1.0.0.0/8 to 200 (the default is 100).
[SwitchC] route-policy localpref permit node 10
[SwitchC-route-policy] if-match acl 2000
[SwitchC-route-policy] apply local-preference 200
[SwitchC-route-policy] quit
# Apply routing policy localpref to routes from peer 193.1.1.1.
[SwitchC] bgp 200
[SwitchC-bgp] peer 193.1.1.1 route-policy localpref import
[SwitchC-bgp] quit
# Display the routing table on Switch D.
[SwitchD] display bgp routing-table
Total Number of Routes: 2
BGP Local router ID is 194.1.1.1
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
*>i 1.0.0.0
* i
Route 1.0.0.0/8 from Switch D to Switch C is the optimal.

BGP GR configuration example

Network requirements
As shown in
runs between Switch B and Switch C. Switch B is an IRF fabric, which is connected to Switch A and
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
NextHop
193.1.1.1
192.1.1.1
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
Figure
79, BGP runs on all switches. EBGP runs between Switch A and Switch B. IBGP
i - internal, s - suppressed, S - Stale
MED
50
100
i - internal, s - suppressed, S - Stale
NextHop
MED
193.1.1.1
0
192.1.1.1
0
239
LocPrf
PrefVal Path/Ogn
100
0
100
0
LocPrf
PrefVal Path/Ogn
200
0
100
0
100i
100i
100i
100i

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents