650
Examples
# Specify
medium
as the router preference match criterion for the RA guard policy
policy1
.
<Sysname> system-view
[Sysname] ipv6 nd raguard policy policy1
[Sysname-raguard-policy-policy1] if-match router-preference maximum medium
ipv6 nd raguard apply policy
Use
ipv6 nd raguard apply policy
to apply an RA guard policy to a VLAN.
Use
undo ipv6 nd raguard apply policy
to remove the RA guard policy from a VLAN.
Syntax
ipv6 nd raguard apply policy
[
policy-name
]
undo ipv6 nd raguard apply policy
Default
No RA guard policy is applied to a VLAN.
Views
VLAN view
Predefined user roles
network-admin
mdc-admin
Parameters
policy-name
: Specifies an RA guard policy by its name, a case-sensitive string of 1 to 31 characters.
If you do not specify a policy, RA guard blocks RA messages on all interfaces in the VLAN except
interfaces that are defined to be connected to routers.
Usage guidelines
If an RA message has multiple VLAN tags, RA guard uses the outermost VLAN tag to select the
applied RA guard policy.
If the specified RA guard policy does not exist, the command does not take effect.
Examples
# Apply the RA guard policy
policy1
to VLAN 100.
<Sysname> system-view
[Sysname] vlan 100
[Sysname-vlan100] ipv6 nd raguard apply policy policy1
Related commands
ipv6 nd raguard policy
ipv6 nd raguard log enable
Use
ipv6 nd raguard log enable
to enable the RA guard logging feature.
Use
undo ipv6 nd raguard log enable
to disable the RA guard logging feature.
Syntax
ipv6 nd raguard log enable
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...