3com 4210 PWR 9-Port 3CR17341-91-ME 用户手册

产品代码
3CR17341-91-ME
下载
页码 567
Example for Upper-layer Software Referencing ACLs
297
Configuration Example
# Configure ACL 3000 to permit the TCP packets sourced from the network 
129.9.0.0/16 and destined for the network 202.38.160.0/24 and with the 
destination port number being 80.
<4210> system-view
 
[4210] acl number 3000
 
[4210-acl-adv-3000] rule permit tcp source 129.9.0.0 0.0.255.255 destination
 202.38.160.0 0.0.0.255 destination-port eq 80 
# Display the configuration information of ACL 3000.
[4210-acl-adv-3000] display acl 3000
 
Advanced ACL  3000, 1 rule
 
Acl’s step is 1
 
rule 0 permit TCP source 129.9.0.0 0.0.255.255 destination 
202.38.160.0 0.0.0.255 destination-port eq www (0 times matched)
Displaying ACL 
Configuration
After the above configuration, you can execute the display commands in any 
view to view the ACL running information and verify the configuration.
Example for 
Upper-layer Software 
Referencing ACLs
Example for Controlling 
Telnet Login Users by 
Source IP
Network requirements
Apply an ACL to permit users with the source IP address of 10.110.100.52 to 
telnet to the switch.
Network diagram
Figure 90   Network diagram for controlling Telnet login users by source IP
Table 219   Display ACL configuration
Operation 
Command 
Description 
Display a configured ACL or 
all the ACLs 
display acl { all | acl-number }  In any view. 
Display a time range or all the 
time ranges 
display time-range { all | 
time-name } 
Switch
PC 
10.110.100.52
Internet