Quality of Service (QoS) | 419
On the MXL Switch, you can configure service-class dynamic dot1p from CONFIGURATION mode, which
applies the configuration to all interfaces. A CONFIGURATION mode
service-class dynamic dot1p entry
supersedes any INTERFACE entries. For more information, refer to Mapping dot1p Values to Service
Queues.
Figure 24-3. service-class dynamic dot1p Command Example
Priority-Tagged Frames on the Default VLAN
Priority-tagged frames are 802.1Q tagged frames with VLAN ID 0. For VLAN classification, these
packets are treated as untagged. However, the dot1p value is still honored when you configure
service-class
dynamic dot1p
or trust dot1p.
When priority-tagged frames ingress an untagged port or hybrid port the frames are classified to the default
VLAN of the port, and to a queue according to their dot1p priority if you configure
service-class dynamic
dotp
or trust dot1p. When priority-tagged frames ingress a tagged port, the frames are dropped because for a
tagged port the default VLAN is 0.
Configure Port-based Rate Policing
To configure rate policing ingress traffic on an interface, use the rate police command from INTERACE
mode (Figure 24-4). If the interface is a member of a VLAN, you may specify the VLAN for which ingress
packets are policed.
Figure 24-4. Rate Policing Ingress Traffic
Note: You cannot configure service-policy input and service-class dynamic dot1p on the same interface.
FTOS Behavior: Hybrid ports can receive untagged, tagged, and priority tagged frames. The rate
metering calculation may be inaccurate for untagged ports because an internal assumption is made
that all frames are treated as tagged. Internally, the ASIC adds a 4-bytes tag to received untagged
frames. Though these 4-bytes are not part of the untagged frame received on the wire, they are
included in the rate metering calculation resulting in metering inaccuracy.
FTOS#config t
FTOS(conf)#interface tengigabitethernet 1/0
FTOS(conf-if)#service-class dynamic dot1p
FTOS(conf-if)#end
FTOS#
FTOS#config t
FTOS(conf)#interface tengigabitethernet 1/0
FTOS(conf-if)#rate police 100 40 peak 150 50
FTOS(conf-if)#end
FTOS#