ipv6 gateway

Configures an IPv6 gateway for the interfaces.

Syntax

ipv6 gateway A:B::C:D
no ipv6 gateway A:B::C:D

Parameters

A:B::C:D
Specifies the IPv6 address for the gateway.

Modes

Interface config mode

Usage Guidelines

This command is available only to users with the admin role.

This command is supported on management interfaces.

Only valid unicast IP addresses are supported. Multicast IP addresses are not supported.

The no form of the command removes the IP gateway on the interface.

Examples

The following example configures an IPv6 gateway.

device# configure terminal 
device(config)# interface management 0 
device(config-if-mgmt-0)# ipv6 gateway 2001:db8:fe::2

device# show running interface management 0 
interface management 0 
ipv6 gateway 2001:db8:fe::2 
shutdown