Configuring Service Access Control Lists show system service-acl
35-4
show system service-acl
Use this command to display the contents of the service ACL configured on the switch.
Syntax
show system service-acl [name]
Parameters
Defaults
If no name is specified, all service ACLs are displayed. Note that currently, only one service ACL
can be configured.
Mode
Switch command, read-only.
Example
This example displays the contents of the my-sacl service ACL.
C3(su)->show system service-acl
my-sacl
-------
set system service-acl my-sacl deny ip-source 192.168.10.10 mask 255.255.255.255
service ssh priority 1
set system service-acl my-sacl permit port ge.1.1 priority 2
set system service-acl my-sacl permit port ge.1.2 priority 3
! (Note: all other access implicitly denied)
clear system service-acl
Use this command to delete a service ACL.
Syntax
clear system service-acl name
Parameters
Defaults
None.
Mode
Switch command, read-write.
Example
This example deletes service ACL my-sacl.
name (Optional) Specifies the service ACL to display.
name Specifies the service ACL to delete.