CLI Guide

Table Of Contents
Layer 2 Switching Commands 796
Traffic shaping may cause congestion and packet loss if the aggregate ingress
rate for an interface persistently exceeds the egress traffic shape rate.
Example
The following example rate limits interface gi1/0/1 to a maximum bandwidth
of 1024 Kbps.
console(config-if-Gi1/0/1)#traffic-shape 1024 Kbps
vlan priority
Use the vlan priority command to assign a default VLAN priority tag for
untagged frames ingressing an interface.
Syntax
vlan priority cos-value
cos-value – A value ranging from 0-7.
Default Configuration
By default, untagged frames are processed with VLAN priority 0. The VLAN
priority is mapped to a class of service value which determines the handling of
the frame. Use the show interfaces detail command to display the configured
priority. Use the show classofservice dot1p-mapping command to display the
mapping of VLAN priorities to COS values.
Command Modes
Interface (physical) Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example configures the default VLAN priority to 1 for
untagged frames ingressing interface Te1/0/1.
console(config-if-Te1/0/1)#vlan priority 1