2-8Configuration example# Apply QoS policy test_policy to the inbound direction of VLAN 200, VLAN 300, VLAN 400, and VLAN500. system-view[Sysname] qos vlan-policy test_policy vlan 200 300 400 500 inboundApplying the QoS Policy GloballyYou can apply the QoS policy globally to the inbound or outbound direction of all ports.Configuration procedureFollow these steps to apply a QoS policy globally:To do… Use the command… RemarksEnter system view system-view —Apply a QoS policy globally qos apply policy policy-nameglobal { inbound | outbound } RequiredConfiguration example# Apply QoS policy test_policy to the inbound direction globally. system-view[Sysname] qos apply policy test_policy global inboundSupport for QoS actions in different directionsBefore creating and applying a QoS policy, you must be aware that some QoS actions are supportedonly in a particular traffic direction, as shown in Table 2-2:Table 2-2 Support for QoS actions in different traffic directionsDirection (right)Action (below)Inbound OutboundTraffic accounting Supported SupportedTraffic policing Supported SupportedAggregation CAR Supported Not SupportedTraffic filtering Supported SupportedTraffic mirroring Supported Not supportedInserting VLAN tags Supported Not supportedTraffic redirecting Supported Not supportedMarking 802.1p priority Supported SupportedMarking DSCP precedence Supported Supported