32-41

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 32 IPv6 Support on the Cisco ASR 901 Router
Configuration Examples for IPv6 Support on the Cisco ASR 901 Router

Example: Configuring IPv6 Neighborhood Discovery

The following is a sample configuration of IPv6 neighborhood discovery.

!
interface Vlan111
no ip address
ipv6 address 22::22/64
ipv6 address 33::33/64
ipv6 address autoconfig
ipv6 nd autoconfig prefix
!Neighborhood discovery information is given above.
ipv6 enable

Example: Enabling IPv6 Stateless Address Autoconfiguration

The following is a sample configuration of IPv6 stateless address autoconfiguration.

!
interface Vlan111
no ip address
ipv6 address 22::22/64
ipv6 address 33::33/64
ipv6 address autoconfig
!IPv6 address autoconfiguration details are given above.
ipv6 nd autoconfig prefix
ipv6 enable
!

Example: Configuring the IPv4 and IPv6 Dual-Stack

The following is a sample configuration of IPv4 and IPv6 dual-stack.

!
interface Vlan222
ip address 22.22.22.22 255.255.255.0
ipv6 address 99::99/64
!IPv4 and IPv6 dual-stack information is given above.
ipv6 enable
!

Example: Configuring IPv6 Static Routing

The following is a sample configuration of IPv6 static routing between two ASR 901 routers.

Router-1
ipv6 route 555::/64 Vlan2020
Router-2
interface Loopback555
no ip address
ipv6 address 22::22/64
ipv6 address 555::554/64