647
Examples
# Specify
on
as the M flag match criterion for the RA guard policy
policy1
.
<Sysname> system-view
[Sysname] ipv6 nd raguard policy policy1
[Sysname-raguard-policy-policy1] if-match autoconfig managed-address-flag on
if-match autoconfig other-flag
Use
if-match autoconfig other-flag
to specify an O flag match criterion.
Use
undo if-match autoconfig other-flag
to delete the O flag match criterion.
Syntax
if-match autoconfig other-flag
{
off
|
on
}
undo if-match autoconfig other-flag
Default
No O flag match criterion exists.
Views
RA guard policy view
Predefined user roles
network-admin
mdc-admin
Parameters
off
: Specifies the advertised O flag as 0.
on
: Specifies the advertised O flag as 1.
Usage guidelines
The O flag in an RA message determines whether a receiving host uses stateful autoconfiguration to
obtain configuration information other than IPv6 address.
•
If the O flag is set to 1, the host uses stateful autoconfiguration, for example, uses a DHCPv6
server.
•
If the O flag is set to 0, the host uses stateless autoconfiguration.
Examples
# Specify
on
as the M flag match criterion for the RA guard policy
policy1
.
<Sysname> system-view
[Sysname] ipv6 nd raguard policy policy1
[Sysname-raguard-policy-policy1] if-match autoconfig other-flag on
if-match hop-limit
Use
if-match hop-limit
to specify a maximum or minimum hop limit match criterion.
Use
undo if-match hop-limit
to delete the maximum or minimum hop limit match criterion.
Syntax
if-match hop-limit
{
maximum
|
minimum
}
limit
undo if-match hop-limit
{
maximum
|
minimum
}