64
Web User Guide
CLI Examples
The following are examples of the commands used in the CoS Queuing feature.
Example #1 classofservice dot1p-mapping
Use the following command to enter the 802.1p priority and the traffic class queue.
(Console) (Config)#classofservice dot1p-mapping ?
<0-7>
(Console) (Config)#classofservice dot1p-mapping 1 ?
<0-2>
(Console) (Config)#classofservice dot1p-mapping 1 2 ?
<cr>
(Console) (Config)#classofservice dot1p-mapping 1 2
(Console) (Config)#exit
Example #2: show classofservice dot1p-mapping
(Console) #show classofservice dot1p-mapping
User Priority
-------------
0
1
2
3
4
5
6
7
Example #3: show classofservice trust
(Console) #show classofservice ?
dot1p-mapping
ip-dscp-mapping
ip-precedence-mapping
trust
(Console)
<cr>
(Console)
Class of Service Trust Mode:
Traffic Shaping and Rate Limiting
Traffic shaping controls the amount and volume of traffic transmitted through a network. This
has the effect of smoothing temporary traffic bursts over time.
Rate limiting specifies the maximum ingress bandwidth allowed, typically used to rate limit
the inbound transmission rate. This value is controlled independently of any per-flow input
policing configurations. It is effectively a hard-limit for allowed ingress traffic rate.
traffic-shape
Use this command to enable traffic shaping by specifying the maximum transmission
bandwidth limit for all interfaces (Global Config) or for a single interface (Interface Config).
Enter the 802.1p priority.
Enter the traffic class to map the 802.1p priority to.
Press Enter to execute the command.
Traffic Class
-------------
1
2
0
1
2
2
2
2
Display 802.1p priority mapping information.
Display IP DSCP Information
Display ClassofService IP Precedence Information
Display ClassofService Trust Information
#show classofservice trust ?
Press Enter to execute the command.
#show classofservice trust
Dot1P