CLI Reference
IPv6 Configuration Commands
preferred-lifetime
Preferred lifetime of the RA prefix received by the host
at valid-date preferred-date
Set the dead line for the valid lifetime and that of the preferred
lifetime, in day, month, year, hour, minute.
infinite
Indicate that the prefix is always valid.
default
Set the default perfix.
no-advertise
The prefix will not be advertised by the device.
off-link
When the host sends an IPv6 packet, if the prefix of the destination
address matches the set prefix, it is considered that the destination is
on-link and is directly reachable. If this option is set, it indicates that
the prefix is not used for on-link judgment.
no-autoconfig
Indicate that the RA prefix received by the host cannot be used for
auto address configuration.
Defaults
By default, the advertised prefix is the one set with
ipv6 address
on the interface. The default
parameters of the prefix configured in the RA are as follows:
valid-lifetime:
2592000s (30 days)
preferred-lifetime: 604800s (7 days),
The prefix is advertised and is used for on-link judgment and auto address configuration.
Command
Mode
Interface configuration mode.
Usage Guide
This command can be used to configure the parameters of each prefix, including whether to advertise
the prefix. By default, the prefix advertised in RA is the one set with
ipv6 address
on the interface. To
add other prefixes, use this command.
ipv6 nd prefix default
Set the default parameters to be used by the interface. If no parameter is specified for an added
prefix, the parameters set with
ipv6 nd prefix default
will be used. Note that after a parameter is
specified for the prefix, the default configuration will not be used. That is to say, the configuration of
the prefix cannot be modified with
ipv6 nd prefix default
; only the prefix that uses all the default
configurations can be modified with this command.
at
valid-date preferred-date
The valid lifetime of a prefix can be specified in two ways. One way is to specify a fixed time for each
prefix in the RA; the other way is to specify the end time (in this mode, the valid lifetime of the prefix
sent in RA will be gradually reduced until the end time is 0).
Configuration
Examples
The following example adds a prefix for SVI 1.
Ruijie(config)# interface vlan
1
Ruijie(conifig-if)#
ipv6 nd prefix 2001::/64
infinite
2592000
The following example sets the default prefix parameters for SVI 1 (they cannot be used for auto
address configuration):
Ruijie(config)# interface vlan
1
Ruijie(config-if)# ipv6 prefix
default
no-autoconfig
Summary of Contents for RG-S2600G-I Series
Page 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Page 5: ...5...
Page 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Page 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Page 642: ...CLI Reference TACACS Configuration Commands host...
Page 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Page 776: ...CLI Reference ND Snooping Configuration Commands...
Page 901: ...CLI Reference NFPP Configuration Commands...
Page 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Page 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Page 1005: ...CLI Reference DLDP Configuration Commands...
Page 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Page 1192: ...CLI Reference Guide...