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 ?
Enter the 802.1p priority. |
| |||
(Console) (Config)#classofservice | 1 | ? | map the 802.1p priority to. | |
Enter the traffic class to | ||||
(Console) (Config)#classofservice | 1 | 2 | ? | |
<cr> | Press Enter to execute | the | command. | |
(Console) (Config)#classofservice | 1 | 2 |
| |
(Console) (Config)#exit |
|
|
|
|
Example #2: show classofservice
(Console) #show classofservice
User Priority | Traffic Class |
0 | 1 |
1 | 2 |
2 | 0 |
3 | 1 |
4 | 2 |
5 | 2 |
6 | 2 |
7 | 2 |
Example #3: show classofservice trust
(Console) #show classofservice ?
Display 802.1p priority mapping information. | ||
Display IP DSCP Information | ||
Display ClassofService | IP Precedence Information | |
trust | Display ClassofService | Trust Information |
(Console) | #show classofservice trust | ? |
<cr> | Press Enter to execute the | command. |
(Console) | #show classofservice trust |
|
Class of Service Trust Mode: | Dot1P |
|
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
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).