xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
326
41
IP
V
6
N
EIGHBOR
D
ISCOVER
C
OMMANDS
The IPv6 Neighbor Discover 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 ns ipif
<ipif_name 12> retrans_time <millisecond 0-4294967295>
config ipv6 nd ra ipif
<ipif_name 12> {state [enable | disable] | life_time <sec 0-9000> |
reachable_time < millisecond 0-3400000> | retrans_time <millisecond 0-
4294967295> | hop_limit <value 0-255> | managed_flag [enable | disable] |
other_config_flag [enable | disable] | min_rtr_adv_interval <sec 3-1350> |
max_rtr_adv_interval <sec 4-1800>} (1)
config ipv6 nd ra prefix_option ipif
<ipif_name 12> <ipv6networkaddr> {preferred_life_time <sec 0-4294967295> |
valid_life_time <sec 0-4294967295> | on_link_flag [enable | disable] |
autonomous_flag [enable | disable]} (1)
show ipv6 nd
{ipif <ipif_name 12>}
Each command is listed, in detail, in the following sections.
create ipv6 neighbor_cache
Purpose
Adds a static neighbor on an IPv6 interface.
Syntax
create ipv6 neighbor_cache ipif <ipif_name 12> <ipv6addr> <macaddr>
Description
Adds a static neighbor on an IPv6 interface.
Parameters
ipif_name
- Interface’s name.
ipv6addr
- The address of the neighbor.
macaddr
- The MAC address of the neighbor.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a static neighbor cache entry on the interface System, with an IPv6 address of 3ffc::1 and a MAC address of
00:01:02:03:04:05:
DGS-3450:admin# create ipv6 neighbor_cache ipif System 3ffc::1 00:01:02:03:04:05
Command: create ipv6 neighbor System _cache ipif 3FFC::1 00:01:02:03:04:05
Success.
DGS-3450:admin#
delete ipv6 neighbor_cache
Purpose
Deletes an IPv6 neighbor from the interface neighbor address cache.
Syntax
delete ipv6 neighbor_cache ipif [<ipif_name 12> | all] [<ipv6addr> | static | dynamic |