![HP FlexNetwork MSR Series Command Reference Manual Download Page 830](http://html.mh-extra.com/html/hp/flexnetwork-msr-series/flexnetwork-msr-series_command-reference-manual_163078830.webp)
812
Predefined user roles
network-admin
Parameters
policy-name
: Specifies an attack defense policy by its name. The policy name is a case-insensitive
string of 1 to 31 characters. Valid characters include uppercase and lowercase letters, digits,
underscores (_), and hyphens (-).
Usage guidelines
An interface can have only one attack defense policy applied. If you execute this command multiple
times, the most recent configuration takes effect.
An attack defense policy can be applied to multiple interfaces.
Examples
# Apply the attack defense policy
atk-policy-1
to interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] attack-defense apply policy atk-policy-1
Related commands
attack-defense policy
display attack-defense policy
attack-defense local apply policy
Use
attack-defense local apply policy
to apply an attack defense policy to the device.
Use
undo attack-defense local apply policy
to restore the default.
Syntax
attack-defense local apply policy
policy-name
undo attack-defense local apply policy
Default
No attack defense policy is applied to the device.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name
: Specifies an attack defense policy by its name. The policy name is a case-insensitive
string of 1 to 31 characters. Valid characters include uppercase and lowercase letters, digits,
underscores (_), and hyphens (-).
Usage guidelines
An attack defense policy applied to the device itself detects packets destined for the device and
prevents attacks targeted at the device.
Applying an attack defense policy to the device can improve the efficiency of processing attack
packets destined for the device.
Each device can have only one attack defense policy applied. If you execute this command multiple
times, the most recent configuration takes effect.
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...