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>

Enter the 802.1p priority.

 

(Console) (Config)#classofservice dot1p-mapping

1

?

map the 802.1p priority to.

<0-2>

Enter the traffic class to

(Console) (Config)#classofservice dot1p-mapping

1

2

?

<cr>

Press Enter to execute

the

command.

(Console) (Config)#classofservice dot1p-mapping

1

2

 

(Console) (Config)#exit

 

 

 

 

Example #2: show classofservice dot1p-mapping

(Console) #show classofservice dot1p-mapping

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 ?

dot1p-mapping

Display 802.1p priority mapping information.

ip-dscp-mapping

Display IP DSCP Information

ip-precedence-mapping

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 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).

Page 64
Image 64
D-Link d-link manual Traffic Shaping and Rate Limiting, Traffic-shape