neighbor activate (IPv6 Address Family Config)

To enable exchange of IPv6 routes with a neighbor, use the neighbor activate command. The neighbor address must be the same IP address used in the neighbor remote-as command to create the peer.

When IPv6 is enabled or disabled for a neighbor, the adjacency is brought down and restarted to communicate to the change to the peer. You should completely configure IPv6 policy for the peer before activating the peer.

Default Exchange of IPv6 routes is disabled by default.
Format neighbor {ipv4-address | ipv6-address [interface interface-name] | autodetect interface interface-name} activate
Mode IPv6 Address Family Config
Parameter Description
ipv4-address The IPv4 address of a peer.
ipv6-address The IPv6 address of a peer.
interface If the neighbor's IPv6 address is a link local address, the local interface must also be specified.
autodetect interface The routing interface on which the neighbor's link local IPv6 address is auto detected.

Example: The following example enables the exchange of IPv6 routes with the external peer at 172.20.1.2 and sets the next hop for IPv6 routes sent to that peer.

(R1) (Config)# router bgp 1
(R1) (Config-router)# neighbor 172.20.1.2 remote-as 2
(R1) (Config-router)# address-family ipv6
(R1) (Config-router-af)# neighbor 172.20.1.2 activate
(R1) (Config-router-af)# neighbor 172.20.1.2 route-map SET-V6-NH out
(R1) (Config-router-af)# exit
(R1) (Config-router)# exit
(R1) (Config)# route-map SET-V6-NH permit 10
(R1) (route-map)# set ipv6 next-hop 2001:1:200::1

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo