beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 269

background image

253

system-view

[RouterC] bgp 65003

[RouterC-bgp] router-id 3.3.3.3

[RouterC-bgp] confederation id 200

[RouterC-bgp] confederation peer-as 65001 65002

[RouterC-bgp] peer 10.1.2.1 as-number 65001

[RouterC-bgp] quit

3.

Configure IBGP connections in AS65001:
# Configure Router A.

[RouterA] bgp 65001

[RouterA-bgp] peer 10.1.3.2 as-number 65001

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

[RouterA-bgp] peer 10.1.4.2 as-number 65001

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

[RouterA-bgp] quit

# Configure Router D.

system-view

[RouterD] bgp 65001

[RouterD-bgp] router-id 4.4.4.4

[RouterD-bgp] confederation id 200

[RouterD-bgp] peer 10.1.3.1 as-number 65001

[RouterD-bgp] peer 10.1.5.2 as-number 65001

[RouterD-bgp] quit

# Configure Router E.

system-view

[RouterE] bgp 65001

[RouterE-bgp] router-id 5.5.5.5

[RouterE-bgp] confederation id 200

[RouterE-bgp] peer 10.1.4.1 as-number 65001

[RouterE-bgp] peer 10.1.5.1 as-number 65001

[RouterE-bgp] quit

4.

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

[RouterA] bgp 65001

[RouterA-bgp] peer 200.1.1.2 as-number 100

[RouterA-bgp] quit

# Configure Router F.

system-view

[RouterF] bgp 100

[RouterF-bgp] router-id 6.6.6.6

[RouterF-bgp] peer 200.1.1.1 as-number 200

[RouterF-bgp] network 9.1.1.0 255.255.255.0

[RouterF-bgp] quit

5.

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

[RouterB] display bgp routing-table