ipv6 default-gateway

Last Updated : Nov 06, 2012 |
Defines a default IPv6 gateway (router). Use no ipv6 default-gateway to remove the default IPv6 gateway.
Prolog information

Syntax

ipv6 default-gateway <next hop> [%zone-id] [<next hop [%zone-id]] [<next hop [%zone-id]]
no ipv6 default-gateway

Parameters

Parameter
Description
Possible Values
Default Value
next-hop
The IP address of the router
%zone-id
VlanN, where N is the VLAN number of the interface
1–4,090

User level

read-write

Context

general

Examples

To define a default gateway with IPv6 address 2001:db8:2179::2
Gxxx-001(super)# ipv6 default-gateway 2001:db8:2179::2
To define a default gateway with IPv6 address FE80::205:32FF:FE01:C800%Vlan1 and zone ID %Vlan1
Gxxx-001(super)# ipv6 default-gateway FE80::205:32FF:FE01:C800%Vlan1