beautypg.com

Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 264

background image

248

Figure 93 Network diagram

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown)

2.

Configure EBGP connections:
# Configure Router A.

system-view

[RouterA] bgp 10

[RouterA-bgp] router-id 1.1.1.1

[RouterA-bgp] peer 200.1.2.2 as-number 20

[RouterA-bgp] network 9.1.1.0 255.255.255.0

[RouterA-bgp] quit

# Configure Router B.

system-view

[RouterB] bgp 20

[RouterB-bgp] router-id 2.2.2.2

[RouterB-bgp] peer 200.1.2.1 as-number 10

[RouterB-bgp] peer 200.1.3.2 as-number 30

[RouterB-bgp] quit

# Configure Router C.

system-view

[RouterC] bgp 30

[RouterC-bgp] router-id 3.3.3.3

[RouterC-bgp] peer 200.1.3.1 as-number 20

[RouterC-bgp] quit

# Display BGP routing table information on Router B.

[RouterB] 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