13.5.8 Configuration of the confederation
This section describes how to configure a confederation using the following figure as a reference.
|
- <Structure of this section>
(1) List of configuration commands
The following table lists the commands used to configure confederations.
Command name |
Description |
---|---|
bgp confederation identifier |
Specifies the AS number when configuring a confederation.# # |
bgp confederation peers |
Specifies the member AS numbers of the ASs connected to the local member AS when configuring a confederation. |
neighbor remote-as |
Configures a BGP4/BGP4+ peer. Sets the local member AS number when configuring a confederation. |
#: Commonly specified for both VRFs and the global network.
(2) Configuring Confederations
- Points to note
-
The example below shows how to specify the local member AS number by using the router bgp command. Then, set the member AS numbers of the other ASs connected to each AS by using the bgp confederation peers command in config-router mode.
Command examples
-
(config)# router bgp 64512
Specifies the local member AS number (64512).
-
(config-router)# bgp router-id 192.168.1.100
Specifies the router ID.
-
(config-router)# bgp confederation identifier 65531
Specifies the AS number (65531) of the confederation.
-
(config-router)# bgp confederation peers 64513 64514
Specifies the numbers of the other member ASs (64513 and 64514) connected to the local member AS.
-
(config-router)# neighbor 172.16.2.2 remote-as 65532
(config-router)# neighbor 192.168.2.2 remote-as 64512
(config-router)# neighbor 192.168.3.2 remote-as 64512
(config-router)# neighbor 192.168.4.2 remote-as 64513
(config-router)# neighbor 192.168.5.2 remote-as 64514
Configures the BGP4 peers, defining Router 1 as an external peer, Routers 2 and 3 as internal peers, and Routers 4 and 5 as member AS peers.