Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 953
928
Figure 406 Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure BGP:
# Configure SecPath A.
<SecPathA> system-view
[SecPathA] bgp 100
[SecPathA-bgp] router-id 1.1.1.1
[SecPathA-bgp] peer 1.1.1.2 as-number 300
# Configure SecPath B.
<SecPathB> system-view
[SecPathB] bgp 200
[SecPathB-bgp] router-id 2.2.2.2
[SecPathB-bgp] peer 1.1.2.2 as-number 300
# Configure SecPath C.
<SecPathC> system-view
[SecPathC] bgp 300
[SecPathC-bgp] router-id 3.3.3.3
[SecPathC-bgp] peer 1.1.1.1 as-number 100
[SecPathC-bgp] peer 1.1.2.1 as-number 200
[SecPathC-bgp] peer 1.1.3.2 as-number 400
# Configure SecPath D.
<SecPathD> system-view
[SecPathD] bgp 400
[SecPathD-bgp] router-id 4.4.4.4
[SecPathD-bgp] peer 1.1.3.1 as-number 300
[SecPathD-bgp] quit
# Inject routes 4.4.4.4/24, 5.5.5.5/24, and 6.6.6.6/24 on SecPath A.
[SecPathA-bgp] network 4.4.4.4 24
[SecPathA-bgp] network 5.5.5.5 24
[SecPathA-bgp] network 6.6.6.6 24