Example For Upper-Layer Software Referencing Acls - 3Com 4210 PWR Configuration Manual

9/18/26 port and pwr 9/18/26 port 4210 series switch
Table of Contents

Advertisement

Displaying ACL
Configuration
Example for
Upper-layer Software
Referencing ACLs
Example for Controlling
Telnet Login Users by
Source IP
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)
After the above configuration, you can execute the display commands in any
view to view the ACL running information and verify the configuration.
Table 219 Display ACL configuration
Operation
Display a configured ACL or
all the ACLs
Display a time range or all the
time ranges
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
Internet
Switch

Example for Upper-layer Software Referencing ACLs

Command
display acl { all | acl-number } In any view.
display time-range { all |
time-name }
PC
10.110.100.52
297
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents