To do…

Use the command…

Remarks

 

 

Display VLAN mapping configuration of a

display qos-interface

 

 

 

port or all the ports

{ interface-type interface-number

 

 

 

unit-id} traffic-remark-vlanid

 

 

 

 

 

 

 

 

 

 

 

 

Display traffic mirroring configuration of a

display qos-interface

 

 

 

port or all the ports

{ interface-type interface-number

 

 

 

unit-id} mirrored-to

 

 

 

 

 

 

 

 

 

 

 

 

Display the configuration of traffic

display qos-global { all

 

 

 

mirroring, traffic policing, priority marking,

mirrored-to traffic-limit

 

 

 

traffic redirecting, or traffic accounting

traffic-priority traffic-redirect

 

 

 

performed for all the packets

traffic-statistic }

 

 

 

 

 

 

 

 

Display the configuration of traffic

display qos-vlan [ vlan-id] { all

 

 

 

mirroring, traffic policing, priority marking,

mirrored-to traffic-limit

 

 

 

traffic redirecting, or traffic accounting

traffic-priority traffic-redirect

 

 

 

performed for packets of a VLAN

traffic-statistic }

 

 

 

 

 

 

 

 

Display the configuration of traffic

display qos-port-group [ group-id]

 

 

 

mirroring, traffic policing, priority marking,

{ all mirrored-to traffic-limit

 

 

 

traffic redirecting, or traffic accounting

traffic-priority traffic-redirect

 

 

 

performed for packets of a port group

traffic-statistic }

 

 

 

 

 

 

QoS Configuration Example

Configuration Example of Traffic Policing

Network requirement

As shown in Figure 1-9, an enterprise network connects all the departments through a device. PC1, with the IP address 192.168.0.1 belongs to the R&D department and is connected to GigabitEthernet 1/0/1 of the switch. The marketing department is connected to GigabitEthernet 1/0/2 of the switch.

Configure traffic policing to satisfy the following requirements:

z

z

Set the maximum rate of outbound IP packets sourced from the marketing department to 64 kbps. Drop the packets exceeding the rate limit.

Set the maximum rate of outbound IP packets sourced from the R&D department to 128 kbps. Drop the packets exceeding the rate limit.

Figure 1-9Network diagram for traffic policing and rate limiting configuration

The R&D department

VLAN 1 192.168.1.0/24

To the router

GEth1/0/1 GEth1/0/2

Switch

The

marketing

department VLAN 2

192.168.2.0/24

Configuration procedure

1)Define an ACL for traffic classification.

1-33

Page 394
Image 394
3Com WX3000 operation manual QoS Configuration Example, Configuration Example of Traffic Policing