The security acl command sets an ACL used by the IPSec policy.
The undo security acl command restores the default setting.
By default, the ACL for the IPSec policy is not set.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
name acl-name |
Indicates the name of an ACL. |
The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive). |
acl acl-number |
Specifies the number of an advanced ACL. |
It is an integer that ranges from 3000 to 3999. |
IPSec determines which packets need protection according to the defined ACL.
After an IPSec policy is applied to an interface, you cannot run the security acl command to modify the ACL quoted by the IPSec policy. After an IPSec policy template is quoted by an IPSec policy, you cannot run the security acl command to modify the ACL quoted by the IPSec policy template.Note that:
<HUAWEI> system-view [~HUAWEI] acl 3000 [*HUAWEI-acl4-advance-3000] rule permit ip source 10.1.1.1 32 destination 10.2.1.1 32 [*HUAWEI-acl4-advance-3000] quit [*HUAWEI] ipsec policy policy1 1 isakmp [*HUAWEI-ipsec-policy-isakmp-policy1-1] security acl 3000