![Cisco 10000 Series Скачать руководство пользователя страница 282](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373282.webp)
7-32
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 7 Marking Traffic
Configuring Traffic Marking
Configuration Examples for Configuring MPLS Experimental Marking and Classification
Example 7-10
shows how to configure MPLS Experimental (EXP) marking. In the example, for all
packets on the inbound Gigabit Ethernet interface 1/0/0 that match class of service 3, the router sets the
packet MPLS experimental bits to 5.
Example 7-10
Configuring MPLS EXP Marking
Router(config)#
class-map voice
Router(config-cmap)#
match cos 3
Router(config-cmap)#
exit
Router(config)#
policy-map Silver
Router(config-pmap)#
class voice
Router(config-pmap-c)#
set mpls experimental imposition 5
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config)#
interface GigabitEthernet 1/0/0
Router(config-if)#
mpls ip
Router(config-if)#
service-policy input Silver
Example 7-11
shows how to configure MPLS EXP-based classification. In the example, the router
checks the MPLS EXP bits of the packets arriving on the Gigabit Ethernet interface 1/0/0. The router
assigns the packets whose bits have a setting of 5 to the mpls-exp class. As indicated in the policy map,
the router provides low-latency priority handling of MPLS experimental traffic.
Example 7-11
Configuring MPLS EXP-Based Classification
Router(config)#
class-map mpls-exp
Router(config-cmap)#
match mpls experimental 5
Router(config-cmap)#
exit
Router(config)#
policy-map Platinum
Router(config-pmap)#
class mpls-exp
Router(config-pmap-c)#
priority
Router(config-pmap-c)#
police percent 30 4000 2000 conform-action transmit exceed-action
drop
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config)#
interface GigabitEthernet 1/0/0
Router(config-if)#
mpls ip
Router(config-if)#
service-policy output Platinum