Configuring QoS 169
Figure 40 Traffic Limit and Line Rate Configuration
Only the commands concerning QoS/ACL configuration are listed here.
To create this configuration:
1Define outbound traffic for the wage server.
Enter name-based advanced ACL view using the traffic-of-payserver.
[SW7750]aclname traffic-of-payserver advanced
Define the traffic-of-payserver rule in the advanced ACL.
[SW7750-acl-adv-traffic-of-payserver]rule 1 permit ip source
129.110.1.2 0.0.0.0 destination any
2Set traffic limit for the wage server.
Enter QoS view.
[SW7750-GigabitEthernet7/0/1]qos
[SW7750-qosb-GigabitEthernet7/0/1]
Limit average outbound traffic of the wage server to 20 Mbps and label
over-threshold packets with priority level 4.
[SW7750-qosb-GigabitEthernet7/0/1]traffic-limit inbound ip-group
traffic-of-payserver 20 exceed remark-dscp 4
Limit inbound traffic of the wage server from the port GigabitEthernet7/0/1 to 20
Mbps.
[SW7750-qosb-GigabitEthernet7/0/1]line-rate 20
Port Mirroring
This configuration uses one server to monitor the packets of two PCs. One PC is
accessed from the port E3/0/1 and the other from the port E3/0/2. The server is
connected to the port Ethernet3/0/8.
The monitoring port and the monitored ports must be on the same I/O module.
For a non-48-port module, only one mirroring group can be configured in one
direction. For example, you can only configure one mirroring group for the
inbound packets on one module. The configuration will fail if you configure a
second mirroring group. The same restriction applies to outbound packets.
Wage server
129.110.1.2
To switch
Switch
GE7/0/1