579
Configuring QoS
Understanding QoS
802.1Q Tunneling CoS Mapping
The switch supports VLAN mapping from the customer VLAN-ID (C-VLAN) to a service-provider VLAN-ID (S-VLAN). For
QoS, the switch can set the service-provider CoS (S-CoS) from either the customer CoS (C-CoS) or the customer DSCP
(C-DSCP) value, and can map the inner CoS to the outer CoS for any traffic with traditional 802.1Q tunneling (QinQ) or
selective QinQ VLAN mapping. This default allows copying the customer CoS into the service provider network.
The switch supports C-CoS to S-CoS propagation for traditional QinQ and for selective QinQ on trunk ports. This is the
default behavior and does not require configuration. When you configure traditional QinQ or selective QinQ on Layer 2
trunk ports using 1-to-2 VLAN mapping, the switch also allows setting the S-CoS from C-DSCP.
For traffic entering the switch on 802.1Q tunnel ports or trunk ports configured for VLAN mapping, the switch has the
ability to examine the customer packet header and set the service-provider CoS value (S-CoS) from either the customer
CoS value or the customer DSCP value.
Configuring CoS matching on 802.1Q mapped ports is handled in this way:
On interfaces configured for 802.1Q tunneling (on tunnel or trunk ports) or selective 802.1Q (on trunk ports), the
CoS value of the VLAN tag (inner VLAN or C-VLAN) received on the interface (C-CoS) is automatically reflected in
the tunnel VLAN tag (outer VLAN or S-VLAN) by default.
The
set cos
policy-map class configuration commands always apply to the outer-most VLAN tag after processing
is complete, that is the S-VLAN-ID. For example, in 802.1Q tunnels, entering a
set cos
command changes only the
CoS value of the outer tag of the encapsulated packet.
When you configure a policy by entering the
match dscp
class map configuration command and you enter the
set
cos
policy-map class configuration command for QinQ and selective QinQ mapping interfaces, a DSCP match sets
the outer CoS of the encapsulated value.
You can set DSCP based on matching the outer VLAN.
If you enter the
match cos
command on interfaces configured for traditional QinQ or for selective QinQ mapping,
the match is to the outer CoS, which is the reflected inner Cos (C-CoS).
Classification Comparisons
shows suggested IP DSCP, IP precedence, and CoS values for typical traffic types.
Table 56
Typical Traffic Classifications
Traffic Type
DSCP
per-hop
DSCP
(decimal)
IP
Precedence
CoS
Voice-bearer—traffic in a priority queue or the queue with the
highest service weight and lowest drop priority.
EF
46
5
5
Voice control—signalling traffic, related to call setup, from a
voice gateway or a voice application server.
AF31
26
3
3
Video conferencing—in most networks, video conferencing over
IP has similar loss, delay, and delay variation requirements as
voice over IP traffic.
AF41
34
4
4
Streaming video—relatively high bandwidth applications with a
high tolerance for loss, delay, and delay variation. Usually
considered more important than regular background
applications such as e-mail and web browsing.
AF13
14
1
1
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...