H3C Technologies H3C SecPath F1000-E User Manual

Page 515

Advertising
background image

490

<SecPathC> system-view

[SecPathC] bgp 65003

[SecPathC-bgp] router-id 3.3.3.3

[SecPathC-bgp] confederation id 200

[SecPathC-bgp] confederation peer-as 65001 65002

[SecPathC-bgp] peer 10.1.2.1 as-number 65001

[SecPathC-bgp] quit

3.

Configure IBGP connections in AS65001:
# Configure SecPath A.

[SecPathA] bgp 65001

[SecPathA-bgp] peer 10.1.3.2 as-number 65001

[SecPathA-bgp] peer 10.1.3.2 next-hop-local

[SecPathA-bgp] peer 10.1.4.2 as-number 65001

[SecPathA-bgp] peer 10.1.4.2 next-hop-local

[SecPathA-bgp] quit

# Configure SecPath D.

<SecPathD> system-view

[SecPathD] bgp 65001

[SecPathD-bgp] router-id 4.4.4.4

[SecPathD-bgp] confederation id 200

[SecPathD-bgp] peer 10.1.3.1 as-number 65001

[SecPathD-bgp] peer 10.1.5.2 as-number 65001

[SecPathD-bgp] quit

# Configure SecPath E.

<SecPathE> system-view

[SecPathE] bgp 65001

[SecPathE-bgp] router-id 5.5.5.5

[SecPathE-bgp] confederation id 200

[SecPathE-bgp] peer 10.1.4.1 as-number 65001

[SecPathE-bgp] peer 10.1.5.1 as-number 65001

[SecPathE-bgp] quit

4.

Configure the EBGP connection between AS100 and AS200:
# Configure SecPath A.

[SecPathA] bgp 65001

[SecPathA-bgp] peer 200.1.1.2 as-number 100

[SecPathA-bgp] quit

# Configure SecPath F.

<SecPathF> system-view

[SecPathF] bgp 100

[SecPathF-bgp] router-id 6.6.6.6

[SecPathF-bgp] peer 200.1.1.1 as-number 200

[SecPathF-bgp] network 9.1.1.0 255.255.255.0

[SecPathF-bgp] quit

5.

Verify the configuration:
# Display BGP routing table information on SecPath B.

Advertising