![]() |
Cisco IOS Quality of Service Solutions Command Reference
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
D through F
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contents
D through Fdefault ip nbar protocol-packTo load the base version of the protocol pack that is present in the Cisco IOS image of the Cisco router and to remove all other protocol packs, use the default ip nbar protocol-pack command in global configuration mode. Usage GuidelinesThe protocol pack is a single compressed file that contains multiple Protocol Description Language (PDL) files and a manifest file. Before the protocol pack was introduced, PDLs had to be loaded separately. With network-based application recognition (NBAR) protocol pack, a set of protocols can be loaded, which helps NBAR to recognize additional protocols for classification on your network. When the default ip nbar protocol-pack command is used, all protocol packs are removed from the router, except the base version that is provided with the Cisco IOS image in the router. description (class-map)To add a description to the class map or the policy map, use the descriptioncommand in class-map configuration or policy-map configuration mode. To remove the description from the class map or the policy map, use the no form of this command. Usage GuidelinesThe description command is meant solely as a comment to be put in the configuration to help you remember information about the class map or policy map, such as which packets are included within the class map. ExamplesThe following example shows how to specify a description within the class map "ip-udp" and the policy map "fpm-policy": class-map type stack match-all ip-udp description "match UDP over IP packets" match field ip protocol eq 0x11 next udp ! policy-map type access-control fpm-policy description "drop worms and malicious attacks" class ip-udp service-policy fpm-udp-policy ! ! interface gigabitEthernet 0/1 service-policy type access-control input fpm-policy description (service group)To add a service-group description, use the description command in service-group configuration mode. To remove a service-group description, use the no form of this command. Usage GuidelinesUse the description (service group) command to provide additional information about the service group, such as the account number, location, or subscriber name. ExamplesThe following example shows how to create service group 1 and how to add information that identifies the subscriber account number in the description: Router> enable Router# configure terminal Router(config)# service-group 1 Router(config-service-group)# description subscriber account number 105AB1 Router(config-service-group)# end dfTo change the algorithm for computing the delay factor (DF), use the df command in monitor parameters mode. To use the default DF algorithm (rfc4445) use the no form of this command. Usage GuidelinesUse the df command to modify the delay factor algorithm. The configured algorithm is used for both IP-CBR and MDI flows in a class. The ipdv-based algorithm is independent of the flow rate and reports only the delay caused by the network. The rfc4445-based algorithm is rate dependent and uses the configured flow rate. The rfc4445 based algorithm reports the sum of inter packet delay and network introduced delay. disconnect qdmTo disconnect a Quality of Service Device Manager (QDM) client, use the disconnectqdm command in EXEC or privileged EXEC mode. Command History
Usage GuidelinesUse the disconnectqdm command to disconnect all QDM clients that are connected to the router. Use the disconnectqdm [clientclient-id] command to disconnect a specific QDM client connected to a router. For instance, using the disconnectqdmclient42 command will disconnect the QDM client with the ID 42.
dropTo configure a traffic class to discard packets belonging to a specific class, use the drop command in policy-map class configuration mode. To disable the packet discarding action in a traffic class, use the no form of this command. Usage GuidelinesNote the following points when configuring the drop command to unconditionally discard packets in a traffic class:
ExamplesThe following example shows how to create a traffic class called "class1" and configure it for use in a policy map called "policy1". The policy map (service policy) is attached to output serial interface 2/0. All packets that match access-group 101 are placed in class1. Packets that belong to this class are discarded: Router(config)# class-map class1 Router(config-cmap)# match access-group 101 Router(config-cmap)# exit Router(config)# policy-map policy1 Router(config-pmap)# class class1 Router(config-pmap-c)# drop Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface serial2/0 Router(config-if)# service-policy output policy1 Router(config-if)# end Related Commands
dscpTo change the minimum and maximum packet thresholds for the differentiated services code point (DSCP) value, use the dscp command in random-detect-group configuration mode. To return the minimum and maximum packet thresholds to the default for the DSCP value, use the no form of this command.
dscp
dscp-value
min-threshold
max-threshold
[mark-probability-denominator]
no
dscp
dscp-value
min-threshold
max-threshold
[mark-probability-denominator]
Syntax Description
Command DefaultIf WRED is using the DSCP value to calculate the drop probability of a packet, all entries of the DSCP table are initialized with the default settings shown in the table in the "Usage Guidelines" section. Command History
Usage GuidelinesThis command must be used in conjunction with the random-detect-group command. Additionally, the dscp command is available only if you specified the dscp-based argument when using the random-detect-group command. The table below lists the DSCP default settings used by the dscp command. The table below lists the DSCP value, and its corresponding minimum threshold, maximum threshold, and mark probability. The last row of the table (the row labeled "default") shows the default settings used for any DSCP value not specifically shown in the table.
ExamplesThe following example enables WRED to use the DSCP value af22. The minimum threshold for the DSCP value af22 is 28, the maximum threshold is 40, and the mark probability is 10. Router> enable Router# configure terminal Router(config)# random-detect-group class1 dscp-based Router(cfg-red-group)# dscp af22 28 40 10 Router(cfg-red-group)# end estimate bandwidthTo estimate the bandwidth needed per traffic class for given quality of service (QoS) targets based on traffic data, use the estimatebandwidth command in policy-map class configuration mode. To disable the estimated bandwidth processing, use the no form of this command. Syntax Description
Usage GuidelinesUse the estimatebandwidthcommand to specify the target drop probability, the delay time and probability, and the timeframe. If you specify a delay time, you must also specify a delay threshold. If you issue the estimatebandwidth command with no keywords, the default target is drop less than 2 percent, which is the same as entering estimatebandwidthdrop-one-in500. exponential-weighting-constantTo configure the exponential weight factor for the average queue size calculation for a Weighted Random Early Detection (WRED) parameter group, use the exponential-weighting-constantcommand in random-detect-group configuration mode. To return the exponential weight factor for the group to the default, use the no form of this command. Command History
Usage GuidelinesWhen used, this command is issued after the random-detect-group command is entered. Use this command to change the exponent used in the average queue size calculation for a WRED parameter group. The average queue size is based on the previous average and the current size of the queue. The formula is: average = (old_average * (1-1/2^x)) + (current_queue_size * 1/2^x) where x is the exponential weight factor specified in this command. Thus, the higher the factor, the more dependent the average is on the previous average. For high values ofx, the previous average becomes more important. A large factor smooths out the peaks and lows in queue length. The average queue size is unlikely to change very quickly. The WRED process will be slow to start dropping packets, but it may continue dropping packets for a time after the actual queue size has fallen below the minimum threshold. The resulting slow-moving average will accommodate temporary bursts in traffic. If the value ofxgets too high, WRED will not react to congestion. Packets will be sent or dropped as if WRED were not in effect. For low values ofx, the average queue size closely tracks the current queue size. The resulting average may fluctuate with changes in the traffic levels. In this case, the WRED process will respond quickly to long queues. Once the queue falls below the minimum threshold, the process will stop dropping packets. If the value ofxgets too low, WRED will overreact to temporary traffic bursts and drop traffic unnecessarily. ExamplesThe following example shows how to configure the WRED group called sanjose with a weight factor of 10: random-detect-group sanjose exponential-weighting-constant 10 Related Commands
fair-queue (class-default)To specify the number of dynamic queues to be reserved for use by the class-default class as part of the default class policy, use the fair-queue command in policy-map class configuration mode. To delete the configured number of dynamic queues from the class-default policy, use the no form of this command. Command DefaultThe number of dynamic queues is derived from the interface or ATM permanent virtual circuit (PVC) bandwidth. See the table in the "Usage Guidelines" section for the default number of dynamic queues that weighted fair queueing (WFQ) and class-based WFQ (CBWFQ) use when they are enabled on an interface. See the table in the "Usage Guidelines" section for the default number of dynamic queues used when WFQ or CBWFQ is enabled on an ATM PVC. Command History
Usage GuidelinesThis command can be used for the default class (commonly known as the class-default class) only. You can use it in conjunction with either the queue-limit command or the random-detectcommand. The class-default class is the default class to which traffic is directed if that traffic does not satisfy the match criteria of other classes whose policy is defined in the policy map. The table below lists the default number of dynamic queues that weighted fair queueing (WFQ) and class-based WFQ (CBWFQ) use when they are enabled on an interface.
The table below lists the default number of dynamic queues used when WFQ or CBWFQ is enabled on an ATM PVC.
ExamplesThe following example shows how to configure policy for the default class included in the policy map called policy9. Packets that do not satisfy match criteria specified for other classes whose policies are configured in the same service policy are directed to the default class, for which 16 dynamic queues have been reserved. Because the queue-limit command is configured, tail drop is used for each dynamic queue when the maximum number of packets are enqueued and additional packets arrive: policy-map policy9 class class-default fair-queue 16 queue-limit 20 The following example shows how to configure policy for the default class included in the policy map called policy8. The fair-queue command reserves 20 dynamic queues to be used for the default class. For congestion avoidance, Weighted Random Early Detection (WRED) packet drop is used, not tail drop: policy-map policy8 class class-default fair-queue 64 random-detect fair-queue (DWFQ)To enable Versatile Interface Processor (VIP) distributed weighted fair queueing (DWFQ), use the fair-queuecommand in interface configuration mode. To disable DWFQ, use the no form of this command. Command DefaultDWFQ is enabled by default for physical interfaces whose bandwidth is less than or equal to 2.048. See the table in the "Usage Guidelines" section of this command for a list of the default queue lengths and thresholds. Command History
Usage GuidelinesThe fair-queue(DWFQ) command enables DWFQ on an interface using a VIP2-40 or greater interface processor. With DWFQ, packets are classified by flow. Packets with the same source IP address, destination IP address, source TCP or User Datagram Protocol (UDP) port, destination TCP or UDP port, and protocol belong to the same flow. DWFQ allocates an equal share of the bandwidth to each flow. The table below lists the default queue lengths and thresholds.
DWFQ can be configured on interfaces but not subinterfaces. It is not supported on Fast EtherChannel, tunnel, or other logical or virtual interfaces such as Multilink PPP (MLP). ExamplesThe following example shows how to enable DWFQ on High-Speed Serial Interface (HSSI) interface 0/0/0: interface Hssi0/0/0 description 45Mbps to R2 ip address 10.200.14.250 255.255.255.252 fair-queue The following example shows a basic configuration of two serial interfaces that results in the output queue becoming stuck on the multilink interface because of the nofair-queue command: configure terminal interface serial0/0/0:0 no fair-queue no max-reserved-bandwidth 90 tx-queue-limit 19 ! interface serial0/0/1:0 no fair-queue no max-reserved-bandwidth 90 tx-queue-limit 19
Related Commands
fair-queue (policy-map class)To specify the number of queues to be reserved for use by a traffic class, use the fair-queue command in policy-map class configuration mode. To delete the configured number of queues from the traffic class, use the no form of this command. Command History
Usage GuidelinesOn a VIP, the fair-queue command can be used for any traffic class (as opposed to non-VIP platforms, which can only use the fair-queue command in the default traffic class). The fair-queuecommand can be used in conjunction with either the queue-limit command or the random-detectexponential-weighting-constant command. ExamplesThe following example shows how to configure the default traffic class for the policy map called policy9 to reserve ten queues for packets that do not satisfy match criteria specified for other traffic classes whose policy is configured in the same service policy. Because the queue-limit command is configured, tail drop is used for each queue when the maximum number of packets is enqueued and additional packets arrive: policy-map policy9 class class-default fair-queue 10 queue-limit 20 The following example shows how to configure a service policy called policy8 that is associated with a user-defined traffic class called class1. The fair-queue command reserves 20 queues to be used for the service policy. For congestion avoidance, Weighted Random Early Detection (WRED) or distributed WRED (DWRED) packet drop is used, not tail drop: policy-map policy8 class class1 fair-queue 20 random-detect exponential-weighting-constant 14 Related Commands
fair-queue (WFQ)To enable weighted fair queueing (WFQ), use the fair-queue command in interface configuration or policy-map class configuration mode. To disable WFQ, use the noform of this command. Syntax DescriptionCommand DefaultFair queueing is enabled by default for physical interfaces whose bandwidth is less than or equal to 2.048 Mbps and that do not use the following:
Fair queueing is not an option for the protocols listed above. However, if you enable custom queueing or priority queueing for a qualifying link, it overrides fair queueing, effectively disabling it. Additionally, fair queueing is automatically disabled if you enable the autonomous or silicon switching engine mechanisms.
The number of dynamic queues is derived from the interface or ATM permanent virtual circuit (PVC) bandwidth. See the table in the fair-queue(class-default) command for the default number of dynamic queues that WFQ and class-based WFQ (CBWFQ) use when they are enabled on an interface. See the table in the fair-queue(class-default) command for the default number of dynamic queues used when WFQ and CBWFQ are enabled on an ATM PVC. Command History
Usage GuidelinesHigh-Level Overview This command enables WFQ. With WFQ, packets are classified by flow. For example, packets with the same source IP address, destination IP address, source TCP or User Datagram Protocol (UDP) port, destination TCP or UDP port, and protocol belong to the same flow; see the table below for a full list of protocols and traffic stream discrimination fields. When you enable WFQ on an interface, WFQ provides traffic priority management that automatically sorts among individual traffic streams without requiring that you first define access lists. Enabling WFQ requires use of this command only. When you enable WFQ on an interface, new messages for high-bandwidth traffic streams are discarded after the configured or default congestive discard threshold has been met. However, low-bandwidth conversations, which include control message conversations, continue to enqueue data. As a result, the fair queue may occasionally contain more messages than its configured threshold number specifies. WFQ uses a traffic data stream discrimination registry service to determine which traffic stream a message belongs to. For each forwarding protocol, the table below shows the message attributes that are used to classify traffic into data streams.
IP Precedence IP Precedence, congestion in Frame Relay switching, and discard eligible (DE) flags affect the weights used for queueing. IP Precedence, which is set by the host or by policy maps, is a number in the range from 0 to 7. Data streams of precedence number are weighted so that they are given an effective bit rate of number+1 times as fast as a data stream of precedence 0, which is normal. FECN and BECN In Frame Relay switching, message flags for forward explicit congestion notification (FECN), backward explicit congestion notification (BECN), and DE message flags cause the algorithm to select weights that effectively impose reduced queue priority. The reduced queue priority provides the application with "slow down" feedback and sorts traffic, giving the best service to applications within their committed information rate (CIR). Fair Queueing, Custom Queueing, and Priority Queueing Fair queueing is supported for all LAN and line (WAN) protocols except X.25, including LAPB and SDLC; see the notes in the section "Command Default." Because tunnels are software interfaces that are themselves routed over physical interfaces, fair queueing is not supported for tunnels. Fair queueing is on by default for interfaces with bandwidth less than or equal to 2 Mbps.
RSVP When you configure Resource Reservation Protocol (RSVP) on an interface that supports fair queueing or on an interface that is configured for fair queueing with the reservable queues set to 0 (the default), the reservable queue size is automatically configured using the following method: interface bandwidth divided by 32 kbps. You can override this default by specifying a reservable queue other than 0. For more information on RSVP, refer to the chapter "Configuring RSVP" in the Cisco IOS Quality of Service Solutions Configuration Guide . Cisco 10000 Series Routers In Cisco IOS Release 12.2(33)SB, the router removes the no fair-queue command from serial interfaces. HQF Beginning with Cisco IOS Release 12.4(20)T, if your image has HQF support, thefair-queue command is not enabled automatically under class default. You should enable the fair-queue command and any other supported queueing features before using an HQF-capable image. ExamplesThe following example enables WFQ on serial interface 0, with a congestive threshold of 300. This threshold means that messages are discarded from the queueing system only when 300 or more messages have been queued and the message is in a data stream that has more than one message in the queue. The transmit queue limit is set to 2, based on the 384-kilobit (Kb) line set by the bandwidth command: interface serial 0 bandwidth 384 fair-queue 300 Unspecified parameters take the default values. The following example requests a fair queue with a congestive discard threshold of 64 messages, 512 dynamic queues, and 18 RSVP queues: interface serial 3/0 ip unnumbered ethernet 0/0 fair-queue 64 512 18 You can apply the fair-queue command to a user-defined class as shown in the following example: policy-map p1 class c1 bandwidth 1000 fair-queue Related Commands
air-queue aggregate-limitTo set the maximum number of packets in all queues combined for Versatile Interface Processor (VIP)-distributed weighted fair queueing (DWFQ), use the fair-queueaggregate-limitcommand in interface configuration mode. To return the value to the default, use the no form of this command. Command DefaultThe total number of packets allowed is based on the transmission rate of the interface and the available buffer space on the VIP. Command History
Usage GuidelinesIn general, you should not change the maximum number of packets allows in all queues from the default. Use this command only if you have determined that you would benefit from using a different value, based on your particular situation. DWFQ keeps track of the number of packets in each queue and the total number of packets in all queues. When the total number of packets is below the aggregate limit, queues can buffer more packets than the individual queue limit. When the total number of packets reaches the aggregate limit, the interface starts enforcing the individual queue limits. Any new packets that arrive for a queue that is over its individual queue limit are dropped. Packets that are already in the queue will not be dropped, even if the queue is over the individual limit. In some cases, the total number of packets in all queues put together may exceed the aggregate limit. ExamplesThe following example shows how to set the aggregate limit to 54 packets: interface Fddi9/0/0 fair-queue tos fair-queue aggregate-limit 54 Related Commands
fair-queue individual-limitTo set the maximum individual queue depth for Versatile Interface Processor (VIP)-distributed weighted fair queueing (DWFQ), use the fair-queueindividual-limitcommand in interface configuration mode. To return the value to the default, use the no form of this command. Command History
Usage GuidelinesIn general, you should not change the maximum individual queue depth from the default. Use this command only if you have determined that you would benefit from using a different value, based on your particular situation. DWFQ keeps track of the number of packets in each queue and the total number of packets in all queues. When the total number of packets is below the aggregate limit, queues can buffer more packets than the individual queue limit. When the total number of packets reaches the aggregate limit, the interface starts enforcing the individual queue limits. Any new packets that arrive for a queue that is over its individual queue limit are dropped. Packets that are already in the queue will not be dropped, even if the queue is over the individual limit. In some cases, the total number of packets in all queues put together may exceed the aggregate limit. ExamplesThe following example shows how to set the individual queue limit to 27: interface Fddi9/0/0 mac-address 0000.0c0c.2222 ip address 10.1.1.1 255.0.0.0 fair-queue tos fair-queue individual-limit 27 Related Commands
fair-queue limitTo set the maximum queue depth for a specific Versatile Interface Processor (VIP)-distributed weighted fair queueing (DWFQ) class, use the fair-queuelimitcommand in interface configuration mode. To return the value to the default, use the no form of this command.
fair-queue
{qos-group number | tos number}
limit
class-packet
no
fair-queue
{qos-group number | tos number}
limit
class-packet
Syntax Description
Command DefaultThe individual queue depth, as specified by the fair-queueindividual-limit command. If the fair-queueindividual-limit command is not configured, the default is half of the aggregate queue limit. Command History
Usage GuidelinesUse this command to specify the number queue depth for a particular class for class-based DWFQ. This command overrides the global individual limit specified by the fair-queueindividual-limit command. In general, you should not change this value from the default. Use this command only if you have determined that you would benefit from using a different value, based on your particular situation. ExamplesThe following example shows how to set the individual queue limit for ToS group 3 to 20: interface Fddi9/0/0 mac-address 0000.0c0c.2222 ip address 10.1.1.1 255.0.0.0 fair-queue tos fair-queue tos 3 limit 20 Related Commands
fair-queue qos-groupTo enable Versatile Interface Processor (VIP)-distributed weighted fair queueing (DWFQ) and classify packets based on the internal QoS-group number, use the fair-queueqos-groupcommand in interface configuration mode. To disable QoS-group-based DWFQ, use the no form of this command. Command History
Usage GuidelinesUse this command to enable QoS-group-based DWFQ, a type of class-based DWFQ. Class-based DWFQ overrides flow-based DWFQ. Therefore, this command overrides the fair-queue (DWFQ) command. When this command is enabled, packets are assigned to different queues based on their QoS group. A QoS group is an internal classification of packets used by the router to determine how packets are treated by certain QoS features, such as DWFQ and committed access rate (CAR). Use a CAR policy or the QoS Policy Propagation via Border Gateway Protocol (BGP) feature to assign packets to QoS groups. Specify a weight for each class. In periods of congestion, each group is allocated a percentage of the output bandwidth equal to the weight of the class. For example, if a class is assigned a weight of 50, packets from this class are allocated at least 50 percent of the outgoing bandwidth during periods of congestion. ExamplesThe following example enables QoS-based DWFQ and allocates bandwidth for nine QoS groups (QoS groups 0 through 8): interface Hssi0/0/0 description 45Mbps to R2 ip address 10.200.14.250 255.255.255.252 fair-queue qos-group fair-queue qos-group 1 weight 5 fair-queue qos-group 2 weight 5 fair-queue qos-group 3 weight 10 fair-queue qos-group 4 weight 10 fair-queue qos-group 5 weight 10 fair-queue qos-group 6 weight 15 fair-queue qos-group 7 weight 20 fair-queue qos-group 8 weight 29 Related Commands
fair-queue tosTo enable Versatile Interface Processor (VIP)-distributed weighted fair queueing (DWFQ) and classify packets using the type of service (ToS) field of packets, use the fair-queuetoscommand in interface configuration command. To disable ToS-based DWFQ, use the no form of this command. Command DefaultDisabled By default, class 0 is assigned a weight of 10; class 1 is assigned a weight of 20; class 2 is assigned a weight of 30; and class 3 is assigned a weight of 40. Command History
Usage GuidelinesUse this command to enable ToS-based DWFQ, a type of class-based DWFQ. Class-based DWFQ overrides flow-based DWFQ. Therefore, this command overrides the fair-queue (DWFQ) command. When this command is enabled, packets are assigned to different queues based on the two low-order IP Precedence bits in the ToS field of the packet header. In periods of congestion, each group is allocated a percentage of the output bandwidth equal to the weight of the class. For example, if a class is assigned a weight of 50, packets from this class are allocated at least 50 percent of the outgoing bandwidth during periods of congestion. If you wish to change the weights, use the fair-queueweightcommand. ExamplesThe following example shows how to enable ToS-based DWFQ on the High-Speed Serial Interface (HSSI) interface 0/0/0: interface Hssi0/0/0 description 45Mbps to R2 ip address 10.200.14.250 255.255.255.252 fair-queue fair-queue tos Related Commands
fair-queue weightTo assign a weight to a class for Versatile Interface Processor (VIP)-distributed weighted fair queueing (DWFQ), use the fair-queueweightcommand in interface configuration mode. To remove the bandwidth allocated for the class, use the no form of this command.
fair-queue
{qos-group number | tos number}
weight
weight
no
fair-queue
{qos-group number | tos number}
weight
weight
Syntax Description
Command DefaultFor QoS DWFQ, unallocated bandwidth is assigned to QoS group 0. For ToS-based DWFQ, class 0 is assigned a weight of 10; class 1 is assigned a weight of 20; class 2 is assigned a weight of 30; and class 3 is assigned a weight of 40. Command History
Usage GuidelinesUse this command to allocate percentages of bandwidth for specific DWFQ classes. You must also enable class-based DWFQ on the interface with either the fair-queueqos-group or fair-queuetoscommand. Enter this command once for every class to allocate bandwidth to the class. For QoS-group-based DWFQ, packets that are not assigned to any QoS groups are assigned to QoS group 0. When assigning weights to QoS group class, remember the following guidelines:
For ToS-based DWFQ, remember the following guidelines:
ExamplesThe following example allocates bandwidth to different QoS groups. The remaining bandwidth (5 percent) is allocated to QoS group 0. interface Fddi9/0/0 fair-queue qos-group fair-queue qos-group 1 weight 10 fair-queue qos-group 2 weight 15 fair-queue qos-group 3 weight 20 fair-queue qos-group 4 weight 20 fair-queue qos-group 5 weight 30 Related Commands
feedbackTo enable the context-status feedback messages from the interface or link, use the feedback command in IP Header Compression (IPHC)-profile configuration mode. To disable the context-status feedback messages, use the no form of this command. Usage GuidelinesIntended for Use with IPHC Profiles The feedback command is intended for use as part of an IPHC profile. An IPHC profile is used to enable and configure header compression on your network. For more information about using IPHC profiles to configure header compression, see the "Header Compression" module and the "Configuring Header Compression Using IPHC Profiles" module of the Cisco IOS Quality of Service Solutions Configuration Guide , Release 12.4T. Restriction There are two types of IPHC profiles: Internet Engineering Task Force (IETF) profiles and van-jacobson profiles. The feedbackcommand is supported for IETF IPHC profiles only. The feedback command is not supported for van-jacobson IPHC profiles. For more information about IPHC profile types, see the "Header Compression" section of the Cisco IOS Quality of Service Solutions Configuration Guide , Release 12.4T. Prerequisite Before using the feedback command, you must enable either TCP header compression or non-TCP header compression. To enable TCP header compression, use the tcp command. To enable non-TCP header compression, use the non-tcp command. Disabling of Context-Status Messages During header compression, a session context is defined. For each context, the session state is established and shared between the compressor and the decompressor. The context state consists of the full IP/UDP/RTP, IP/UDP, or IP/TCP headers, a few first-order differential values, a link sequence number, a generation number, and a delta encoding table. When the decompressor loses synchronization with the compressor, the decompressor sends a context status message to the compressor with a list of context IDs to invalidate. The compressor then sends a full-header packet to the decompressor to reestablish a consistent state. Note that all packets for the invalid context IDs are discarded until a full-header packet is received for that context ID. You can disable the sending of context-status messages either when the time it takes for the packet to traverse the uplink and the downlink portions of the data path is greater than the refresh period (in which case, the sending of the context-status message would not be useful) or when a feedback path does not exist. ExamplesThe following is an example of an IPHC profile called profile2. In this example, context-status feedback messages have been disabled. Router> enable Router# configure terminal Router(config)# iphc-profile profile2 ietf Router(config-iphcp)# non-tcp Router(config-iphcp)# no feedback Router(config-iphcp)# end frame-relay interface-queue priorityTo enable the Frame Relay PVC Interface Priority Queueing (FR PIPQ) feature, use the frame-relayinterface-queuepriority command in interface configuration mode. To disable FR PIPQ, use the no form of this command.To assign priority to a permanent virtual circuit (PVC) within a Frame Relay map class, use the frame-relayinterface-queuepriority command in map-class configuration mode. To remove priority from a PVC within a Frame Relay map class, use the no form of this command.
frame-relay
interface-queue
priority
[high-limit medium-limit normal-limit low-limit]
no
frame-relay
interface-queue
priority
frame-relay
interface-queue
priority
{high | medium | normal | low}
no
frame-relay
interface-queue
priority
Syntax Description
Command DefaultThe default sizes of the high, medium, normal, and low priority queues are 20, 40, 60, and 80 packets, respectively. When FR PIPQ is enabled on the interface, the default PVC priority is normal priority. Command History
Usage GuidelinesFR PIPQ must be enabled on the interface in order for the map-class configuration of PVC priority to be effective. Before you configure FR PIPQ using the frame-relayinterface-queueprioritycommand, the following conditions must be met:
You will not be able to configure FR PIPQ if any queueing other than first-in first out (FIFO) queueing is already configured at the interface level. You will be able to configure FR PIPQ when weighted fair queueing (WFQ) is in use, as long as WFQ is the default interface queueing method. Disabling FR PIPQ will restore the interface to dual FIFO queueing if FRF.12 is enabled, FIFO queueing if Frame Relay Traffic Shaping (FRTS) is enabled, or the default queueing method for the interface. ExamplesThe following example shows how to enable FR PIPQ on serial interface 0, and set the limits of the high, medium, normal, and low priority queues to 10, 20, 30, and 40 packets, respectively. PVC 100 is assigned high priority, so all traffic destined for PVC 100 will be sent to the high priority interface queue. interface serial0 encapsulation frame-relay frame-relay interface-queue priority 10 20 30 40 frame-relay interface-dlci 100 class high_priority_class ! map-class frame-relay high_priority_class frame-relay interface-queue priority high Related Commands
frame-relay ip rtp compression-connectionsTo specify the maximum number of Real-Time Transport Protocol (RTP) header compression connections that can exist on a Frame Relay interface, use the frame-relayiprtpcompression-connections command in interface configuration mode. To restore the default, use the no form of this command. Command History
Usage GuidelinesBefore you can configure the maximum number of connections, RTP header compression must be configured on the interface using the frame-relayiprtpheader-compression command. The number of RTP header compression connections must be set to the same value at each end of the connection. ExamplesThe following example shows the configuration of a maximum of 150 RTP header compression connections on serial interface 0: interface serial 0 encapsulation frame-relay frame-relay ip rtp header-compression frame-relay ip rtp compression-connections 150 Related Commands
frame-relay ip rtp header-compressionTo enable Real-Time Transport Protocol (RTP) header compression for all Frame Relay maps on a physical interface, use the frame-relayiprtpheader-compressioncommand in interface configuration mode. To disable the compression, use the no form of this command.
frame-relay
ip
rtp
header-compression
[active | passive]
[periodic-refresh]
no
frame-relay
ip
rtp
header-compression
[active | passive]
[periodic-refresh]
Command DefaultDisabled. By default, whatever type of header compression is configured on the interface will be inherited. If header compression is not configured on the interface, the active keyword will be used, but no header-compressionkeyword will appear on the showrunning-config command output. Command History
Usage GuidelinesWhen the frame-relayiprtpheader-compression command is used on the physical interface, all the interface maps inherit the command; that is, all maps will perform UDP and RTP IP header compression. ExamplesThe following example shows how to enable RTP header compression for all Frame Relay maps on a physical interface: Router> enable Router# configure terminal Router(config)# interface Serial2/0.1 Router(config-if)# frame-relay ip rtp header-compression Router(config-if)# end The following example shows how to enable RTP header compression, and the optionalperiodic-refresh keyword is specified: Router> enable Router# configure terminal Router(config)# interface Serial2/0.2 Router(config-if)# frame-relay ip rtp header-compression periodic-refresh Router(config-if)# end Related Commands
frame-relay ip rtp priority
To reserve a strict priority queue on a Frame Relay permanent virtual circuit (PVC) for a set of Real-Time Transport Protocol (RTP) packet flows belonging to a range of User Datagram Protocol (UDP) destination ports, use the frame-relayiprtppriority command in map-class configuration mode. To disable the strict priority queue, use the no form of this command.
frame-relay
ip
rtp
priority
starting-rtp-port-number
port-number-range
bandwidth
no
frame-relay
ip
rtp
priority
Syntax Description
Command History
Usage GuidelinesThis command is most useful for voice applications, or other applications that are delay-sensitive. To use this command, you must first enter the map-classframe-relay command. After the Frame Relay map class has been configured, it must then be applied to a PVC. This command extends the functionality offered by the iprtppriority command by supporting Frame Relay PVCs. The command allows you to specify a range of UDP ports whose voice traffic is guaranteed strict priority service over any other queues or classes using the same output interface. Strict priority means that if packets exist in the priority queue, they are dequeued and sent first--that is, before packets in other queues are dequeued. Frame Relay Traffic Shaping (FRTS) and Frame Relay Fragmentation (FRF.12) must be configured before the frame-relayiprtppriority command is used. Compressed RTP (CRTP) can be used to reduce the bandwidth required per voice call. When using CRTP with Frame Relay, you must use the encapsulationframe-relaycisco command instead of the encapsulationframe-relayietfcommand. Remember the following guidelines when configuring the bandwidth parameter:
For more information on IP RTP Priority bandwidth allocation, refer to the section "IP RTP Priority" in the chapter "Congestion Management Overview" in the Cisco IOS Quality of Service Solutions Configuration Guide. ExamplesThe following example first configures the Frame Relay map class called voip and then applies the map class to PVC 100 to provide strict priority service to matching RTP packets: map-class frame-relay voip frame-relay cir 256000 frame-relay bc 2560 frame-relay be 600 frame-relay mincir 256000 no frame-relay adaptive-shaping frame-relay fair-queue frame-relay fragment 250 frame-relay ip rtp priority 16384 16380 210 interface Serial5/0 ip address 10.10.10.10 255.0.0.0 no ip directed-broadcast encapsulation frame-relay no ip mroute-cache load-interval 30 clockrate 1007616 frame-relay traffic-shaping frame-relay interface-dlci 100 class voip frame-relay ip rtp header-compression frame-relay intf-type dce In this example, RTP packets on PVC 100 with UDP ports in the range from 16384 to 32764 (32764 = 16384 + 16380) will be matched and given strict priority service. Related Commands
frame-relay ip tcp compression-connectionsTo specify the maximum number of TCP header compression connections that can exist on a Frame Relay interface, use the frame-relayiptcpcompression-connectionscommand in interface configuration mode. To restore the default, use the no form of this command. Command History
Usage GuidelinesBefore you can configure the maximum number of connections, TCP header compression must be configured on the interface using the frame-relayiptcpheader-compression command. The number of TCP header compression connections must be set to the same value at each end of the connection. ExamplesThe following example shows the configuration of a maximum of 150 TCP header compression connections on serial interface 0: interface serial 0 encapsulation frame-relay frame-relay ip tcp header-compression frame-relay ip tcp compression-connections 150 Related Commands
frame-relay ip tcp header-compressionTo configure an interface to ensure that the associated permanent virtual circuit (PVC) will always carry outgoing TCP/IP headers in compressed form, use the frame-relayiptcpheader-compressioncommand in interface configuration mode. To disable compression of TCP/IP packet headers on the interface, use the no form of this command. Command DefaultActive TCP/IP header compression; all outgoing TCP/IP packets are subjected to header compression. Command History
Usage GuidelinesThis command applies to interfaces that support Frame Relay encapsulation, specifically serial ports and High-Speed Serial Interface (HSSI). Frame Relay must be configured on the interface before this command can be used. TCP/IP header compression and Internet Engineering Task Force (IETF) encapsulation are mutually exclusive. If an interface is changed to IETF encapsulation, all encapsulation and compression characteristics are lost. When you use this command to enable TCP/IP header compression, every IP map inherits the compression characteristics of the interface, unless header compression is explicitly rejected or modified by use of the frame-relaymapiptcpheadercompressioncommand. We recommend that you shut down the interface prior to changing encapsulation types. Although this is not required, shutting down the interface ensures the interface is reset for the new type. frame-relay map ip compressTo enable both Real-Time Transport Protocol (RTP) and TCP header compression on a link, use the frame-relaymapipcompresscommand in interface configuration mode. Syntax Description
Command DefaultRTP and TCP header compression are disabled. The default maximum number of header compression connections is 256. Command History
Usage GuidelinesThis command does not have a "no" form. That is, a command called noframe-relaymapipcompress does not exist. ExamplesThe following example enables both RTP and TCP header compression on serial interface 1 and sets the maximum number of RTP and TCP header connections at 16: interface serial 1 encapsulation frame-relay ip address 10.108.175.110 255.255.255.0 frame-relay map ip 10.108.175.220 180 compress connections 16 Related Commands
frame-relay map ip nocompressTo disable both Real-Time Transport Protocol (RTP) and TCP header compression on a link, use the frame-relaymapipnocompresscommand in interface configuration mode. Command History
Usage GuidelinesThis command does not have a "no" form. That is, a command called noframe-relaymapipnocompressdoes not exist. ExamplesThe following example disables RTP and TCP header compression on DLCI 180: interface serial 1 encapsulation frame-relay frame-relay map ip 10.108.175.220 180 nocompress Related Commands
frame-relay map ip rtp header-compressionTo enable Real-Time Transport Protocol (RTP) header compression per data-link connection identifier (DLCI), use the frame-relaymapiprtpheader-compressioncommand in interface configuration mode. To disable RTP header compression per DLCI and delete the DLCI, use the no form of this command.
frame-relay
map
ip
ip-address
dlci
[broadcast]
rtp
header-compression
[active | passive]
[periodic-refresh]
[connections number]
no
frame-relay
map
ip
ip-address
dlci
[broadcast]
rtp
header-compression
[active | passive]
[periodic-refresh]
[connections number]
Syntax Description
Command DefaultDisabled. By default, whatever type of header compression is configured on the interface will be inherited. If header compression is not configured on the interface, the active keyword will be used, but no header-compression keyword will appear on the showrunning-config command output. The default maximum number of header-compression connections is 256. Command History
Usage GuidelinesWhen this command is configured, the specified maps inherit RTP header compression. You can have multiple Frame Relay maps, with and without RTP header compression. If you do not specify the number of RTP header compression connections, the map will inherit the current value from the interface. ExamplesThe following example shows how to enable RTP header compression on the Serial1/2.1 subinterface and set the maximum number of RTP header compression connections at 64: Router> enable Router# configure terminal Router(config)# interface Serial1/2.1 Router(config-if)# encapsulation frame-relay Router(config-if)# ip address 10.108.175.110 255.255.255.0 Router(config-if)# frame-relay map ip 10.108.175.220 180 rtp header-compression connections 64 Router(config-if)# end The following example shows how to enable RTP header compression on the Serial1/1.0 subinterface and how to use the optional periodic-refresh keyword in the configuration: Router> enable Router# configure terminal Router(config)# interface Serial1/1.0 Router(config-if)# encapsulation frame-relay Router(config-if)# ip address 10.108.175.110 255.255.255.0 Router(config-if)# frame-relay map ip 10.108.175.220 180 rtp header-compression periodic-refresh Router(config-if)# end Related Commands
group (service group)To add a member to a service group, use the groupcommand in Ethernet service configuration mode. To remove a member from a service group, use the no form of this command. Usage GuidelinesUse the group (service group) command to add members (for example, service instances) to service groups and to remove members from service groups. Cisco 7600 Series Router and Service Instances From Multiple Interfaces Are Not Allowed The Cisco 7600 series router does not allow service instances to join the same group from multiple interfaces. On the Cisco 7600 series router, group members must come from the same interface, as shown the sample configuration below:
interface GigabitEthernet 2/0/0
service instance 1 ethernet
group 32
service-policy output policy3
service instance 2 ethernet
group 32
service instance 3 ethernet
group 37
interface GigabitEthernet 2/0/1
service instance 1 ethernet
group 32 |<--Disallowed because this group has members in g2/0/0 already| |
hw-module slot (ESP Scheduling)To handle the oversubscription of packets at the ingress side of an Embedded Service Processor, provide either a minimum bandwidth or a specific weight to a SIP based on which the excess bandwidth is divided among the low priority packets of the SIPs. Execute the hw-moduleslot command in global configuration mode. Use the no form of this command to either remove the minimum bandwidth assigned to a SIP or remove the excess weight configured for a SIP.
hw-module
slot
slot-number
qos input link {A | B}
[bandwidth bandwidth_value]
[weight weightage_value]
Syntax Description
Command History
Usage GuidelinesOversubscription occurs at the SIP and ESP levels. To handle the oversubscription problem at the ESP level, use the hw-module slot command. A minimum bandwidth is assigned to a SIP that is connected through the ESI links, and a weight is assigned to the SIPs to divide the available excess bandwidth among the low priority packets. To configure the minimum bandwidth service for a SIP, execute the hw-moduleslotslot-numberqosinputlinklink-indexbandwidthvalue_in_kbpscommand. To assign a specific weight value to an ESI link connecting a SIP and an ESP, execute the hw-moduleslotslot-numberqosinputlinklink-indexweightweight-valuecommand. ExamplesThe following example shows how to assign a minimum bandwidth to ESI Link A: Router# config Router(config)# hw-module slot 1 qos input link A bandwidth 512 The following example shows how to assign an excess weight of 150 to a SIP at slot 1 and connected through ESI Link A: Router# config Router(config)# hw-module slot 1 qos input link A weight 150 The following example shows how to display the available link options for ESP40 and SIP40 cards when there are two links configured: Router(config)# hw-module slot 0 qos input link ? A ESI Link A (Bay 0,2) B ESI Link B (Bay 1,3) The following example shows how to display the available link options for ESP40 and SIP10 cards when there is one link configured: Router(config)# hw-module slot 1 qos input link ? A ESI Link A (All Bays) hw-module subslot (Channelized SPA Scheduling)To handle the oversubscription of packets at the ingress side of a SIP for a channelized SPA, assign the excess weight to the entire channelized SPA using the hw-modulesubslot command in global configuration mode. Use the no form of this command to remove the excess weight configured for the SIP.
hw-module
subslot
slot/subslot
qos
[weight weightage_value]
no
hw-module
subslot
slot/subslot
qos
[weight weightage_value]
Syntax Description
Usage GuidelinesA SIP contains different types of SPAs in each of its slots. To assign the excess weight to a channelized SPA for low priority packets, the hw-modulesubslotslot-subslotqosweightweight-valuecommand has been introduced.
© 2012 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|