OcNOS-SP : Layer 3 Guide : Layer 3 Unicast Configuration Guide : BGP4+ : Configuration
Configuration
R2
 
#configure terminal
Enter Configure mode.
(config)#router bgp 1000
Define the routing process. The number 1000 specifies the AS number of R2.
(config-router)#bgp router-id 10.10.10.2
Configure a fixed Router ID (10.10.10.2) for the BGP4+ routing process.
(config-router)#bgp confederation identifier 1
Specify the BGP Confederation Identifier (1). To others, the group will appear as a single AS, and the identifier as its AS number.
(config-router)#bgp confederation peers 1001
Specify AS 1001 as s confederation peer, making it a member of the Confederation.
(config-router)#bgp confederation peers 1002
Specify AS 1002 as s confederation peer, making it a member of the Confederation.
(config-router)#neighbor 3ffe:10::5 remote-as 1001
Define the BGP neighbor (R5), and establish a TCP session by specifying the IPv6 address (3ffe:10::5) and the AS number(1001)of neighbor R5.
(config-router)#neighbor 3ffe:9::1 remote-as 1000
Define the BGP neighbor (R1), and establish a TCP session by specifying the IPv6 address (3ffe:9::1) and the AS number(1000)of neighbor R1.
(config-router)#neighbor 3ffe:7::3 remote-as 1000
Define the BGP neighbor (R3), and establish a TCP session by specifying the IPv6 address (3ffe:7::3)and the AS number(1000)of neighbor R3.
(config-router)#address-family ipv6
Enter Address Family mode for configuring routing sessions that use IPv6 address prefixes.
(config-router-af)#neighbor 3ffe:10::5 activate
Activate neighbor R5(3ffe:10::5), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#neighbor 3ffe:9::1 activate
Activate neighbor R1(3ffe:9::1), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#neighbor 3ffe:7::3 activate
Activate neighbor R3(3ffe:7::3), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#exit-address-family
Exit address family
(config-router)#commit
Commit the candidate configuration to the running configuration.
R5
 
(config)#router bgp 1001
Define the routing process. The number 1001 specifies the AS number of R5.
(config-router)#bgp router-id 10.10.10.5
Configure a fixed Router ID (10.10.10.5) for the BGP4+ routing process.
(config-router)#bgp confederation identifier 1
Specify the BGP Confederation Identifier (1). To others, the group will appear as a single AS, and the identifier as its AS number.
(config-router)#bgp confederation peers 1000
Specify AS 1000 as s confederation peer, making it a member of the Confederation.
(config-router)#bgp confederation peers 1002
Specify AS 1002 as s confederation peer, making it a member of the Confederation.
(config-router)#neighbor 3ffe:10::2 remote-as 1000
Define the BGP neighbor (R2), and establish a TCP session by specifying the IPv6 address (3ffe:10::2)and the AS number(1000)of neighbor R2.
(config-router)#neighbor 3ffe:11::7 remote-as 1002
Define the BGP neighbor (R7), and establish a TCP session by specifying the IPv6 address (3ffe:11::7)and the AS number(1002)of neighbor R7.
(config-router)#neighbor 3ffe:12::4 remote-as 1001
Define the BGP neighbor (R4), and establish a TCP session by specifying the IPv6 address (3ffe:12::4)and the AS number(1001)of neighbor R4.
(config-router)#neighbor 3ffe:13::6 remote-as 1001
Define the BGP neighbor (R6), and establish a TCP session by specifying the IPv6 address (3ffe:13::6)and the AS number(1001)of neighbor R6.
(config-router)#address-family ipv6
Enter Address Family mode for configuring routing sessions that use IPv6 address prefixes.
(config-router-af)#neighbor 3ffe:10::2 activate
Activate the neighbor R2(3ffe:10::2), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#neighbor 3ffe:11::7 activate
Activate the neighbor R7(3ffe:11::7), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#neighbor 3ffe:12::4 activate
Activate the neighbor R4(3ffe:12::4), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#neighbor 3ffe:13::6 activate
Activate the neighbor R6(3ffe:13::6), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#exit-address-family
Exit address family
(config-router)#commit
Commit the candidate configuration to the running configuration.
R7
 
(config)#router bgp 1002
Define the routing process. The number 1002 specifies the AS number of R7.
(config-router)#bgp router-id 10.10.11.7
Configure a fixed Router ID (10.10.11.7) for the BGP4+ routing process.
(config-router)#bgp confederation identifier 1
Specify BGP Confederation Identifier (1). To others, the group will appear as a single AS, and the identifier as its AS number.
(config-router)#bgp confederation peers 1000
Specify AS 1000 as s confederation peer, making it a member of the Confederation.
(config-router)#bgp confederation peers 1001
Specify AS 1001 as s confederation peer, making it a member of the Confederation.
(config-router)#neighbor 3ffe:11::5 remote-as 1001
Define the BGP neighbor (R5), and establish a TCP session by specifying the IPv6 address (3ffe:11::5)and the AS number(1001)of neighbor R5.
(config-router)#neighbor 3ffe:15::8 remote-as 1002
Define the BGP neighbor (R8), and establish a TCP session by specifying the IPv6 address (3ffe:15::8)and the AS number(1002)of neighbor R8.
(config-router)#address-family ipv6
Enter Address Family mode for configuring routing sessions that use IPv6 address prefixes.
(config-router-af)#neighbor 3ffe:11::5 activate
Activate the neighbor R5(3ffe:11::5), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#neighbor 3ffe:15::8 activate
Activate the neighbor R8(3ffe:15::8), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#exit-address-family
Exit address family
(config-router)#commit
Commit the candidate configuration to the running configuration.
Last modified date: 10/16/2023