User Manual

Table Of Contents
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.
SWP2(config)#ipv6 route 2001:db8:2::/64 2001:db8:1::1
Set the default gateway to fe80::2a0:deff:fe:1 on VLAN #1.
SWP2(config)#ipv6 route ::/0 fe80::2a0:deff:fe:1%vlan1
7.7.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 mode, priviledged EXEC mode
[Description]
Shows the IPv6 Forwarding Information Base (FIB).
If the IPv6 address is omitted, the entire content of the FIB is shown.
If the IPv6 address or network address is specified, detailed information for the routing entry that matches the destination is
shown.
[Note]
[Example]
Show the entire IPv6 forwarding information base.
SWP2>show ipv6 route
Codes: C - connected, S - static
Timers: Uptime
S ::/0 [1/0] via fe80::2a0:deff:fe:1, vlan1, 00:03:08
C 2001:db8:1::/64 via ::, vlan1, 00:01:10
S 2001:db8:2::/64 [1/0] via 2001:db8:1::1, vlan1, 00:01:52
C fe80::/64 via ::, vlan1, 00:03:08
Show the route used for sending packets that are addressed to 2001:db8:1::2.
SWP2>show ipv6 route 2001:db8:1::2
Routing entry for 2001:db8:1::/64
Known via "connected", distance 0, metric 0, best
Last update 00:18:27 ago
* directly connected, vlan1
246 | Command Reference | Layer 3 functions