Bgp route reflector configuration, Network requirements, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 260

Advertising
background image

245

[SwitchA] bgp 10

[SwitchA-bgp] peer 200.1.2.2 route-policy comm_policy export

[SwitchA-bgp] peer 200.1.2.2 advertise-community

# Display the routing table on Switch B.

[SwitchB] display bgp routing-table 9.1.1.0

BGP local router ID : 2.2.2.2

Local AS number : 20

Paths: 1 available, 1 best

BGP routing table entry information of 9.1.1.0/24:

From : 200.1.2.1 (1.1.1.1)

Original nexthop: 200.1.2.1

Community : No-Export

AS-path : 10

Origin : igp

Attribute value : MED 0, pref-val 0, pre 255

State : valid, external, best,

Not advertised to any peers yet

The route 9.1.1.0/24 is not available in the routing table of Switch C.

BGP route reflector configuration

Network requirements

In

Figure 94

, all switches run BGP.

Between Switch A and Switch B is an eBGP connection; between Switch C and Switch B, and
between Switch C and Switch D are iBGP connections.

Switch C is a route reflector with clients Switch B and D.

Switch D can learn route 1.0.0.0/8 from Switch C.

Figure 94 Network diagram for BGP route reflector configuration

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown)

2.

Configure BGP connections.

# Configure Switch A.

Advertising