3Com Switch 7750 Configuration Guide Guide

Configuration Example 355
Configuration
Example
Configuring BGP AS
Confederation Attribute
Network requirements
Divide the AS 100 shown in the following figure into three sub-ASs: 1001, 1002,
and 1003. Configure EBGP, Confederation EBGP, and IBGP.
Network diagram
Figure 81 Diagram for AS confederation
Configuration procedure
# Configure SwitchA.
[SwitchA] bgp 1001
[SwitchA-bgp] confederation id 100
[SwitchA-bgp] confederation peer-as 1002 1003
[SwitchA-bgp] group confed1002 external
[SwitchA-bgp] peer 172.68.10.2 group confed1002 as-number 1002
[SwitchA-bgp] group confed1003 external
[SwitchA-bgp] peer 172.68.10.3 group confed1003 as-number 1003
# Configure SwitchB.
[SwitchB] bgp 1002
[SwitchB-bgp] confederation id 100
[SwitchB-bgp] confederation peer-as 1001 1003
[SwitchB-bgp] group confed1001 external
AS200
AS100
AS1002AS1001
AS1003
Ethernet
172.68.10.1
172.68.10.2
172.68.10.3
172.68.1.2
172.68.1.1
156.10.1.1
156.10.1.2
Switch A
Switch B
Switch C
Switch D
Switch E