Ipv6 Route Control; Set Ipv6 Static Route; Show Ipv6 Forwarding Information Base - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

SWR2311P>show ipv6 interface brief
Interface
Link-Status
vlan1
vlan2
down
vlan3
down

7.6 IPv6 route control

7.6.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
[Parameter]
ipv6_address
prefix_len
gateway
number
[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.
SWR2311P(config)#ipv6 route 2001:db8:2::/64 2001:db8:1::1
Set the default gateway to fe80::2a0:deff:fe:1 on VLAN #1.
SWR2311P(config)#ipv6 route ::/0 fe80::2a0:deff:fe:1%vlan1

7.6.2 Show IPv6 Forwarding Information Base

[Syntax]
show ipv6 route [ipv6_address[/prefix_len]]
IPv6-Address
2001:db8:1::2/64
fe80::2a0:deff:fe:2/64
2001:db8:2::2/64
fe80::2a0:deff:fe:2/64
unassigned
:
Discard packet without forwarding it
:
X:X::X:X
IPv6 address
Set this to :: (abbreviated 0:0:0:0:0:0:0:0) if specifying the default gateway
:
<1-127>
IPv6 prefix
Set this to 0 if specifying the default 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%vlanN
format)
:
<1-255>
Management route (priority order when selecting route) (if omitted: 1)
Lower numbers have higher priority.
Command Reference | Layer 3 functions | 201
Admin-Status
up
up
up
up

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents