A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
158
21
IPV6 NEIGHBOR DISCOVERY COMMANDS
The following commands are used to detect IPv6 neighbors of the switch and to keep a running database about these neighbor
devices. The IPv6 Neighbor Discovery commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameters
create ipv6 neighbor_cache ipif <ipif_name 12> <ipv6addr> <macaddr>
delete ipv6 neighbor_cache ipif [<ipif_name 12> | all][<ipv6addr> |static |dynamic | all]
show ipv6 neighbor_cache ipif [<ipif_name 12> | all ] [ipv6address <ipv6addr> | static | dynamic |all]
config ipv6 nd ra ipif <ipif_name 12> {state [enable | disable] | life_time <value 0–9000> |
reachable_time <value 0–3600000> | retrans_time <uint 0–4294967295> |
hop_limit <value 0–255> | managed_flag [enable | disable] | other_config_flag
[enable | disable] | min_rtr_adv_interval <value 3–1350> |
max_rtr_adv_interval <value 4–1800>} (1)
config ipv6 nd ra prefix_option ipif <ipif_name 12> <ipv6networkaddr> {preferred_life_time <uint 0–4294967295>
| valid_life_time <value 0–4294967295> | on_link_flag [enable | disable] |
autonomus_flag [enable | disable]} (1)
config ipv6 nd ns ipif <ipif_name 12> retrans_time <uint 0–4294967295>
show ipv6 nd {ipif <ipif_name 12>}
Each command is listed, in detail, in the following sections.
create ipv6 neighbor_cache ipif
Purpose Used to add a static IPv6 neighbor.
Syntax
create ipv6 neighbor_cache ipif <ipif_name 12> <ipv6addr> <macaddr>
Description This command is used to add a static IPv6 neighbor to an existing IPv6 interface
previously created on the switch.
Parameters <ipif_name 12> – Enter the IPv6 interface name previously created using the create ipif
and config ipif commands.
<ipv6addr> – Enter the IPv6 address of the neighbor device to be added as an IPv6
neighbor of the IP interface previously entered in this command.
<macaddr> – Enter the MAC address of the neighbor device to be added as an IPv6
neighbor of the IP interface previously entered in this command.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To create a static IPv6 neighbor:
DGS–3426:5#create ipv6 neighbor_cache ipif Triton 3FFC::1 00:01:02:03:04:05
Command: create ipv6 neighbor_cache ipif Triton 3FFC::1 00:01:02:03:04:05
Success.
DGS–3426:5#