Configuring QoS 171
[SW7750-acl-basic-2000]rule 0 permit ip source 1.0.0.2 0 time-range
3com
3 Relabel ef priority for PC1 packets.
Enter QoS view.
[SW7750-GigabitEthernet7/0/1]qos
[SW7750-qosb-GigabitEthernet7/0/1]
Relabel ef priority for PC1 packets.
[SW7750-qosb-GigabitEthernet7/0/1]traffic-priority inbound ip-group
1 dscp ef
Packet Redirection
In this example, packets sent 8:00~18:00 each day are forwarded from PC1 (IP
1.0.0.2) to the port GE7/0/8.
Only the 20-Port 10/100/1000BASE-T and 20-Port 1000BASE-X-SFP I/O modules
support packet redirection.
Figure 43 Packet Redirection
To create this configuration:
1 Define the time range 8:00 to 18:00.
[SW7750]time-range 3com 8:00 to 18:00 daily
2 Define traffic rules for PC1 packets.
Enter the number-based basic ACL and select ACL 2000.
[SW7750]acl number 2000
Define traffic classification rules for PC1 packets.
[SW7750-acl-basic-2000]rule 0 permit ip source 1.0.0.2 0 time-range
3com
3 Forward PC1 packets to the port GE7/0/8.
Enter QoS view.
[SW7750-GigabitEthernet7/0/1]qos
[SW7750-qosb-GigabitEthernet7/0/1]
Forward PC1 packets to the port GE7/0/8.
GE7/0/8
GE7/0/1
GE3/0/2
VLAN2,1.0.0.1/8
VLAN3,2.0.0.1/8
PC1
PC2