334
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
, all switches run BGP. Run EBGP between Switch A and Switch B, and run
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
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
Vlan-int200
192.1.1.1/24
Switch A
AS 100
Vlan-int200
192.1.1.2/24
Vlan-int100
20.1.1.1/8
Vlan-int300
193.1.1.2/24
Vlan-int400
194.1.1.2/24
Vlan-int400
194.1.1.1/24
Vlan-int300
193.1.1.1/24
Switch C
Switch B
Switch D
AS 200
Route reflector
Loop0
1.1.1.1/32
Loop0
3.3.3.3/32
Loop0
2.2.2.2/32
Loop0
4.4.4.4/32
Summary of Contents for HPE FlexNetwork 7500 series
Page 505: ...493 Connector N A ...