OcNOS-SP : Layer 3 Guide : Layer 3 Unicast Configuration Guide : BGP4+ : Configuration
Configuration
R1
 
#configure terminal
Enter Configure mode.
(config)#interface eth1
Specify the interface (eth1) to configure.
(config-if)#ipv6 address 3ffe:10::10/48
Specify the IPv6 global address.
(config-if)#exit
Enter Configure mode.
(config)#router bgp 200
Define the routing process. The number 200 specifies the AS number of R2.
(config-router)#bgp router-id 10.10.10.11
Configure a fixed Router ID (10.10.10.11) for the BGP4+ routing process.
(config-router)#neighbor 3ffe:10::10 remote-as 200
Define the BGP neighbor (R1), and establish a TCP session by specifying the global IPv6 address (3ffe:10::10)and the AS number(200)of neighbor R1.
(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 R1(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
R2
 
#configure terminal
Enter Configure mode.
(config)#interface eth1
Specify the interface (eth1) to configure.
(config-if)#ipv6 address 3ffe:10::11/48
Specify the IPv6 global address.
(config-if)#exit
Enter Configure mode.
(config)#router bgp 200
Define the routing process. The number 200 specifies the AS number of R2.
(config-router)#bgp router-id 10.10.10.11
Configure a fixed Router ID (10.10.10.11) for the BGP4+ routing process.
(config-router)#neighbor 3ffe:10::10 remote-as 200
Define the BGP neighbor (R1), and establish a TCP session by specifying the global IPv6 address (3ffe:10::10)and the AS number(200)of neighbor R1.
(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 R1(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
Last modified date: 10/16/2023