Displaying and Maintaining ACL Configuration
To do...
Display a configured AC
the ACLs
Display a time range or all the
time ranges
Display information about
packet filtering
Display information about ACL
resources
Examples for Upper-layer Software Referencing ACLs
Example for Controlling Telnet Login Users by Source IP
Network requirements
Apply an ACL to permit use
N
etwork diagram
Figure 44-1 Network diagram
Internet
Switch
C
onfiguration procedure
# Define ACL 20
<Sysname> system
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule 1 permit source 10.110.100.52 0
[Sysname-acl-basic-2000] quit
# Reference ACL 2000 on VTY
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4] acl 2000 inbound
L or all
display acl { all | acl-number }
display time-range { all | time-name }
display packet-filter { interface
interface-type interface-number | unitid
unit-id }
display drv qacl_resource
rs with the source IP address of 10.110.100.52 to telnet to the switch.
for controlling Telnet login users by source IP
PC
10.110.100.52
00.
-view
user interface to control Telnet login users.
Use the command...
44-14
Remarks
Available in any
view