beautypg.com

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

Page 262

background image

6-59

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 the following figure, all switches run BGP.

z

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.

z

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

z

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

Figure 6-24 Network diagram for BGP route reflector configuration

Configuration procedure

1) Configure IP addresses for interfaces (omitted)

2) Configure BGP connections

# Configure Switch A.

system-view

[SwitchA] bgp 100

[SwitchA-bgp] router-id 1.1.1.1

[SwitchA-bgp] peer 192.1.1.2 as-number 200

# Inject network 1.0.0.0/8 to the BGP routing table.

[SwitchA-bgp] network 1.0.0.0

[SwitchA-bgp] quit

# Configure Switch B.

system-view

[SwitchB] bgp 200

[SwitchB-bgp] router-id 2.2.2.2

[SwitchB-bgp] peer 192.1.1.1 as-number 100

[SwitchB-bgp] peer 193.1.1.1 as-number 200

[SwitchB-bgp] peer 193.1.1.1 next-hop-local