#configure terminal | Enter Configure mode. |
---|---|
(config)#router bgp 200 | Define the routing process. The number 200 specifies the AS number of R1. |
(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::11 remote-as 300 | Define the BGP neighbor (R2), and establish a TCP session by specifying the IPv6 address (3ffe:10::11) and the AS number(300)of neighbor R2. |
(config-router)#address-family ipv6 | Enter Address Family mode for configuring routing sessions that use IPv6 address prefixes. |
(config-router-af)#neighbor 3ffe:10::11 activate | Activate the neighbor R2(3ffe:10::11), 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 |
(config)#router bgp 300 | Define the routing process. The number 300 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 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 |