Configuring Priority Queueing

Similar documents
Configuring COPS for RSVP

CPU Thresholding Notification

PPPoE Client DDR Idle-Timer

Sun RPC ALG Support for Firewall and NAT

QoS: Child Service Policy for Priority Class

SIP RFC 2782 Compliance with DNS SRV Queries

Logging to Local Nonvolatile Storage (ATA Disk)

Configuring Data Export for Flexible NetFlow with Flow Exporters

Configuring TCP Header Compression

Expires Timer Reset on Receiving or Sending SIP 183 Message

Using Flexible NetFlow Top N Talkers to Analyze Network Traffic

Using the Multicast Routing Monitor

Object Groups for ACLs

AToM Graceful Restart

Inspection of Router-Generated Traffic

QoS: Child Service Policy for Priority Class

Using Multilink PPP over Frame Relay

Netflow v9 for IPv6. Finding Feature Information. Prerequisites for Netflow v9 for IPv6. Information About Netflow v9 for IPv6

Configuring Weighted Random Early Detection

Flexible NetFlow Full Flow support

Configuring the Physical Subscriber Line for RADIUS Access and Accounting

SIP Gateway Support for the bind Command

Creating an IP Access List to Filter IP Options, TCP Flags, or Noncontiguous Ports

Classifying Network Traffic

Flexible Packet Matching XML Configuration

Configuring Data Export for Flexible NetFlow with Flow Exporters

Configuring Class-Based RTP and TCP Header Compression

Configuring the Multiprotocol over ATM Server

BGP Policy Accounting Output Interface Accounting

WRED-Explicit Congestion Notification

Flexible Packet Matching XML Configuration

BGP Next Hop Unchanged

Configuring Port to Application Mapping

Firewall Stateful Inspection of ICMP

Configuring Weighted Fair Queueing

Frame Relay PVC Interface Priority Queueing

Rate Based Satellite Control Protocol

Classifying Network Traffic

Encrypted Vendor-Specific Attributes

Application Firewall-Instant Message Traffic Enforcement

EVC Quality of Service

Implementing NAT-PT for IPv6

MPLS LDP Graceful Restart

Firewall Authentication Proxy for FTP and Telnet Sessions

QoS: Classification, Policing, and Marking on LAC Configuration Guide, Cisco IOS Release 12.4T

RSVP Interface-Based Receiver Proxy

Configuring RTP Header Compression

Configuring an Intermediate IP Multicast Helper Between Broadcast-Only Networks

MPLS LDP Autoconfiguration

Network Admission Control Agentless Host Support

IP Switching Configuring Fast Switching Configuration Guide Cisco IOS Release 15SY

Using NetFlow Sampling to Select the Network Traffic to Track

BGP Event-Based VPN Import

Configuring Template ACLs

Configuring IP Multicast over Unidirectional Links

IGMP Static Group Range Support

Using Multilink PPP over ATM Links

Configuring NetFlow Top Talkers using Cisco IOS CLI Commands or SNMP Commands

Implementing Static Routes for IPv6

RSVP Support for RTP Header Compression, Phase 1

Providing Connectivity Using ATM Routed Bridge Encapsulation over PVCs

Configuring NetFlow BGP Next Hop Support for Accounting and Analysis

IPsec Anti-Replay Window: Expanding and Disabling

Configuring Cisco IOS IP SLAs DNS Operations

IP Addressing: IPv4 Addressing Configuration Guide, Cisco IOS Release 12.4

Using NetFlow Filtering or Sampling to Select the Network Traffic to Track

RADIUS Packet of Disconnect

Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images

Implementing Multicast Service Reflection

HTTP 1.1 Web Server and Client

Multicast only Fast Re-Route

IP Addressing: IPv4 Addressing Configuration Guide, Cisco IOS Release 15S

IP Routing: ODR Configuration Guide, Cisco IOS Release 15M&T

IP Source Tracker. Finding Feature Information. Restrictions for IP Source Tracker. Last Updated: January 18, 2012

Implementing RIP for IPv6

DHCP Client on WAN Interfaces

To use DNS, you must have a DNS name server on your network.

MPLS VPN--Show Running VRF

DHCP Server Port-Based Address Allocation

Implementing Traffic Filters for IPv6 Security

NetFlow Configuration Guide

Configuring Scalable Hub-and-Spoke MPLS VPNs

IEEE 802.1ad Support on Provider Bridges

Creating an IP Access List to Filter IP Options TCP Flags Noncontiguous Ports or TTL Values

BGP Support for the L2VPN Address Family

IP Addressing: Fragmentation and Reassembly Configuration Guide

Contextual Configuration Diff Utility

Using NetFlow Filtering or Sampling to Select the Network Traffic to Track

Providing Connectivity Using ATM Routed Bridge Encapsulation over PVCs

Configuring NAT for High Availability

IP Addressing: Fragmentation and Reassembly Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)

Configuring MAC Authentication Bypass

Multicast Subsecond Convergence

Granular Protocol Inspection

Security Configuration Guide: Denial of Service Attack Prevention, Cisco IOS Release 12.2SX

MPLS VPN over mgre. Finding Feature Information. Last Updated: November 1, 2012

Configuring SNMP and using the NetFlow MIB to Monitor NetFlow Data

Configuring Secure Shell

Cisco 1000 Series Connected Grid Routers QoS Software Configuration Guide

CAC for IPv6 Flows. Finding Feature Information. Prerequisites for CAC for IPv6 Flows. Restrictions for CAC for IPv6 Flows

Transcription:

Configuring Priority Queueing Last Updated: December 5, 2011 This module describes the tasks for configuring priority queueing (PQ) on a router. Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required. Finding Feature Information, page 1 Priority Queueing Configuration, page 1 Priority Queueing Configuration Examples, page 3 Finding Feature Information Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Priority Queueing Configuration A priority list contains the definitions for a set of priority queues. The priority list specifies which queue a packet will be placed in and, optionally, the maximum length of the different queues. In order to perform queueing using a priority list, you must assign the list to an interface. The same priority list can be applied to multiple interfaces. Alternatively, you can create many different priority policies to apply to different interfaces. Assign packets to priority queues based on the following qualities: Protocol type Interface where the packets enter the router You can specify multiple assignment rules. The priority-list commands are read in order of appearance until a matching protocol or interface type is found. When a match is found, the packet is assigned to the Americas Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA

Assigning Packets to Priority Queues Defining the Priority List appropriate queue and the search ends. Packets that do not match other assignment rules are assigned to the default queue. Defining the Priority List, page 2 Assigning the Priority List to an Interface, page 3 Monitoring Priority Queueing Lists, page 3 Defining the Priority List Assigning Packets to Priority Queues, page 2 Specifying the Maximum Size of the Priority Queues, page 2 Assigning Packets to Priority Queues DETAILED STEPS SUMMARY STEPS 1. Router(config)# priority-listlist-number protocol protocol-name{high medium normal low}queue-keyword keyword-value 2. Router(config)# priority-list list-number interface interface-type interface-number{high medium normal low} 3. Router(config)# priority-list list-number default{high medium normal low} Command or Action Step 1 Router(config)# priority-listlist-number protocol protocol-name{high medium normal low}queue-keyword keyword-value Step 2 Router(config)# priority-list list-number interface interface-type interface-number{high medium normal low} Step 3 Router(config)# priority-list list-number default{high medium normal low} Establishes queueing priorities based on the protocol type. Note All protocols supported by Cisco are allowed. The queuekeyword argument provides additional options including byte count, TCP service and port number assignments, and AppleTalk, IP, IPX, VINES, or XNS access list assignments. Refer to the priority-list protocol command syntax description in the Cisco IOS Quality of Service Solutions Command Reference. Establishes queueing priorities for packets entering from a given interface. Assigns a priority queue for those packets that do not match any other rule in the priority list. Specifying the Maximum Size of the Priority Queues 2

Assigning the Priority List to an Interface Priority Queueing Configuration Examples Command Router(config)# priority-list list-number queue-limit [high-limit [medium-limit [normallimit [low-limit]]] Specifies the maximum number of packets allowed in each of the priority queues: high-limit--20 medium-limit--40 normal-limit--60 low-limit--80 Assigning the Priority List to an Interface SUMMARY STEPS 1. Router(config)# interface interface-type interface-number 2. Router(config-if)# priority-group list-number DETAILED STEPS Command or Action Step 1 Router(config)# interface interface-type interface-number Specifies the interface, and then enters interface configuration mode. Step 2 Router(config-if)# priority-group list-number Assigns a priority list number to the interface. Monitoring Priority Queueing Lists Command Router# show queue interface-type interfacenumber Router# show queueing priority Displays the contents of packets inside a queue for a particular interface or VC. Displays the status of the priority queueing lists. Priority Queueing Configuration Examples Example Priority Queueing Based on Protocol Type, page 4 Example Priority Queueing Based on Interface, page 4 Example Maximum Specified Size of the Priority Queue, page 4 Example Priority List Assigned to an Interface, page 4 Example Priority Queueing Using Multiple Rules, page 4 3

Priority Queueing Configuration Examples Example Priority Queueing Based on Protocol Type Example Priority Queueing Based on Protocol Type The following example establishes queueing based on protocol type. The example assigns 1 as the arbitrary priority list number, specifies IP as the protocol type, and assigns a high priority level to traffic that matches IP access list 10. access-list 10 permit 239.1.1.0 0.0.0.255 priority-list 1 protocol ip high list 10 Example Priority Queueing Based on Interface The following example establishes queueing based on interface. The example sets any packet type entering on Ethernet interface 0 to a medium priority. priority-list 3 interface ethernet 0 medium Example Maximum Specified Size of the Priority Queue The following example changes the maximum number of packets in the high priority queue to 10. The medium-limit, normal, and low-limit queue sizes remain at their default 40-, 60-, and 80-packet limits. priority-list 4 queue-limit 10 40 60 80 Example Priority List Assigned to an Interface The following example assigns priority group list 4 to serial interface 0: interface serial 0 priority-group 4 Note The priority-group list-number command is not available on ATM interfaces that do not support fancy queueing. Example Priority Queueing Using Multiple Rules When classifying a packet, the system searches the list of rules specified by priority-list commands for a matching protocol type. The following example specifies four rules: DECnet packets with a byte count less than 200 are assigned a medium priority queue level. IP packets originating or destined to TCP port 23 are assigned a medium priority queue level. IP packets originating or destined to User Datagram Protocol (UDP) port 53 are assigned a medium priority queue level. All IP packets are assigned a high priority queue level. Remember that when using multiple rules for a single protocol, the system reads the priority settings in the order of appearance. priority-list 4 protocol decnet medium lt 200 priority-list 4 protocol ip medium tcp 23 4

Example Priority Queueing Using Multiple Rules priority-list 4 protocol ip medium udp 53 priority-list 4 protocol ip high Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. 2011 Cisco Systems, Inc. All rights reserved. 5