3Com 10014298 Switch User Manual


 
Configuring QoS 157
Define the rules for packet with source IP address 10.1.1.1.
[SW7750-acl-basic-traffic-of-host]rule 1 deny ip source 10.1.1.1 0
time-range 3com
4 Activate ACL.
Activate the ACL traffic-of-host .
[SW7750-Ethernet2/0/1]qos
[QSW7750-qoss-Ethernet2/0/1]packet-filter inbound ip-group
traffic-of-host
Link ACL Using Link ACL, filter the packet whose source MAC address is 00e0-fc01-0101
and destination MAC address is 00e0-fc01-0303 during time range 8:00 to 18:00
every day. The ACL is activated on Ethernet2/0/1.
In the following configurations, only the commands related to ACL configurations
are listed.
To configure a link ACL:
1 Define the time range
Define time range 8:00 to 18:00.
[SW7750]time-range 3com 8:00 to 18:00 daily
2 Select ACL mode
Select link-based ACL mode.
[SW7750]acl mode link-based
3 Define the ACL for packet whose source MAC address is 00e0-fc01-0101 and
destination MAC address is 00e0-fc01-0303.
Enter the named link ACL, named as traffic-of-link.
[SW7750]acl name traffic-of-link link
Define the rules for a packet whose source MAC address is 00e0-fc01-0101 and
destination MAC address is 00e0-fc01-0303.
[SW7750-acl-link-traffic-of-link]rule 1 deny ip ingress
00e0-fc01-0101 egress 00e0-fc01-0303 time-range 3com
4 Activate ACL.
Activate the ACL traffic-of-link .
[SW7750-Ethernet2/0/1]qos
[SW7750-qoss-Ethernet2/0/1]packet-filter inbound link-group
traffic-of-link
Configuring QoS In a traditional IP network, all packets are treated equally without priority
difference. Every switch or router handles the packets following the first-in
first-out (FIFO) policy. Switches and routers make their best effort to transmit the