Page 371 / 757 Scroll up to view Page 366 - 370
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
367
DGS-3627:admin# show ipv6 neighbor_cache ipif System all
Command: show ipv6 neighbor_cache ipif System all
IPv6 Address: 2000::221:91FF:FE8D:4D9F
State: Reachable
MAC Address : 00-21-91-8D-4D-9F
Port : 1:31
Interface
: ipif1
VID
: 4094
IPv6 Address: 3000::100
State: Reachable
MAC Address : 00-21-91-8D-4D-9F
Port : 1:31
Interface
: ipif1
VID
: 4094
IPv6 Address: FE80::221:91FF:FE8D:4D9F
State: Reachable
MAC Address : 00-21-91-8D-4D-9F
Port : 1:31
Interface
: ipif1
VID
: 4094
Total Entries: 3
DGS-3627:admin#
config ipv6 nd ns retrans_time
Purpose
Configures the IPv6 ND neighbor solicitation retransmit time
which is the time between the
retransmission of neighbor solicitation messages to a neighbor, when resolving the address
or when probing the reachability of a neighbor.
Syntax
config ipv6 nd ns ipif <ipif_name 12> retrans_time <millisecond 0-4294967295>
Description
Configures the retransmit time of IPv6 ND neighbor solicitation.
Parameters
ipif_name
- The IPv6 interface name.
retrans_time
- Neighbor solicitation’s retransmit timer in milliseconds. It has the same value
as
the RA retrans_time in the config IPv6 ND RA command. If the retrans_time parameter is
configured in one of the commands, the retrans_time value in the other command will also
change so that the values in both commands are the same.
If the value user configured is less than 1000ms, Neighbor solicitation’s retransmit timer of
the device will use 1000ms instead of that value.
If the value user configured is large than 1000ms, Neighbor solicitation’s retransmit timer of
the device will use that value.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the retrans_time of IPv6 ND neighbor solicitation to be 1000000 milliseconds:
DGS-3627:admin# config ipv6 nd ns ipif Zira retrans_time 1000000
Command: config ipv6 nd ns ipif Zira retrans_time 1000000
Success.
DGS-3627:admin#
config ipv6 nd ra
Purpose
Configures router advertisement related arguments.
Syntax
config ipv6 nd ra ipif <ipif_name 12> {state [enable | disable] | life_time <sec 0-9000> |
reachable_time < millisecond 0-3600000> | 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)
Page 372 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
368
config ipv6 nd ra
Description
Configures the router advertisement related parameters.
Parameters
ipif_name
- The name of the interface.
state
- Router advertisement state.
life_time
- Indicates the lifetime of the router as the default router in seconds.
reachable_time
- Indicates the amount of time that a node can consider a neighboring node
reachable after receiving a reachability confirmation in milliseconds.
retrans_time
- Indicates the amount of time between retransmissions of router advertisement
messages in milliseconds, where the router advertisement packet will be taken to it’s host.
If the value user configured is less than 1000ms, the device will send RA with that value, but
the device’s(which received RA) retransmission time of NS messages will use 1000ms
instead of it.
If the value user configured is large than 1000ms, the device will send RA with that value,
and the device’s(which received RA) retransmission time of NS messages will also use that
value.
hop_limit
- Indicates the default value of the hop limit field in the IPv6 header for packets sent
by hosts that receive this RA message.
managed_flag
- When set to enable, it indicates that hosts receiving this RA must use a
stateful address configuration protocol to obtain an address, in addition to the addresses
derived from the stateless address configuration.
other_config_flag
- When set to enable, it indicates that hosts receiving this RA must use a
stateful address configuration protocol to obtain on-address configuration information,.
min_rtr_adv_interval
- The minimum time allowed between sending unsolicited multicast
Router Advertisements from the interface, in seconds. MUST be no less than 3 seconds and
no greater than .75 * MaxRtrAdvInterval. Default: 0.33 * MaxRtrAdvInterval.
max_rtr_adv_interval
- The maximum time allowed between sending unsolicited multicast
Router Advertisements from the interface, in seconds. MUST be no less than 4 seconds and
no greater than 1800 seconds. Default: 600 seconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the RA state as enabled and the life_time of the “triton” interface to be 1000 seconds:
DGS-3627:admin#config ipv6 nd ra ipif triton state enable life_time 1000
Command: config ipv6 nd ra ipif triton state enable life_time 1000
Success.
DGS-3627:admin#
config ipv6 nd ra prefix_option
Purpose
Configures the prefix option for the router advertisement function.
Syntax
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)
Description
Configures the prefix option for the router advertisement function.
Parameters
ipif_name
- The name of the interface.
preferred_life_time
- Indicates the number of seconds that an address, based on the
specified prefix using the stateless address configuration, remains in preferred state.
For an
infinite valid lifetime the value can be set to 0xffffffff.
valid_life_time
- Indicates the number of seconds that an address, based on the specified
prefix, using the stateless address configuration, remains valid.
For an infinite valid lifetime
Page 373 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
369
config ipv6 nd ra prefix_option
the value can be set to 0xffffffff.
on_link_flag
- When set to 1 the addresses implied by the specified prefix are available on
the link where the RA message is received.
autonomous_flag
- When set to 1 the specified prefix will be used to create an autonomous
address configuration.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the value of the preferred_life_time of prefix option to be 1000 seconds for the prefix 3ffe:501:ffff:100::/64,
which is the prefix of the ip1 interface :
DGS-3627:admin# config ipv6 nd ra prefix_option ipif ip1 3ffe:501:ffff:100::/64
preferred_life_time 1000
Command: config ipv6 nd ra prefix_option ipif ip1 3ffe:501:ffff:100::/64
preferred_life_time 1000
Success.
DGS-3627:admin#
show ipv6 nd
Purpose
Used to display information regarding neighbor detection on the switch.
Syntax
show ipv6 nd {ipif <ipif_name 12>}
Description
To show IPv6 ND related configuration.
Parameters
ipif_name
- The name of the interface.
If no IP interface is specified, it will show the IPv6 ND related configuration of all interfaces.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show IPv6 ND related configuration:
Page 374 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
370
DGS-3627:admin# show ipv6 nd ipif System
Command: show ipv6 nd ipif System
Interface Name
: System
Hop Limit
: 64
NS Retransmit Time
: 0 (ms)
Router Advertisement
: Disabled
RA Max Router AdvInterval : 600 (s)
RA Min Router AdvInterval : 198 (s)
RA Router Life Time
: 1800 (s)
RA Reachable Time
: 1200000 (ms)
RA Retransmit Time
: 0 (ms)
RA Managed Flag
: Disabled
RA Other Config Flag
: Disabled
Prefix
Preferred
Valid
OnLink
Autonomous
2000::/64
604800
2592000
Enabled
Enabled
2002::/64
604800
2592000
Enabled
Enabled
Page 375 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
371
48
IPV6 ROUTE COMMANDS
The IPv6 Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
create ipv6route
[default | <ipv6networkaddr>] [[<ipif_name 12> <ipv6addr> | <ipv6addr>]
{<metric 1-65535>} {[primary | backup]} | ip_tunnel <tunnel_name 12>]
delete ipv6route
[[default |<ipv6networkaddr>] [<ipif_name 12> <ipv6addr> | <ipv6addr> |
ip_tunnel <tunnel_name 12>] | all]
show ipv6route
{<ipv6networkaddr>} {[static | ripng | ospfv3]}
Each command is listed, in detail, in the following sections.
create ipv6route
Purpose
Used to create static IPv6 route entry to Switch’s IPv6 routing table.
Syntax
create ipv6route [default | <ipv6networkaddr>] [[<ipif_name 12> <ipv6addr> |
<ipv6addr>] {<metric 1-65535>} {[primary | backup]} | ip_tunnel <tunnel_name 12>]
Description
Create a static IPv6 route entry. If the next hop is a global address, it is not needed to
indicate the interface name of the next hop. If the next hop is a link local address, then the
interface name of the next hop must be specified. And the unspecified address, loop back
address or multicast address can’t be configured as the next hop.
Note:
If an IPv6 global address is added on interface, this local route will be wrote into IPv6
routing table automatically.
If both the destination network address and next hop of the new route entry are the same
with existed entry, the created command for the new entry will return failure. If only the
destination network address is the same with the existed entry and both primary and backup
route entries are already existed, the created command for the new entry will return failure.
The IP tunnel route doesn’t support to create the backup route.
Parameters
default
- Specify that this route is created as a default route.
ipv6networkaddr
- The destination network of the route.
ipif_name
- The interface name of the next hop, with the maximum of 12 characters.
ipv6addr
- The next hop address of this route.
metric
- The metric for this route, the default value is 1.
primary
- Specify the route as the primary route to the destination.
backup
- Specify the route as the backup route to the destination. If the route is not specified
as the primary route or the backup route, then it will be auto-assigned by the system. The first
created is the primary, the second created is the backup.
tunnel_name
- The IP tunnel interface name of the next hop. When this option is specified, it
is indicated that this new created route is an IP tunnel route.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To add a single static IPv6 route entry in IPv6 format:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top