User Manual

7.2.1 Set IPv6 static route
[Syntax]
ipv6 route ipv6_address/prefix_len gateway [number]
ipv6 route ipv6_address/prefix_len null [number]
no ipv6 route ipv6_address/prefix_len [gateway [number]]
no ipv6 route ipv6_address/prefix_len [null [number]
]
[Keyword]
null :
Discard packet without forwarding it
[Parameter]
ipv6_address : X:X::X:X
IPv6 address
Set this to :: (abbreviated 0:0:0:0:0:0:0:0) if specifying the default gateway
prefix_len : <1-127>
IPv6 prefix
Set this to 0 if specifying the default gateway
gateway : X:X::X:X
IPv6 address of gateway
If you specify an IPv6 link local address, you must also specify the output interface (fe80::X%vlan0.N
format)
number : <1-255>
Management route (priority order when selecting route) (if omitted: 1)
Lower numbers have higher priority.
[Input mode]
global configuration mode
[Description]
Adds a static route for IPv6.
If this command is executed with the "no" syntax, the specified route is deleted.
[Note]
For the default gateway setting, the static route setting takes priority over the RA setting.
[Example]
For the destination 2001:db8:2::/64, set the gateway to 2001:db8:1::1.
SWP1(config)#ipv6 route 2001:db8:2::/64 2001:db8:1::1
Set the default gateway to fe80::2a0:deff:fe:1 on VLAN #1.
SWP1(config)#ipv6 route ::/0 fe80::2a0:deff:fe:1%vlan0.1
7.2.2 Show IPv6 Forwarding Information Base
[Syntax]
show ipv6 route [ipv6_address[/
prefix_len]]
[Parameter]
ipv6_address : X:X::X:X
IPv6 address
mask : <0-128>
IPv6 prefix length (if omitted: 128)
[Input mode]
unprivileged EXEC modepriviledged EXEC mode
68 | Command Reference | IPv6