CLI: IPv6

You can use the ipv6 command to configure IPv6 specific settings.

ipv6 {enable|default-gateway|dhcp|route|host|map-hostname|neighbor}

To enable IPv6 for the entire system:

[no] ipv6 enable

To configure global DHCPv6 settings:

[no] ipv6 dhcp {primary-intf|stateless}

  • primary-intf <interface-name> - Set the interface from which non-interface-specific (resolver) configuration will be accepted via DHCPv6
  • stateless - Enable stateless DHCPv6 requests (i.e. Get only DNSDomain Name Server configuration - not an IPv6 address)

To add an IPv6 default gateway:

[no] ipv6 default-gateway <IPv6 address or interface>

To add an IPv6 static route:

[no] ipv6 route <network prefix> <next hop IPv6 address or interface>

To add a static hostname/IPv6 address mapping:

[no] ipv6 host <hostname> <IPv6 address>

To add a static IPv6 hostname mapping for the current hostname:

[no] ipv6 map-hostname

To configure a static IPv6 neighbor MACMedia Access Control (link layer) address mapping:

[no] ipv6 neighbor <IPv6 address> <interface> <MAC address>