Specifications
B-207
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Appendix B Cisco MWR 2941 Router Command Reference
match precedence
You can configure a QoS policy to include IP precedence marking for packets entering the network.
Devices within your network can then use the newly marked IP precedence values to determine how to
treat the packets. For example, class-based weighted random early detection (WRED) uses IP
precedence values to determine the probability that a packet is dropped. You can also mark voice packets
with a particular precedence. You can then configure low-latency queueing (LLQ) to place all packets
of that precedence into the priority queue.
Precedence Values and Names
The following table lists all criteria conditions by value, name, binary value, and recommended use. You
may enter up to four criteria, each separated by a space. Only one of the precedence values must be a
successful match criterion. Table 5 lists the IP precedence values.
Do not use IP precedence 6 or 7 to mark packets, unless you are marking control packets.
Examples
IPv4-Specific Traffic Match
The following example shows how to configure the service policy called “priority50” and attach service
policy “priority50” to an interface, matching for IPv4 traffic only. In a network where both IPv4 and
IPv6 are running, you might find it necessary to distinguish between the protocols for matching and
traffic segregation. In this example, the class map called “ipprec5” evaluates all IPv4 packets entering
Fast Ethernet interface 1/0/0 for a precedence value of 5. If the incoming IPv4 packet has been marked
with the precedence value of 5, the packet is treated as priority traffic and is allocated bandwidth of 50
kbps.
Router(config)# class-map ipprec5
Router(config-cmap)# match ip precedence 5
Router(config)# exit
Router(config)# policy-map priority50
Router(config-pmap)# class ipprec5
Router(config-pmap-c)# priority 50
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface fa1/0/0
Router(config-if)# service-policy input priority50
Table 5 IP Precedence Values
Precedence Value Precedence Name Binary Value Recommended Use
0 routine 000 Default marking value
1 priority 001 Data applications
2 immediate 010 Data applications
3 flash 011 Call signaling
4 flash-override 100 Video conferencing and streaming
video
5 critical 101 Voice
6 internet (control) 110 Network control traffic (such as
routing, which is typically
precedence 6)
7 network (control) 111