Bgp Route Reflector Configuration Example - HP HPE FlexNetwork 7500 series Configuration Manual

Table of Contents

Advertisement

BGP local router ID: 2.2.2.2
Local AS number: 20
Paths:
1 best
BGP routing table information of 9.1.1.0/24:
Not advertised to any peers yet
# Display the BGP routing table on Switch C.
[SwitchC] display bgp routing-table ipv4
Total number of routes: 0
The output shows that BGP has not learned any route.

BGP route reflector configuration example

Network requirements
As shown in
IBGP between Switch C and Switch B, and between Switch C and Switch D.
Configure Switch C as a route reflector with clients Switch B and Switch D to allow Switch D to learn
route 20.0.0.0/8 from Switch C.
Figure 73 Network diagram
Loop0
1.1.1.1/32
Vlan-int100
20.1.1.1/8
Switch A
AS 100
Configuration procedure
1.
Configure IP addresses for interfaces and configure OSPF in AS 200. (Details not shown.)
2.
Configure BGP connections:
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 100
[SwitchA-bgp-default] router-id 1.1.1.1
[SwitchA-bgp-default] peer 192.1.1.2 as-number 200
[SwitchA-bgp-default] address-family ipv4 unicast
[SwitchA-bgp-default-ipv4] peer 192.1.1.2 enable
# Inject network 20.0.0.0/8 to the BGP routing table.
[SwitchA-bgp-default-ipv4] network 20.0.0.0
[SwitchA-bgp-default-ipv4] quit
[SwitchA-bgp-default] quit
Figure
73, all switches run BGP. Run EBGP between Switch A and Switch B, and run
Vlan-int200
192.1.1.1/24
193.1.1.1/24
Loop0
2.2.2.2/32
Vlan-int200
192.1.1.2/24
Switch B
Loop0
3.3.3.3/32
Route reflector
Vlan-int300
Vlan-int400
194.1.1.1/24
Switch C
Vlan-int300
Vlan-int400
193.1.1.2/24
194.1.1.2/24
AS 200
334
Loop0
4.4.4.4/32
Switch D

Advertisement

Table of Contents
loading

Table of Contents