ip https acl
Syntax
ip https acl acl-number
undo ip https acl
View
System view
Default level
3: Manage level
Parameters
acl-number: ACL number, in the range of 2000 to 2999.
Description
Use ip https acl to associate the HTTPS service with an ACL.
Use undo ip https acl to remove the association.
By default, the HTTPS service is not associated with any ACL.
After the HTTPS service is associated with an ACL, only the clients permitted by the ACL can access the
device.
Related commands: display ip https; acl (ACL and QoS Command Reference).
Examples
# Associate the HTTPS service with ACL 2001 to only allow the clients within the 10.10.0.0/16 network
segment to access the HTTPS server through HTTP.
<Sysname> system-view
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule permit source 10.10.0.0 0.0.255.255
[Sysname-acl-basic-2001] quit
[Sysname] ip https acl 2001
ip https certificate access-control-policy
Syntax
ip https certificate access-control-policy policy-name
undo ip https certificate access-control-policy
View
System view
Default level
3: Manage level
Parameters
policy-name: Name of the certificate attribute access control policy, a string of 1 to 16 characters.
33