644
Parameters
policy-name
: Specifies an RA guard policy by its name. The policy name is a case-sensitive string of
1 to 31 characters. If you do not specify a policy, this command displays the configuration of all RA
guard policies.
Examples
# Display the configuration of all RA guard policies.
<Sysname> display ipv6 nd raguard policy
Total number of policies: 2
RA Guard policy: policy1
if-match ACL 2001
if-match autoconfig managed-address-flag on
if-match autoconfig other-flag off
if-match hop-limit maximum 128
if-match hop-limit minimum 100
if-match prefix ACL name aa
if-match router-preference medium
applied to VLAN 1-3 7
RA Guard policy: policy2
if-match ACL name zdd
if-match prefix ACL 2200
Table 96 Command output
Field
Description
RA Guard policy
Name of the RA guard policy.
if-match ACL
Number of the ACL in the ACL match criterion.
if-match ACL name
Name of the ACL in ACL match criterion.
if-match autoconfig
managed-address-flag
Match criterion of the advertised M flag:
•
on
—The value of the advertised M flag is 1.
•
off
—The value of the advertised M flag is 0.
if-match autoconfig other-flag
Match criterion of the advertised O flag:
•
on
—The value of the advertised O flag is 1.
•
off
—The value of the advertised O flag is 0.
if-match hop-limit maximum
The maximum advertised hop limit match criterion.
if-match hop-limit minimum
The minimum advertised hop limit match criterion.
if-match prefix ACL
Number of the ACL used to identify the prefix match criterion.
if-match prefix ACL name
Name of the ACL used to identify the prefix match criterion.
applied to VLAN
ID of the VLAN to which the RA guard policy is applied.
Related commands
ipv6 nd raguard policy
display ipv6 nd raguard statistics
Use
display ipv6 nd raguard statistics
to display RA guard statistics.