Bgp Gr Configuration Example - HP HPE FlexNetwork 7500 series Configuration Manual

Table of Contents

Advertisement

# Configure a routing policy named localpref on Switch C, setting 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-localpref-10] if-match ip address acl 2000
[SwitchC-route-policy-localpref-10] apply local-preference 200
[SwitchC-route-policy-localpref-10] quit
# Apply routing policy localpref to routes from peer 193.1.1.1.
[SwitchC] bgp 200
[SwitchC-bgp-default] address-family ipv4 unicast
[SwitchC-bgp-default-ipv4] peer 193.1.1.1 route-policy localpref import
[SwitchC-bgp-default-ipv4] quit
[SwitchC-bgp-default] quit
# Display the BGP routing table on Switch D.
[SwitchD] display bgp routing-table ipv4
Total number of routes: 2
BGP local router ID is 195.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
Network
* >i 1.0.0.0
*
i
Route 1.0.0.0/8 learned from Switch C is the optimal.

BGP GR configuration example

Network requirements
As shown in
between Switch B and Switch C.
Enable GR capability for BGP so that the communication between Switch A and Switch C is not
affected when an active/standby switchover occurs on Switch B.
Figure 76 Network diagram
Vlan-int100
8.1.1.1/8
Switch A
(GR helper)
Configuration procedure
1.
Configure Switch A:
# Configure IP addresses for interfaces. (Details not shown.)
# Configure the EBGP connection.
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
193.1.1.1
192.1.1.1
Figure
76, all switches run BGP. EBGP runs between Switch A and Switch B. IBGP runs
AS 65008
AS 65009
Vlan-int200
Vlan-int200
200.1.1.2/24
200.1.1.1/24
MED
Vlan-int400
9.1.1.1/24
Switch B
(GR restarter)
343
LocPrf
PrefVal Path/Ogn
200
0
100
0
Vlan-int400
9.1.1.2/24
Switch C
(GR helper)
100i
100i

Advertisement

Table of Contents
loading

Table of Contents