User Manual

Table Of Contents
[Parameter]
prefix_len : <1-127>
Length of ND prefix received
[Initial value]
None
[Input mode]
interface mode
[Description]
For a VLAN interface on which an IPv6 address (prefix /128) is automatically set via the ipv6 address dhcp command, all ND
(Neighbor Discovery) packets are received regardless of the IPv6 address from which they are transmitted.
When this command is set, both addresses listed below are compared within the set prefix range when the ND packets are
received. For identical segments, the ND packet is received. For differing segments, the ND packet is discarded.
IPv6 addresses automatically configured via the ipv6 address dhcp command
Source IPv6 addresses for ND packets received
This command can be set for a VLAN interface for which the ipv6 enable command has been set.
The ND packets targeted by this command are limited to NS (Neighbor Solicitation) and NA (Neighbor Advertisement).
If this command is executed with the "no" syntax, the ND prefix received when the DHCPv6 client is set is deleted.
[Note]
This only works for a VLAN interface on which an IPv6 address (prefix /128) is automatically set via the ipv6 address dhcp
command.
[Example]
This allows the receipt of only ND packets from subnet /64, on VLAN #1 for which an IPv6 address has been set automatically
via the ipv6 address dhcp command.
SWP2(config)#interface vlan1
SWP2(config-if)#ipv6 dhcp client nd-prefix 64
7.7 IPv6 route control
7.7.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%vlanN
format)
Command Reference | Layer 3 functions | 245