OcNOS-SP : Layer 3 Guide : Layer 3 Unicast Configuration Guide : BGP4+ : Configuration
Configuration
RR (R5)
 
#configure terminal
Enter Configure mode.
(config)#router bgp 1
Define the routing process. The number 1 specifies the AS number of R5 (RR).
(config-router)#bgp router-id 10.10.10.10
Configure a fixed Router ID (10.10.10.10) for the BGP4+ routing process.
(config-router)#neighbor 3ffe:10::50 remote-as 1
Define the BGP neighbor (R2), and establish a TCP session by specifying the IPv6 address (3ffe:10::50)and the AS number(1)of neighbor R2.
(config-router)#neighbor 3ffe:11::50 remote-as 1
Define the BGP neighbor (R4), and establish a TCP session by specifying the IPv6 address (3ffe:11::50)and the AS number(1) of neighbor R4.
(config-router)#address-family ipv6
Enter Address Family mode for configuring routing sessions that use IPv6 address prefixes.
(config-router-af)#neighbor 3ffe:10::50 activate
Activate the neighbor R2(3ffe:10::50), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#neighbor 3ffe:10::50 route-reflector-client
Configure R5 as the Route-Reflector (RR) and neighbor R2 as its client.
(config-router-af)#neighbor 3ffe:11::50 activate
Activate the neighbor R4(3ffe:11::50), and enable exchange of IPv6 address prefix types with this neighbor.
(config-router-af)#neighbor 3ffe:11::50 route-reflector-client
Configure R5 as the Route-Reflector (RR) and neighbor R4 as its client.
(config-router-af)#exit-address-family
Exit address family
(config-router)#commit
Commit the candidate configuration to the running configuration.
RR Client 1 (R2)
 
(config)#router bgp 1
Define the routing process. The number 1 specifies the AS number of R2 (RR Client 1).
(config-router)#bgp router-id 10.10.10.50
Configure a fixed Router ID (10.10.10.50) for the BGP4+ routing process.
(config-router)#neighbor 3ffe:10::10 remote-as 1
Define the BGP neighbor (R5), and establish a TCP session by specifying the IPv6 address (3ffe:10::10) and the AS number(1) of neighbor R5.
(config-router)#address-family ipv6
Enter Address Family mode for configuring routing sessions that use IPv6 address prefixes.
(config-router-af)#neighbor 3ffe:10::10 activate
Activate the neighbor (3ffe:10::10), 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.
RR Client 2 (R4)
 
(config)#router bgp 1
Define the routing process. The number 1 specifies the AS number of R4 (RR Client 2).
(config-router)#bgp router-id 10.10.11.50
Configure a fixed Router ID (10.10.11.50) for the BGP4+ routing process.
(config-router)#neighbor 3ffe:11::10 remote-as 1
Define the BGP neighbor (R5), and establish a TCP session by specifying the IPv6 address (3ffe:11::10) and the AS number(1) of the neighbor.
(config-router)#address-family ipv6
Enter Address Family mode for configuring routing sessions that use IPv6 address prefixes.
(config-router-af)#neighbor 3ffe:11::10 activate
Activate the neighbor (3ffe:11::10), 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