3Com Switch 7750 Configuration Guide

656 CHAPTER 60: ACL CONFIGURATION
Network diagram
Figure 169 Network diagram for user-defined ACL configuration
Configuration procedure
n
Only the commands related to the ACL configuration are listed below.
1 Define the time range.
# Define the time range ranging from 8:00 to 18:00.
<SW7750> system-view
[SW7750] time-range aaa 8:00 to 18:00 daily
2 Create an ACL rule to filter TCP packets.
# Create ACL 5000.
[SW7750] acl number 5000
# Define a rule for TCP packets.
[SW7750-acl-user-5000] rule 1 deny 06 ff 27 time-range aaa
3 Apply the ACL on a port.
# Apply ACL 5000 on the port Ethernet 2/0/1.
[SW7750] interface Ethernet 2/0/1
[SW7750-Ethernet2/0/1] qos
[SW7750-qosb-Ethernet2/0/1] packet-filter inbound user-group 5000
Switch
Eth2 /0/1
PC 1
PC 2
To the router