2.1.16. ipv6 default-gateway

Syntax

ipv6 default-gateway X:X::X:X

Parameter


X:X::X:X Specify default gateway IPv6 address for switch


Default

No default ipv6 default gateway address on the switch.

Mode

Global Configuration

Usage

Use ipv6 default-gateway command to modify default gateway IPv6 address.

Example

This example shows how to modify the ipv6 default gateway address of the switch.

Switch(config)# ipv6 default-gateway fe80::dcad:beff:feef:103
Switch# show ipv6
IPv6 DHCP Configuration : Disabled
IPv6 DHCP DUID :
IPv6 Auto Configuration : Enabled
IPv6 Link Local Address : fe80::dcad:beff:feef:102/64
IPv6 static Address : fe80::20e:2eff:fef1:4b3c/128
IPv6 static Gateway Address : :
IPv6 in use Address : fe80::dcad:beff:feef:102/64
IPv6 in use Gateway Address : :