Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 510
485
Figure 291 Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown)
2.
Configure EBGP connections:
# Configure SecPath A.
<SecPathA> system-view
[SecPathA] bgp 10
[SecPathA-bgp] router-id 1.1.1.1
[SecPathA-bgp] peer 200.1.2.2 as-number 20
[SecPathA-bgp] network 9.1.1.0 255.255.255.0
[SecPathA-bgp] quit
# Configure SecPath B.
<SecPathB> system-view
[SecPathB] bgp 20
[SecPathB-bgp] router-id 2.2.2.2
[SecPathB-bgp] peer 200.1.2.1 as-number 10
[SecPathB-bgp] peer 200.1.3.2 as-number 30
[SecPathB-bgp] quit
# Configure SecPath C.
<SecPathC> system-view
[SecPathC] bgp 30
[SecPathC-bgp] router-id 3.3.3.3
[SecPathC-bgp] peer 200.1.3.1 as-number 20
[SecPathC-bgp] quit
# Display BGP routing table information on SecPath B.
[SecPathB] 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