976DefaultNo attack defense policy is applied to an interface.ViewsInterface viewPredefined user rolesnetwork-adminParameterspolicy-name: Specifies an attack defense policy by its name. The policy name is a case-insensitivestring of 1 to 31 characters. Valid characters include uppercase and lowercase letters, digits,underscores (_), and hyphens (-).Usage guidelinesAn interface can have only one attack defense policy applied. If you execute this command multipletimes, 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. system-view[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] attack-defense apply policy atk-policy-1Related commandsattack-defense policydisplay attack-defense policyattack-defense local apply policyUse 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.Syntaxattack-defense local apply policy policy-nameundo attack-defense local apply policyDefaultNo attack defense policy is applied to the device.ViewsSystem viewPredefined user rolesnetwork-adminParameterspolicy-name: Specifies an attack defense policy by its name. The policy name is a case-insensitivestring of 1 to 31 characters. Valid characters include uppercase and lowercase letters, digits,underscores (_), and hyphens (-).