xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
156
21
IP
V
6
N
EIGHBOR
D
ETECTION
C
OMMANDS
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 Detection 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>}
config ipv6 nd ra prefix_option ipif
<ipif_name 12> <ipv6networkaddr> {preferred_life_time <uint 0-
4294967295> | valid_life_time <uint 0-4294967295> | on_link_flag [enable
| disable] | autonomus_flag [enable | disable]}
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
command.
<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-level and operator-level users can issue this command.
Example usage:
To create a static IPv6 neighbor:
DGS-3627: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-3627:5#