![]() |
Cisco IOS Quality of Service Solutions Command Reference
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
identity policy (policy-map) through ip rsvp pq-profile
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contents
identity policy policy-map through ip rsvp pq-profile identity policy (policy-map)To create an identity policy, use the identitypolicy command in policy-map class configuration mode. To remove the policy, use the no form of this command. Usage GuidelinesThis command refers to the global identity policy that is configured on the device that contains the access policies that are to be applied. Only a single identity policy can be configured under the policy class configuration submode. If the identity policy is not defined on the device, an error is generated during the application of the policy. ExamplesThe following example shows how create an identity policy called healthy_identity: Router(config)# policy-map type control tag healthy_pmap Router(config-pmap)# class healthy_class Router(config-pmap-class)# identity policy healthy_identity Router(config-pmap-class)# end The following example shows how to add an access group called healthy_acl to the identity policy named healthy_identity: Router(config)# identity policy healthy_identity Router(config-identity-policy)# access-group healthy_acl Router(config-identity-policy)# end ingress-class-mapT o classify the IPv4, IPv6, and MPLS packets for POS, channelized, and clear-channel SPAs, use the ingress-class-mapcommandin global configuration mode to first define the ingress classification template. The ingress classification template is identified by the index-id that will be applied to an interface later. Use the no form of this command to remove the template. Usage GuidelinesTo classify high priority packets such as IPv4, IPv6, or MPLS in a SIP or SPA, the classification template is defined using the ingress-classmapclass-mapindexcommand. The classification template-specific details are defined in the template, and the template is attached to an interface using the plimqosinputclass-mapcommand. The classification template can be deleted using the no command form. Each SIP supports 62 ingress classification templates. The total number of ingress classification templates that can be applied on Cisco ASR 1000 Series Router = number of carrier cards multiplied-by 62.
ip header-compression disable-feedbackTo disable the context-status feedback messages from the interface or link, use the ipheader-compressiondisable-feedback command in interface configuration mode. To enable context-status feedback messages from the interface or link, use the no form of this command. Usage GuidelinesThe ipheader-compressiondisable-feedback command is designed for use with satellite links where the path for the upward link is different from the path for the downward link. When the paths are different, context-status messages are not useful. The ipheader-compressiondisable-feedback command can be used with either Real-Time Transport Protocol (RTP) or TCP header compression. ExamplesThe following example disables the context-status messages on serial interface 2/0: Router> enable Router# configure terminal Router(config)# interface Serial2/0 Router(config-if)# ip header-compression disable-feedback Router(config-if)# end Related Commands
ip header-compression max-headerTo specify the maximum amount of time to wait before the compressed IP header is refreshed, use the ipheader-compressionmax-header command in interface configuration mode. To return the amount of time to wait before the compressed IP header is refreshed to the default value, use the no form of this command.
ip
header-compression
max-header
max-header-size
no
ip
header-compression
max-header
max-header-size
Usage GuidelinesThe max-header-size argument of the ipheader-compressionmax-header command can be used to restrict the size of the header to be compressed. ExamplesThe following example shows how to use the ipheader-compressionmax-headercommand to specify the maximum IP header size of the packet to 100 bytes: Router> enable Router# configure terminal Router(config)# interface Serial2/0 Router(config-if)# ip header-compression max-header 100 Router(config-if)# end Related Commands
ip header-compression max-periodTo specify the maximum number of compressed packets between full headers, use the ipheader-compressionmax-period command in interface configuration mode. To return the number of compressed packets to the default value, use the no form of this command.
ip
header-compression
max-period
number-of-packets
no
ip
header-compression
max-period
number-of-packets
Usage GuidelinesWith the ipheader-compressionmax-periodcommand, full IP packet headers are sent in an exponentially increasing period after there has been a change in the context status. This exponential increase in the time period avoids the necessity of exchanging messages between the mechanism compressing the header and the mechanism decompressing the header. By default, the ipheader-compressionmax-periodcommand operates on User Datagram Protocol (UDP) traffic only. However, if the periodicrefresh keyword of either the frame-relayiprtpheader-compressioncommand or the frame-relaymapiprtpheader-compression command is configured, the ipheader-compressionmax-period command operates on both UDP and Real-Time Transport Protocol (RTP) traffic. ExamplesIn the following example, the ipheader-compressionmax-periodcommand is configured to specify the number of packets between full header packets. In this configuration, the packet number specified is 160. Router> enable Router# configure terminal Router(config)# interface Serial2/0 Router(config-if)# ip header-compression max-period 160 Router(config-if)# end Related Commands
ip header-compression max-timeTo specify the maximum amount of time to wait before the compressed IP header is refreshed, use the ipheader-compressionmax-time command in interface configuration mode. To return to the default value, use the no form of this command. Usage GuidelinesThe ipheader-compressionmax-time command is designed to avoid losing too many packets if the context status of the receiver has been lost. If a packet is to be sent and the maximum amount of time has elapsed since the last time the IP header was refreshed, a full header is sent. By default, the ipheader-compressionmax-timecommand operates on User Datagram Protocol (UDP) traffic only. However, if the periodicrefresh keyword of either the frame-relayiprtpheader-compressioncommand or the frame-relaymapiprtpheader-compression command is configured, the ipheader-compressionmax-timecommand operates on UDP and Real-Time Transport Protocol (RTP) traffic. ExamplesIn the following example, the ipheader-compressionmax-timecommand is configured to specify the maximum amount of time to wait before refreshing the compressed IP header. In this configuration the amount of time to wait is 30 seconds. Router> enable Router# configure terminal Router(config)# interface Serial2/0 Router(config-if)# ip header-compression max-time 30 Router(config-if)# end Related Commands
ip header-compression recoverable-lossTo enable Enhanced Compressed Real-Time Transport Protocol (ECRTP) on an interface, use the ipheader-compressionrecoverable-loss command in interface configuration mode. To disable ECRTP on an interface, use the no form of this command.
ip
header-compression
recoverable-loss
{dynamic | packet-drops}
no
ip
header-compression
recoverable-loss
Usage GuidelinesEnhanced CRTP reduces corruption by changing the way the compressor updates the context at the decompressor. The compressor sends changes multiple times to keep the compressor and decompressor synchronized. This method is characterized by the number of packet-drops that represent the quality of the link between the hosts. By repeating the updates, the probability of context corruption due to packet loss is minimized. The value for the packet-drops argument is maintained independently for each context and is not required to be the same for all contexts. ExamplesThe following example shows how to configure a serial interface with Point-to-Point Protocol (PPP) encapsulation and to enable ECRTP with dynamic loss recovery: Router(config)# interface serial 2/0 Router(config-if)# encapsulation ppp Router(config-if)# ip rtp header-compression ietf-format Router(config-if)# ip header-compression recoverable-loss dynamic Router(config-if)# end ip header-compression old-iphc-compTo revert the IP Header Compression (IPHC) format of compression to the non-RFC-compliant format, use the ipheader-compressionold-iphc-compcommand in interface configuration mode. To disable the IPHC format of compression, use the no form of this command. Usage GuidelinesThe ipheader-compressionold-iphc-comp command must be configured only when the IPHC format of compression or service-policy-based compression is configured. ip header-compression old-iphc-decompTo revert the IP Header Compression (IPHC) format of decompression to the non-RFC-compliant format, use the ipheader-compressionold-iphc-decompcommand in interface configuration mode. To retain the normal form of the IPHC format decompression, use the no form of this command. Usage GuidelinesThe ipheader-compressionold-iphc-decomp command must be configured only when the IPHC format of compression or service-policy-based compression is configured. ip nbar classification tunneled-trafficTo enable application classification of IPv6 traffic that is carried over IPv4 tunnels (IPv6 in IPv4 and teredo) in Network Based Application Recognition, use the ip nbar classification tunneled-traffic command in global configuration mode. To disable application classification, use the no form of this command.
ip
nbar classification tunneled-traffic{ipv6inip | teredo}
no ip
nbar classification tunneled-traffic{ipv6inip | teredo}
Command DefaultApplication classification for IPv6 traffic that is tunneled over IPv6 in IPv4 or teredo tunnels is not enabled. Command Modes
Usage GuidelinesThe ipv6inip keyword enables application classification of IPv6 traffic that is carried over IPv4 tunnels over protocol 41. Protocol 41 includes the tunnel types such as ISATAP, 6to4, and 6rd. The teredo keyword enables application classification of IPv6 traffic that is carried over teredo tunnel. The teredo tunnel is identified by two common default ports, port 3544 and port 3545 over UDP, which are on IPv4 tunnel endpoints. ip nbar customTo extend the capability of network-based application recognition (NBAR) Protocol Discovery to classify and monitor additional static port applications or to allow NBAR to classify nonsupported static port traffic, use theipnbarcustom command in global configuration mode. To disable NBAR from classifying and monitoring additional static port application or classifying nonsupported static port traffic, use the noform of this command.
ip
nbar
custom
name
[offset [format value]]
[variable field-name field-length]
[source | destination]
[tcp | udp]
[range start end | port-number]
no
ip
nbar
custom
name
[offset [format value]]
[variable field-name field-length]
[source | destination]
[tcp | udp]
[range start end | port-number]
Syntax DescriptionCommand DefaultIf you do not specify a source or a destination, then traffic flowing in both directions is inspected if the custom protocol is enabled in NBAR. Usage GuidelinesThe first three characters of a custom protocol must be unique from any predefined protocol. Otherwise, you receive an ambiguous command error message. You can create more than 30 custom protocols on a router. NBAR can support up to 128 protocols total. If you enter the variable keyword while you configure a custom protocol, traffic statistics for the variable appear in some NBAR class map show outputs. Up to 24 variable values per custom protocol can be expressed in class maps. For instance, in the following configuration, 4 variables are used and 20 more "scid" values could be used. Router(config)# ip nbar custom ftdd 23 variable scid 1 tcp range 5001 5005 Router(config)# class-map match-any active-craft Router(config-cmap)# match protocol ftdd scid 0x15 Router(config-cmap)# match protocol ftdd scid 0x21 Router(config)# class-map match-any passive-craft Router(config-cmap)# match protocol ftdd scid 0x11 Router(config-cmap)# match protocol ftdd scid 0x22 ExamplesThe following example shows how to configure the custom protocol app_sales1 to identify TCP packets that have a source port of 4567 and that contain the term SALES in the fifth byte of the payload:
Router(config)#
ip nbar custom app_sales1 5 ascii SALES source tcp 4567
The following example shows how to set the custom protocol virus_home to identify UDP packets that have a destination port of 3000 and contain "0x56" in the seventh byte of the payload:
Router(config)#
ip nbar custom virus_home 7 hex 0x56 destination udp 3000
The following example shows how set the custom protocol media_new to identify TCP packets that have a destination or source port of 4500 and have a value of 90 in the sixth byte of the payload:
Router(config)#
ip nbar custom media_new 6 decimal 90 tcp 4500
The following example shows how to set the custom protocol msn1 to look for TCP packets that have a destination or source port of 6700:
Router(config)#
ip nbar custom msn1 tcp 6700
The following example shows how to set the custom protocol mail_x to look for UDP packets that have a destination port of 8202:
Router(config)#
ip nbar custom mail_x destination udp 8202
The following example shows how to configure the custom protocol mail_y to look for UDP packets that have destination ports between 3000 and 4000, inclusive:
Router(config)#
ip nbar custom mail_y destination udp range 3000 4000
The following example shows how to create the custom protocol ftdd by using a variable. A class map matching this custom protocol based on the variable is also created. In this example, class map matchscidinftdd matches all traffic that has the value 804 at byte 23 entering or leaving TCP ports 5001 to 5005. The variable scid is 2 bytes in length: Router(config)# ip nbar custom ftdd 23 variable scid 2 tcp range 5001 5005 Router(config)# class-map matchscidinftdd Router(config-cmap)# match protocol ftdd scid 804 The same example above can also be done using hexadecimal values in the class map as follows: Router(config)# ip nbar custom ftdd 23 variable scid 2 tcp range 5001 5005 Router(config)# class-map matchscidinftdd Router(config-cmap)# match protocol ftdd scid 0x324 The following example shows how the variable keyword is used to create a custom protocol, and class maps are configured to classify different values within the variable field into different traffic classes. Specifically, in the example below, variable scid values 0x15, 0x21, and 0x27 are classified into class map active-craft while scid values 0x11, 0x22, and 0x25 are classified into class map passive-craft: Router(config)# ip nbar custom ftdd 23 variable scid 1 tcp range 5001 5005 Router(config)# class-map match-any active-craft Router(config-cmap)# match protocol ftdd scid 0x15 Router(config-cmap)# match protocol ftdd scid 0x21 Router(config-cmap)# match protocol ftdd scid 0x27 Router(config)# class-map match-any passive-craft Router(config-cmap)# match protocol ftdd scid 0x11 Router(config-cmap)# match protocol ftdd scid 0x22 Router(config-cmap)# match protocol ftdd scid 0x25 ip nbar pdlmTo extend or enhance the list of protocols recognized by network-based application recognition (NBAR) through a Cisco-provided Packet Description Language Module (PDLM), use the ipnbarpdlmcommandinglobalconfiguration mode. To unload a PDLM previously loaded, use the no form of this command. Command History
Usage GuidelinesThe ipnbarpdlm command is used to extend the list of protocols recognized by a given version of NBAR or to enhance an existing protocol recognition capability. NBAR can be given an external PDLM at run time. In most cases, the PDLM enables NBAR to recognize new protocols without requiring a new Cisco IOS image or a router reload. Only Cisco can provide you with a new PDLM. A list of the available PDLMs can be viewed online at Cisco.com. ip nbar port-mapTo configure network-based application recognition (NBAR) to search for a protocol or protocol name using a port number other than the well-known port, use the ipnbarport-mapcommand in global configuration mode. To look for the protocol name using only the well-known port number, use the no form of this command.
ip
nbar
port-map
protocol-name
[tcp | udp]
port-number
no
ip
nbar
port-map
protocol-name
[tcp | udp]
port-number
Syntax Description
Command History
Usage GuidelinesUse the ipnbarport-map command to tell NBAR to look for the protocol or protocol name , using a port number or numbers other than the well-known Internet Assigned Numbers Authority (IANA)-assigned) port number. For example, use this command to configure NBAR to look for Telnet on a port other than 23. You can specify up to 16 ports with this command. Some of the NBAR protocols look at the ports as well as follow the heuristic approach for traffic classification. If you apply different ports to a protocol using the ipnbarport-mapcommand, the heuristic nature of the protocol does not change. The advantage to adding a port number is better performance. You can remove well-known ports from a predefined port map only if you first set the predefined port map to a port not belonging to any existing port map. For example, if you want to define a custom port map X and also associate it with port 20, you get an error saying that it is not possible. However, if you associate port map A with another port first, such as port 100, and then remove its association with port 20, you can associate custom port map X with port 20.
ip nbar protocol-discoveryTo configure Network-Based Application Recognition (NBAR) to discover traffic for all protocols that are known to NBAR on a particular interface, use the ipnbarprotocol-discoverycommand in interface configuration mode or VLAN configuration mode. To disable traffic discovery, use the no form of this command. Command Modes
Command History
Usage GuidelinesUse theipnbarprotocol-discoverycommand to configure NBAR to keep traffic statistics for all protocols that are known to NBAR. Protocol discovery provides an easy way to discover application protocols passing through an interface so that QoS policies can be developed and applied. The protocol discovery feature discovers any protocol traffic supported by NBAR. Protocol discovery can be used to monitor both input and output traffic and may be applied with or without a service policy enabled. In Cisco IOS XE Release 3.3S, L3 and L4 Internet Assigned Numbers Authority (IANA) protocols are supported for IPv4 and IPv6 packets. Enter the ipv4 keyword to enable protocol discovery statistics collection for IPv4 packets, or enter the ipv6 keyword to enable protocol discovery statistics collection for IPv6 packets. Specifying either of these keywords enables the protocol discovery statistics collection for the specified IP version only. If neither keyword is specified, statistics collection is enabled for both IPv4 and IPv6. The no form of this command is not required to disable a keyword because the statistics collection is enabled for the specified keyword only. Layer 2/3 Etherchannel Support With Cisco IOS Release 12.2(18)ZYA, intended for use on the Cisco 6500 series switch that is equipped with a Supervisor 32/PISA, the ipnbarprotocol-discoverycommand is supported on both Layer 2 and Layer 3 Etherchannels. ip nbar protocol-packTo load a network based application recognition (NBAR)protocol pack, use the ip nbar protocol-pack command in global configuration mode. To remove the loaded protocol pack, use the no form of this command. Usage GuidelinesThe ip nbar protocol-pack command provides an easy way to load a protocol pack, which is a single compressed file that contains multiple Protocol Description Language (PDL) files and a manifest file. Before this command was introduced, PDLs had to be loaded separately. You can use this command to load a set of protocols, which helps NBAR to recognize additional protocols for classification on your network. Use the force keyword in the following situations:
ExamplesThe following example shows how to load a protocol pack named defProtoPack from the harddisk: Router# configure terminal Router(config)# ip nbar protocol-pack harddisk:defProtoPack The following example shows how to load a protocol pack of lower version using the force keyword: Router# configure terminal Router(config)# ip nbar protocol-pack harddisk:olddefProtoPack force ip nbar resources protocolTo set the expiration time for network-based application recognition (NBAR) flow-link tables on a protocol basis, use the ipnbarresourcesprotocol command in global configuration mode. To set the expiration time to its default value, use the no form of this command. Syntax DescriptionUsage GuidelinesYou must enter a value for the link-age argument that is a multiple of the system-link-age value that you set using the ipnbarresourcessystem command. In other words, the protocol link age is dependent upon the system link age. The system link age defaults to 30 seconds, and each protocol defaults to 120 seconds. Internally, each protocol then has a link age value of 4 seconds; that is, 120/30. If you change the system link age, the protocol link age becomes whatever the new system link age is times 4. For example, if the system link age is 30 and each protocol is set to 240, the internal protocol link age is 8; that is, 240/30. Then if you change the system link age, the protocol link age becomes whatever the new system link age is times 8. If you enter an invalid value for the link-age argument, the following error message displays: %NBAR ERROR: protocol link age entered must be an even multiple of the system link age, <system link age> The no form of this command must include the link-age value to set the link age of the specific protocol. If you do not include the link-age value, the link age timer of all protocols is set to 120 seconds. If you omit the optional protocol name, all protocols update to the specified link age value. If you enter a protocol name that does not exist, the following error message displays: %NBAR ERROR: <entered string> is not a valid protocol In addition to resetting the link age in all state nodes associated with a specified protocol, the protocol name along with its link age is saved in NVRAM for potential router system resets. ExamplesIn the following example, the link age for the kazaa2 protocol is set to 180 seconds: Router# configure terminal Router(config)# ip nbar resources protocol 180 kazaa2 In the following example, the link age for all protocols is set to 360 seconds: Router# configure terminal Router(config)# ip nbar resources protocol 360 ip nbar resources systemTo set the expiration time and memory requirements for network-based application recognition (NBAR) flow-link tables on a systemwide basis, use theipnbarresourcessystemcommand in global configuration mode. To remove the active links, use the no form of this command. Syntax Description
Usage GuidelinesBecause the ipnbarresourcessystem command affects NBAR on a systemwide basis, you should not change the parameters arbitrarily. Doing so may cause NBAR to perform inefficiently or incorrectly. The default values are effective in most instances. ip optionsTo drop or ignore IP options packets that are sent to the router, use the ip optionscommand in global configuration mode. To disable this functionality and allow all IP options packets to be sent to the router, use the no form of this command. Command History
Usage GuidelinesThe ip options command allows you to filter IP options packets, mitigating the effects of IP options on the router, and on downstream routers and hosts. Drop and ignore modes are mutually exclusive; that is, if the drop mode is configured and you configure the ignore mode, the ignore mode overrides the drop mode. Cisco 10720 Internet Router The ip options ignore command is not supported. Only drop mode (the ip options drop command) is supported. Cisco 10000 Series Router This command is only available on the PRE3. The PRE2 does not support this command. The ip options ignore command is not supported. The router supports only the ip options drop command. ip rsvp admission-control compression predictTo configure Resource Reservation Protocol (RSVP) admission control compression prediction, use the iprsvpadmission-controlcompressionpredictcommand in interface configuration mode. To disable compression prediction, use the no form of this command.
ip
rsvp
admission-control
compression
predict
[method {rtp | udp} [bytes-saved N]]
no
ip
rsvp
admission-control
compression
predict
[method {rtp | udp} [bytes-saved N]]
Syntax Description
Command DefaultThis command is enabled by default. The default value of bytes saved for RTP is 36; for UDP, 20. Usage GuidelinesUse the iprsvpadmission-controlcompressionpredictcommand to disable or enable the RSVP prediction of compression for a specified method or all methods if neither rtp norudpis selected. You can adjust the default compressibility parameter that RSVP uses to compute the compression factor for each flow. If you use the iprsvpadmission-controlcompressionpredictcommand to change the compression method or the number of bytes saved per packet, these values affect only new flows, not existing ones. There are two approaches to compression--conservative and aggressive. When you predict compression conservatively, you assume savings of fewer bytes per packet, but receive a higher likelihood of guaranteed quality of service (QoS). You are allowed more bandwidth per call, but each link accommodates fewer calls. When you predict compression aggressively, you assume savings of more bytes per packet, but receive a lower likelihood of guaranteed QoS. You are allowed less bandwidth per call, but each link accommodates more calls. ExamplesThe following example shows how to set the compressibility parameter for flows using the RTP method to 30 bytes saved per packet:
Router(config-if)# ip rsvp admission-control compression predict method rtp bytes-saved 30
The following example shows how to set the compressibility parameter for flows using the UDP method to 20 bytes saved per packet:
Router(config-if)# ip rsvp admission-control compression predict method udp bytes-saved 20
The following example shows how to disable RTP header compression prediction:
Router(config-if)# no ip rsvp admission-control compression predict method rtp
The following shows how to disable UDP header compression prediction:
Router(config-if)# no ip rsvp admission-control compression predict method udp
ip rsvp aggregation ipTo enable Resource Reservation Protocol (RSVP) aggregation on a router, use the iprsvpaggregationip command in global configuration mode. To disable RSVP aggregation, use the no form of this command. Usage GuidelinesWhen you enable aggregation on a router, the router can act as an aggregator, a deaggregator, or an interior router. To perform aggregator and deaggregator functions, the RSVP process must see messages with the RSVP-E2E-IGNORE protocol type (134) on a router; otherwise, the messages are forwarded as data by the router's data plane. Theiprsvpaggregationip command enables RSVP to identify messages with the RSVP-E2E-IGNORE protocol. You then configure additional commands to specify the aggregation and deaggregation behavior of end-to-end (E2E) reservations. The iprsvpaggregationip command registers a router to receive RSVP-E2E-IGNORE messages. It is not necessary to issue this command on interior routers because they are only processing RSVP aggregate reservations. If you do so, you may decrease performance because the interior router will then unnecessarily process all the RSVP-E2E-IGNORE messages.
ip rsvp aggregation ip mapTo configure Resource Reservation Protocol (RSVP) aggregation rules that tell a router how to map end-to-end (E2E) reservations onto aggregate reservations, use the iprsvpaggregationipmap command in global configuration mode. To disable RSVP aggregation mapping rules, use the no form of this command.
ip
rsvp
aggregation
ip
map
{access-list acl-number | any}
dscp
value
no
ip
rsvp
aggregation
ip
map
{access-list acl-number | any}
Syntax Description
Usage GuidelinesUse the iprsvpaggregationipmap command to configure a single global rule for mapping E2E reservations onto aggregates. Before using the iprsvpaggregationipmap command, you should configure an ACL to define a group of RSVP endpoints whose reservations are to be aggregated onto a single DSCP. The ACL can be a standard or extended ACL and matches as follows: Standard ACLs
Extended ACLs The ACLs used within the iprsvpaggregationipmap command match the RSVP message objects as follows for an extended ACL:
ExamplesIn the following example, access list 1 is defined for all RSVP messages whose RSVP PATH message session object destination address is in the 10.1.0.0 subnet so that the deaggregator maps those reservations onto an aggregate reservation for the DSCP associated with the AF41 per hop behavior: Router(config)# access-list 1 permit host 10.1.0.0 0.0.255.255 Router(config)# ip rsvp aggregation ip map access-list 1 dscp af41 In the following example, all reservations between an aggregator and a deaggregator are to be aggregated onto a single DSCP:
Router(config)# ip rsvp aggregation ip map any dscp af41
ip rsvp aggregation ip reservation dscpTo configure Resource Reservation Protocol (RSVP) aggregate reservation attributes (also called token bucket parameters) on a per-differentiated services code point (DSCP) basis, use the iprsvpaggregationipreservationdscpcommand in global configuration mode. To remove aggregation reservation attributes, use the no form of this command.
ip
rsvp
aggregation
ip
reservation
dscp
value
[aggregator agg-ip-address]
traffic-params
static
rate
data-rate
[burst burst-size]
[peak peak-rate]
no
ip
rsvp
aggregation
ip
reservation
dscp
value
[aggregator agg-ip-address]
traffic-params
static
rate
data-rate
[burst burst-size]
[peak peak-rate]
Syntax Description
Usage GuidelinesYou can use the iprsvpaggregationipreservationdscpcommand to configure the token bucket parameters statically. The data-rate, burst-size, and peak-ratearguments are required on deggregators to help construct the flowspec object for aggregate RESV messages. Existing RSVP procedures specify that the size of a reservation established for a flow is set to the minimum of the PATH sender_tspec and the RESV flowspec. So if the aggregate PATH sender_tspec data-rate, burst-size, or peak-ratearguments are greater than the data-rate, burst-size, or peak-ratearguments configured on the deaggregator, the aggregate RESV flowspec object will contain the minimum of data-rate, burst-size, and peak-rate from the PATH message and the configured values. When the aggregate reservation size is changed to a value less strict than the total bandwidth of the end-to-end (E2E) reservations mapped to the aggregate, preemption may occur. When the aggregate bandwidth is lowered, if preemption is required and has not been enabled by issuing the iprsvppolicypreempt command, then the change is rejected and the following messages may appear: RSVP:AGG: Command not accepted. RSVP-AGG: This change requires some E2E reservations to be removed and RSVP:AGG: preemption is not enabled. Issue 'ip rsvp policy preempt' RSVP:AGG: in order to make this change. ExamplesThe following example shows how to configure an aggregate RESV message for an aggregate reservation established with aggregator 10.10.10.10, for DSCP = AF11, including a flowspec that requests an average rate and peak rate of 10 kbps and a burst size of 8 KB:
Router(config)# ip rsvp aggregation ip reservation dscp af11 aggregator 10.10.10.10 traffic-params static rate 10 burst 8 peak 10
ip rsvp aggregation ip role interiorTo configure Resource Reservation Protocol (RSVP) aggregation on aggregator and deaggregator interior routers facing an aggregation region, use the iprsvpaggregationiproleinterior command in interface configuration mode. To disable RSVP aggregation on aggregator and deaggregator routers, use the no form of this command. Usage GuidelinesThis command does not have any effect on a router until end-to-end (E2E) messages arrive on an interface. If a router is an interior node for all E2E flows, you do not have to configure any aggregation commands. RSVP will not get notifications on any of the RSVP-E2E-IGNORE messages that are forwarded as IP datagrams; however, because the router is loaded with an image that supports aggregation, the router will process aggregate signaling messages correctly. If you enable aggregation on an interior node, all its interfaces must be configured as interior. Otherwise, all the interfaces have the exterior role, and any E2E Path (E2E-IGNORE) messages arriving at the router are discarded. In summary, there are two options for an interior router:
If the interior role of an interface is unconfigured, all aggregate and E2E reservations installed on that interface are brought down. Additional Required Configuration Commands If you enable aggregation on any RSVP interface on an aggregator or deaggregator as well as interfaces of interior routers, you must also configure the following commands:
The reason for configuring these commands is because Cisco IOS Release 12.2(33)SRC and Cisco IOS XE Release 2.6 support control plane aggregation only. The RSVP data packet classifier does not support aggregation. Data plane aggregation must be achieved by using the RSVP Scalability Enhancements feature. ExamplesThe following example shows how to configure the Ethernet 0/0 interface on an aggregator or deaggregator interior router: Router(config)# interface Ethernet0/0 Router(config-if)# ip rsvp aggregation ip role interior Related Commands
ip rsvp atm-peak-rate-limitTo set a limit on the peak cell rate (PCR) of reservations for all newly created Resource Reservation Protocol (RSVP) switched virtual circuits (SVCs) established on the current interface or any of its subinterfaces, use the iprsvpatm-peak-rate-limit command in interface configuration mode. To remove the current peak rate limit, in which case the reservation peak rate is limited by the line rate, use the no form of this command. Command History
Usage GuidelinesEach RSVP reservation corresponds to an ATM SVC with a certain peak cell rate (PCR), sustainable cell rate (SCR), and maximum burst size. The PCR, also referred to as the peak rate, can be configured by the user or allowed to default to the line rate. RSVP controlled-load reservations do not define any peak rate for the data. By convention, the allowable peak rate in such reservations is taken to be infinity, which is usually represented by a very large number. Under these circumstances, when a controlled-load reservation is converted to an ATM SVC, the PCR for the SVC becomes correspondingly large and may be out of range for the switch. You can use the iprsvpatm-peak-rate-limit command to limit the peak rate. The following con ditions determine the peak rate limit on the RSVP SVC:
The peak rate limit is local to the router; it does not affect the normal messaging of RSVP. Only the SVC setup is affected. Large peak rates are sent to the next host without modification. For RSVP SVCs established on subinterfaces, the peak rate limit applied to the subinterface takes effect on all SVCs created on that subinterface. If a peak rate limit is applied to the main interface, the rate limit has no effect on SVCs created on a subinterface of the main interface even if the limit value on the main interface is lower than the limit applied to the subinterface. For a given interface or subinterface, a peak rate limit applied to that interface affects only new SVCs created on the interface, not existing SVCs.
Use the showiprsvpatm-peak-rate-limit command to determine the peak rate limit set for an interface or subinterface, if one is configured. ip rsvp authenticationTo activate Resource Reservation Protocol (RSVP) cryptographic authentication, use the iprsvpauthenticationcommand in interface configuration mode. To deactivate authentication, use the no form of this command. Usage GuidelinesUse the iprsvpauthentication command to deactivate and then reactivate RSVP authentication without reentering the other RSVP authentication configuration commands. You should not enable authentication unless you have previously configured a key. If you issue this command before the iprsvpauthenticationkey command, you get a warning message indicating that RSVP discards all messages until you specify a key. The noiprsvpauthenticationcommand disables RSVP cryptographic authentication. However, the command does not automatically remove any other authentication parameters that you have configured. You must issue a specific noiprsvpauthenticationcommand; for example, noiprsvpauthenticationkey,noiprsvpauthenticationtype, or noiprsvpauthenticationwindow-size, if you want to remove them from the configuration. Theiprsvpauthenticationcommand is similar to theiprsvpneighbor command. However, the iprsvpauthentication command provides better authentication and performs system logging. ExamplesThe following command activates authentication on an interface:
Router(config-if)# ip rsvp authentication
The following command deactivates authentication on an interface:
Router(config-if)# no ip rsvp authentication
Related Commands
ip rsvp authentication challengeTo make Resource Reservation Protocol (RSVP) perform a challenge-response handshake with any new RSVP neighbors on a network, use the iprsvpauthenticationchallengecommand in interface configuration mode. To disable the challenge-response handshake, use the no form of this command. Usage GuidelinesThe iprsvpauthenticationchallenge command requires RSVP to perform a challenge-response handshake with any new RSVP neighbors that are discovered on a network. Such a handshake allows the router to thwart RSVP message replay attacks while booting, especially if there is a long period of inactivity from trusted RSVP neighbors following the reboot. If messages from trusted RSVP neighbors arrive very quickly after the router reboots, then challenges may not be required because the router will have reestablished its security associations with the trusted nodes before the untrusted nodes can attempt replay attacks. If you enable RSVP authentication globally on an interface over which a Multiprotocol Label Switching (MPLS) Traffic Engineering (TE) label switched path (LSP) travels and the router on which authentication is enabled experiences a stateful switchover (SSO), the following occurs:
If you enable RSVP authentication challenges, you should consider enabling RSVP refresh reduction by using the iprsvpsignallingrefreshreduction command. While a challenge handshake is in progress, the receiving router that is initiating the handshake discards all RSVP messages from the node that is being challenged until the handshake-initiating router receives a valid challenge response.
Activating refresh reduction enables the challenged node to resend dropped messages more quickly once the handshake has completed. This causes RSVP to reestablish reservation state faster when the router reboots. Enable authentication challenges wherever possible to reduce the router's vulnerability to replay attacks. ip rsvp authentication keyTo specify the key (string) for the Resource Reservation Protocol (RSVP) authentication algorithm, use the iprsvpauthenticationkeycommand in interface configuration mode. To disable the key, use the no form of this command. Usage GuidelinesUse the iprsvpauthenticationkey command to select the key for the authentication algorithm. This key is a passphrase of 8 to 40 characters. It can include spaces; quotes are not required if spaces are used. The key can consist of more than one word. We recommend that you make the passphrase as long as possible. This key must be the same for all RSVP neighbors on this interface. As with all passwords, you should choose them carefully so that attackers cannot easily guess them. Here are some guidelines:
By default, RSVP authentication keys are stored in clear text in the router configuration file, but they can optionally be stored as encrypted text in the configuration file. To enable key encryption, use the global configuration keyconfig-key1stringcommand. After you enter this command, the passphrase parameter of each iprsvpauthenticationkey command is encrypted with the Data Encryption Standard (DES) algorithm when you save the configuration file. If you later issue a nokeyconfig-key 1 stringcommand, the RSVP authentication key is stored in clear text again when you save the configuration. The stringargumentis not stored in the configuration file; it is stored only in the router's private NVRAM and will not appear in the output of a showrunning-configor showconfig command. Therefore, if you copy the configuration file to another router, any encrypted RSVP keys in that file will not be successfully decrypted by RSVP when the router boots and RSVP authentication will not operate correctly. To recover from this, follow these steps on the new router:
ExamplesThe following command shows how to set the passphrase to 11223344 in clear text:
Router(config-if)# ip rsvp authentication key 11223344
The following command shows how to encrypt the authentication key: Router# configure terminal Router(config)# key config-key 1 11223344 Router(config)# end ip rsvp authentication key-chainTo specify a list of keys for the Resource Reservation Protocol (RSVP) neighbors, use the iprsvpauthenticationkey-chaincommand in global configuration mode. To disable the key chain, use the no form of this command. To set the key chain to its default, use the noform of this command. Command History
Usage GuidelinesUse the iprsvpauthenticationkey-chain command to select the key chain.
ip rsvp authentication lifetimeTo control how long Resource Reservation Protocol (RSVP) maintains security associations with other trusted RSVP neighbors, use the iprsvpauthenticationlifetimecommand in interface configuration mode. To disable the lifetime setting, use the no form of this command. Usage GuidelinesUse theiprsvpauthenticationlifetime command to indicate when to end security associations with RSVP trusted neighbors. If an association's lifetime expires, but at least one valid, RSVP authenticated message was received in that time period, RSVP resets the security association's lifetime to this configured value. When a neighbor stops sending RSVP signaling messages (that is, the last reservation has been torn down), the memory used for the security association is freed as well as when the association's lifetime period ends. The association can be re-created if that RSVP neighbor resumes its signaling. Setting the lifetime to shorter periods allows memory to be recovered faster when the router is handling a lot of short-lived reservations. Setting the lifetime to longer periods reduces the workload on the router when establishing new authenticated reservations. Use the cleariprsvpauthentication command to free security associations before their lifetimes expire. ip rsvp authentication neighborTo activate Resource Reservation Protocol (RSVP) cryptographic authentication for a neighbor, use the iprsvpauthenticationneighborcommand in global configuration mode. To deactivate authentication for a neighbor, use the no form of this command.
ip
rsvp
authentication
neighbor
{access-list acl-name-or-number | address address}
[challenge]
[key-chain name]
[type {md5 | sha-1}]
[window-size number-of-messages]
no
ip
rsvp
authentication
neighbor
{access-list acl-name-or-number | address address}
[challenge]
[key-chain name]
[type {md5 | sha-1}]
[window-size number-of-messages]
Syntax Description
Command History
Usage GuidelinesIf you omit the optional keywords, the iprsvpauthenticationneighbor command enables RSVP cryptographic authentication for a neighbor. Using the optional keywords inherits the global defaults. In order to enable per-neighbor authentication, you must issue the iprsvpauthenticationneighborcommand(or the noiprsvpauthenticationneighbor command to disable authentication ). If you issue the iprsvpauthentication command without neighbor, then this command enables authentication for all neighbors and interfaces, regardless of whether there are any per-neighbor or per-interface keys defined. If you issue the iprsvpauthenticationneighborcommand , then authentication is enabled only for that neighbor. Access Control Lists A single ACL can describe all the physical and logical interfaces that one neighbor can use to receive RSVP messages from a router; this can be useful when multiple routes exist between two neighbors. One ACL could also specify a number of different neighbors who, along with your router, will share the same key(s); however, this is generally not considered to be good network security practice. If numbered, the ACL must be in the 1 to 99 range or the 1300 to 1999 range, giving a total of 798 numbered ACLs that can be used to configure neighbor keys (assuming some of them are not being used for other purposes). There is no enforced limit on the number of standard named IP ACLs. The IP addresses used in the ACL should contain at least the neighbor's physical interface addresses; router ID addresses can be added if necessary, especially when using Multi-Protocol Label Switching (MPLS) Traffic Engineering (TE). The existingipaccess-liststandard command must be used for creating named or numbered standard IP ACLs for RSVP neighbors because standard ACLs deal with just source or destination addresses while extended ACLs deal with five tuples and are more complex to configure. The RSVP CLI returns an error message if any type of ACL other than standard is specified:
Router(config)# ip rsvp authentication neighbor access-list 10 key-chain wednesday
% Invalid access list name.
RSVP error: unable to find/create ACL
Named standard IP ACLs are also recommended because you can include the neighbor router's hostname as part of the ACL name, thereby making it easy to identify the per-neighbor ACLs in your router configuration. The RSVP CLI displays an error message if a valid named or numbered ACL is specified, but a nonexistent or invalid key chain has not been associated with it, since the lack of a key chain could cause RSVP messages to or from that neighbor to be dropped:
Router(config)# ip rsvp authentication neighbor access-list myneighbor key-chain xyz
RSVP error: Invalid argument(s)
Key Chains In the key-chain parameter, the keys are used in order of ascending expiration deadlines. The only restriction on the name is that it cannot contain spaces. The key-chain parameter is optional; that is, you could omit it if you were trying to change other optional authentication parameters for the RSVP neighbor. However, when searching for a key, RSVP ignores any iprsvpauthenticationneighboraccess-listcommand that does not include a key-chain parameter that refers to a valid key chain with at least one unexpired key. Error and Warning Conditions The RSVP CLI returns an error if any of the key IDs in the chain are duplicates of key IDs in any other chains already assigned to RSVP; for example,
Router(config)# ip rsvp authentication neighbor access-list myneighbor key-chain abc
RSVP error: key chains abc and xyz contain duplicate key ID 1
RSVP error: Invalid argument(s)
The RSVP CLI returns an error if the specified key chain does not exist or does not contain at least one unexpired key. If a key chain is properly defined and RSVP later tries to send a message to that neighbor, but cannot find a valid, unexpired per-neighbor or per-interface key, RSVP generates the RSVP_AUTH_NO_KEYS_LEFT system message indicating that a key could not be obtained for that neighbor. If the key chain contains keys with finite expiration times, RSVP generates the RSVP_AUTH_ONE_KEY_EXPIRED message to indicate when each key has expired. If RSVP receives a message from a neighbor with the wrong digest type, it generates the RSVP_MSG_AUTH_TYPE_MISMATCH system message indicating that there is a digest type mismatch with that neighbor. If RSVP receives a message that is a duplicate of a message already in the window or is outside the window, RSVP logs the BAD_RSVP_MSG_RCVD_AUTH_DUP or the BAD_RSVP_MSG_RCVD_AUTH_WIN error message indicating that the message sequence number is invalid. If a challenge of a neighbor fails or times out, RSVP generates the BAD_RSVP_MSG_RCVD_AUTH_COOKIE system message or the RSVP_MSG_AUTH_CHALLENGE_TIMEOUT message, indicating that the specified neighbor failed to respond successfully to a challenge. ExamplesThe following example shows how to create an access list and a key chain for neighbors V, Y, and Z enable authentication globally using inheritance for all other authentication parameters: Router# configure terminal Router(config)# ip access-list standard neighbor_V Router(config-std-nacl)# permit 10.0.0.2 Router(config-std-nacl)# permit 10.1.16.1 Router(config-std-nacl)# exit Router(config)# ip access-list standard neighbor_Y Router(config-std-nacl)# permit 10.0.1.2 Router(config-std-nacl)# permit 10.16.0.1 Router(config-std-nacl)# exit Router(config)# ip access-list standard neighbor_Z Router(config-std-nacl)# permit 10.16.0.2 Router(config-std-nacl)# permit 10.1.0.2 Router(config-std-nacl)# permit 10.0.1.2 Router(config-std-nacl)# exit Router(config)# ip rsvp authentication neighbor access-list neighbor_V key-chain neighbor_V Router(config)# ip rsvp authentication neighbor access-list neighbor_Y key-chain neighbor_Y Router(config)# ip rsvp authentication neighbor access-list neighbor_Z key-chain neighbor_Z Router(config)# ip rsvp authentication Router(config)# end The following example shows how to create an access list and a key chain for neighbors V, Y, and Z and and enable the authentication explicitly for each neighbor: Router(config)# ip rsvp authentication neighbor access-list neighbor_V key-chain neighbor_V Router(config)# ip rsvp authentication neighbor access-list neighbor_V Router(config)# ip rsvp authentication neighbor access-list neighbor_Y key-chain neighbor_Y Router(config)# ip rsvp authentication neighbor access-list neighbor_Y Router(config)# ip rsvp authentication neighbor access-list neighbor_Z key-chain neighbor_Z Router(config)# ip rsvp authentication neighbor access-list neighbor_Z Router(config)# end ip rsvp authentication typeTo specify the type of algorithm used to generate cryptographic signatures in Resource Reservation Protocol (RSVP) messages, use the iprsvpauthenticationtypecommand in interface configuration or global configuration mode. To specify that no type of algorithm is used, use the no form of this command. To remove the type from your configuration, use the default form of this command.
Syntax for T Releases
ip
rsvp
authentication
type
{md5 | sha-1}
no
ip
rsvp
authentication
type
default
ip
rsvp
authentication
type
Syntax for 12.0S and 12.2S Releases
ip
rsvp
authentication
type
{md5 | sha-1}
default
ip
rsvp
authentication
type
Command History
Usage GuidelinesUse the iprsvpauthenticationtype command to specify the algorithm to generate cryptographic signatures in RSVP messages. If you do not specify an algorithm, md5 is used. If you use the iprsvpauthenticationtype command rather than the iprsvpauthenticationneighbortypecommand, the global default for type changes. The noiprsvpauthenticationtypecommandisnotsupportedinCiscoIOSReleases12.0Sand12.2Sbecauseeverysecurityassociationmusthaveadigesttype,andyoucannotdisableit.Usethedefaultiprsvpauthenticationtypecommandtoremovetheauthenticationtypefromaconfigurationandforcethetypetoitsdefault. Although the noiprsvpauthenticationtype command is supported in Cisco IOS T releases, the defaultiprsvpauthenticationtype command is recommended toremovetheauthenticationtypefromaconfigurationandforcethetypetoitsdefault. T Releases ExampleThe following example shows how to set the type to sha-1 for interfaceauthentication:
Router(config-if)# ip rsvp authentication type sha-1
12.0S and 12.2S Releases ExamplesThe following examples show how to set the type to sha-1 for neighborauthentication:
Router(config)# ip rsvp authentication neighbor address 10.1.1.1 type sha-1
or
Router(config)# ip rsvp authentication neighbor access-list 1 type sha-1
The following example shows how to set the global default type to sha-1forauthentication:
Router(config)# ip rsvp authentication type sha-1
ip rsvp authentication window-sizeTo specify the maximum number of Resource Reservation Protocol (RSVP) authenticated messages that can be received out of order, use the iprsvpauthenticationwindow-sizecommand in interface configuration mode. To disable the window size (or to use the default value of 1), use the no form of this command. Usage GuidelinesUse the iprsvpauthenticationwindow-sizecommand to specify the maximum number of RSVP authenticated messages that can be received out of order. All RSVP authenticated messages include a sequence number that is used to prevent replays of RSVP messages. With a default window size of one message, RSVP rejects any duplicate authenticated messages because they are assumed to be replay attacks. However, sometimes bursts of RSVP messages become reordered between RSVP neighbors. If this occurs on a regular basis, and you can verify that the node sending the burst of messages is trusted, you can use the iprsvpauthenticationwindow-size command option to allow for the burst size such that RSVP will not discard such reordered bursts. RSVP will still check for duplicate messages within these bursts. ip rsvp bandwidthTo enable Resource Reservation Protocol (RSVP) for IP on an interface, use the iprsvpbandwidthcommand in interface configuration mode. To disable RSVP completely, use the no form of this command. Syntax for Cisco IOS Release 15.1(2)T and Later Releases
ip
rsvp
bandwidth
[interface-bandwidth [percent percent-bandwidth | [single-flow-bandwidth] [sub-pool bandwidth]] [ingress [ingress-bandwidth | percent percent-bandwidth [maximum-ingress-bandwidth | percent percent-bandwidth]]]]
no
ip
rsvp
bandwidth
Syntax for Cisco IOS Releases 12.0S and 12.2S, Cisco IOS XE Release 2.6, and Later Releases
{ip rsvp bandwidth [rdm [bc0 interface-bandwidth]] [single-flow-bandwidth [bc1 bandwidth | sub-pool bandwidth]] [interface-bandwidth [single-flow-bandwidth [bc1 bandwidth | sub-pool bandwidth]]] | mam max-reservable-bw [interface-bandwidth [single-flow-bandwidth] [bc0 interface-bandwidth [bc1 bandwidth]]] | percent percent-bandwidth [single-flow-bandwidth] }
{no ip rsvp bandwidth [rdm [bc0 interface-bandwidth]] [single-flow-bandwidth [bc1 bandwidth | sub-pool bandwidth]] [interface-bandwidth [single-flow-bandwidth [bc1 bandwidth | sub-pool bandwidth]]] | mam max-reservable-bw [interface-bandwidth [single-flow-bandwidth] [bc0 bc0-pool [bc1 bandwidth]]] | percent percent-bandwidth [single-flow-bandwidth] }
Syntax Description
Command DefaultRSVP is disabled by default. If you enter the iprsvpbandwidth command without any bandwidth values (for example, iprsvpbandwidth followed by pressing the Enter key), a default bandwidth value (that is, 75 percent of the link bandwidth) is assumed for both the interface-bandwidth and single-flow-bandwidth arguments. Command History
Usage GuidelinesRSVP cannot be configured with distributed Cisco Express Forwarding. RSVP is disabled by default to allow backward compatibility with systems that do not implement RSVP. Weighted Random Early Detection (WRED) or fair queueing must be enabled first. When using this command for DS-TE in IETF Standard mode, you must use either rdm and its arguments or mam and its arguments; you cannot use both. For more details about each alternative, see Russian Dolls Bandwidth Constraints Model for Diffserv-aware MPLS Traffic Engineering by F. Le Faucheur (RFC 4127) and Maximum Allocation Bandwidth Constraints Model for Diffserv-aware MPLS Traffic Engineering by F. Le Faucheur and W. Lai (RFC 4125). To eliminate only the subpool portion of the bandwidth, use the no form of this command with the sub-pool keyword. You can use the iprsvpbandwidthingress command to enable the ingress call admission control (CAC) functionality. You can use the noiprsvpbandwidthcommand to disable the ingress CAC functionality on an interface. However, this command also disables RSVP on the interface. To disable only the ingress functionality on the interface, use the iprsvpbandwidthinterface-bandwidthsingle-flow-bandwidthcommand. ExamplesThe following example shows a T1 (1536 kb/s) link configured to permit RSVP reservation of up to 1158 kb/s, but no more than 100 kb/s for any given flow on serial interface 0. Fair queueing is configured with 15 reservable queues to support those reserved flows, should they be required. Router(config)# interface serial 0 Router(config-if)# fair-queue 64 256 15 Router(config-if)# ip rsvp bandwidth 1158 100 Related Commands
ip rsvp bandwidth ignoreTo ignore the Resource Reservation Protocol (RSVP) tunnel bandwidth configuration, use the iprsvpbandwidthignore command in interface configuration mode. Usage GuidelinesYou can use the iprsvpbandwidthignore command to ignore any RSVP bandwidth configuration on the tunnel. If you need to reconfigure the RSVP bandwidth, use theiprsvpbandwidth or iprsvpbandwidthpercent command. ExamplesThe following example shows how to ignore the RSVP bandwidth configuration on a tunnel interface: Router(config)# interface tunnel 1 Router(config-if)# ip rsvp bandwidth ignore Related Commands
ip rsvp bandwidth percentTo enable Resource Reservation Protocol (RSVP) for IP on an interface and to configure percentages of bandwidth available for RSVP and single flow bandwidth pools, use the iprsvpbandwidthpercentcommand in interface configuration mode. To disable RSVP on an interface, use the no form of this command.
ip
rsvp
bandwidth
percent
interface-bandwidth
[max-flow-bw | percent flow-bandwidth]
no
ip
rsvp
bandwidth
Syntax Description
Usage GuidelinesRSVP cannot be configured with distributed Cisco Express Forwarding. RSVP is disabled by default to allow backward compatibility with systems that do not implement RSVP. Weighted Random Early Detection (WRED) or fair queueing must be enabled first. Use the iprsvpbandwidthpercent command to set the RSVP bandwidth pool to a specified percentage of interface bandwidth. When you issue the iprsvpbandwidthpercent command, the RSVP bandwidth pool adjusts dynamically whenever the bandwidth of the interface changes. You can use the iprsvpbandwidthpercentpercent-bandwidthpercentflow-bandwidthcommandtoconfigure a percentage of interface bandwidth as RSVP bandwidth. The RSVP bandwidth is used to perform RSVP Connection Admission Control (CAC). This command allows oversubscription. That is, you can configure more than 100 percent of the interface bandwidth to be used as RSVP bandwidth and per flow bandwidth. You can choose to configure an absolute value as the amount of bandwidth used for RSVP by using the iprsvpbandwidthrsvp-bandwidth command on the member links of a bundle. If you use the iprsvpbandwidthpercentrsvp-bandwidth command, then the RSVP bandwidth changes in parallel with the change in the interface bandwidth. The RSVP bandwidth of the bundle depends only on the bundle interface's bandwidth, which in turn depends on the interface bandwidth of the member link and not on the RSVP bandwidth of member link. The iprsvpbandwidthpercent command is blocked on interfaces on which dynamic update of RSVP bandwidth is not supported. A debug message appears if an RSVP client attempts to configure the iprsvpbandwidthpercent command on an unsupported interface. In Cisco IOS Release 15.1(2)T, the iprsvpbandwidthpercent command is supported on Multilevel Precedence and Preemption (MLPP) and Multilink Frame Relay (MFR) interfaces. ExamplesThe following example shows a serial link configured to permit an RSVP reservation of up to 90 percent of interface bandwidth but no more than 1000 kb/s for any given flow on serial interface 0: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface serial 0 Router(config-if)# ip rsvp bandwidth percent 90 1000 The following example shows a multilink configured to permit 50 percent of the interface bandwidth as the RSVP bandwidth and 10 percent of the interface bandwidth as the flow bandwidth for any given multilink interface 2: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface multilink 2 Router(config-if)# ip rsvp bandwidth percent 50 percent 10 Router(config-if)# exit Related Commands
ip rsvp burst policingTo configure a burst factor within the Resource Reservation Protocol (RSVP) token bucket policer on a per-interface basis, use the iprsvpburstpolicing command in interface configuration mode. To return to the default value, enter the no form of this command. Command History
Usage GuidelinesYou configure the burst police factor per interface, not per flow. The burst factor controls how strictly or loosely the traffic of the sender is policed with respect to burst. The burst factor applies to all RSVP flows installed on a specific interface. You can configure each interface independently for burst policing. ip rsvp data-packet classification noneTo turn off (disable) Resource Reservation Protocol (RSVP) data packet classification, use the iprsvpdata-packetclassificationnonecommand in interface configuration mode. To turn on (enable) data-packet classification, use the no form of this command. Command History
Usage GuidelinesUse the iprsvpdata-packetclassificationnonecommand when you do not want RSVP to process every packet. Configuring RSVP so that not every packet is processed eliminates overhead and improves network performance and scalability. ExamplesThis section contains two examples of the iprsvpdata-packetclassificationnone command. The first example shows how to turn off (disable) data packet classification: Router# configure terminal Router(config)# interface atm 6/0 Router(config-if)# ip rsvp data-packet classification none The following example shows how to turn on (enable) data packet classification: Router# configure terminal Router(config)# interface atm 6/0 Router(config-if)# no ip rsvp data-packet classification none ip rsvp dsbm candidateTo configure an interface as a Designated Subnetwork Bandwidth Manager (DSBM) candidate, use the iprsvpdsbmcandidatecommand in interface configuration mode. To disable DSBM on an interface, which exempts the interface as a DSBM candidate, use the no form of this command. Command DefaultAn interface is not configured as a DSBM contender by default. If you use this command to enable the interface as a DSBM candidate and you do not specify a priority, the default priority of 64 is assumed. Command History
Usage GuidelinesSBM protocol entities, any one of which can manage resources on a segment, can reside in Layer 2 or Layer 3 devices. Many SBM-capable devices may be attached to a shared Layer 2 segment. When more than one SBM exists on a given segment, one of the SBMs is elected to be the DSBM. The elected DSBM is responsible for exercising admission control over requests for resource reservations on a segment, which, in the process, becomes a managed segment. A managed segment includes those interconnected parts of a shared LAN that are not separated by DSBMs. In all circumstances, only one, if any, DSBM exists for each Layer 2 segment. You can configure an interface to have a DSBM priority in the range from 64 to 128. You can exempt an interface from participation in the DSBM election on a segment but still allow the system to interact with the DSBM if a DSBM is present on the segment. In other words, you can allow a Resource Reservation Protocol (RSVP)-enabled interface on a router connected to a managed segment to be managed by the DSBM even if you do not configure that interface to participate as a candidate in the DSBM election process. To exempt an interface from DSBM candidacy, do not issue the iprsvpdsbmcandidatecommand on that interface. RSVP cannot be configured with Versatile Interface Processor (VIP)-distributed Cisco Express Forwarding (dCEF). ExamplesThe following example shows how to configure Ethernet interface 2 as a DSBM candidate with a priority of 100: interface Ethernet2 ip rsvp dsbm candidate 100 Related Commands
ip rsvp dsbm non-resv-send-limitTo configure the NonResvSendLimit object parameters, use the iprsvpdsbmnon-resv-send-limitcommand in interface configuration mode. To use the default NonResvSendLimit object parameters, use the no form of this command.
ip
rsvp
dsbm
non-resv-send-limit
{rate kbps | burst kilobytes | peak kbps | min-unit bytes | max-unit bytes}
no
ip
rsvp
dsbm
non-resv-send-limit
{rate kbps | burst kilobytes | peak kbps | min-unit bytes | max-unit bytes}
Syntax Description
Command DefaultThe default for the rate, burst, peak, min-unit, and max-unit keywords is unlimited; all traffic can be sent without a valid Resource Reservation Protocol (RSVP) reservation. Command History
Usage GuidelinesTo configure the per-flow limit on the amount of traffic that can be sent without a valid RSVP reservation, configure the rate, burst, peak, min-unit, and max-unit values for finite values greater than 0. To allow all traffic to be sent without a valid RSVP reservation, configure the rate, burst, peak, min-unit, and max-unit values for unlimited traffic. To configure the parameters for unlimited traffic, you can either omit the command, or enter the no form of the command (for example, noiprsvpdsbmnon-resv-send-limitrate). Unlimited is the default value. The absence of the NonResvSendLimit object allows any amount of traffic to be sent without a valid RSVP reservation. RSVP cannot be configured with VIP-distributed Cisco Express Forwarding (dCEF). ExamplesThe following example configures Ethernet interface 2 as a DSBM candidate with a priority of 100, an average rate of 500 kBps, a maximum burst size of 1000 KB, a peak rate of 500 kBps, and unlimited minimum and maximum packet sizes: interface Ethernet2 ip rsvp dsbm candidate 100 ip rsvp dsbm non-resv-send-limit rate 500 ip rsvp dsbm non-resv-send-limit burst 1000 ip rsvp dsbm non-resv-send-limit peak 500 ip rsvp flow-assistTo enable Resource Reservation Protocol (RSVP) to integrate with the Cisco Express Forwarding (CEF) path for flow classification, policing, and marking, use the iprsvpflow-assist command in interface configuration mode. To disable integration of RSVP with CEF for this purpose, use the iprsvpdata-packetclassificationnone command. Command DefaultThis command is on by default; RSVP integrates with CEF for classification, policing, and marking of data packets. Command History
Usage GuidelinesTo police and mark data packets of a reserved flow, RSVP must interact with the underlying packet forwarding mechanism, which is CEF. In Cisco IOS Release 12.4, the no form of the iprsvpflow-assist command is no longer supported since you can use the existing iprsvpdata-packetclassificationnone command to disable RSVP from integrating with any mechanism for handling data packets. ExamplesThe following example shows how to enable RSVP on ATM interface 2/0/0: interface atm2/0/0 ip rsvp flow-assist Related Commands
ip rsvp layer2 overheadTo control the overhead accounting performed by Resource Reservation Protocol (RSVP)/weighted fair queueing (WFQ) when a flow is admitted onto an ATM permanent virtual circuit (PVC), use theiprsvplayer2overhead command in interface configuration mode. To disable the overhead accounting, use the no form of this command. Syntax Description
Command DefaultThis command is enabled by default on ATM interfaces that are running RSVP and WFQ. You can also use this command on non-ATM interfaces. The default version of the command, defaultiprsvplayer2overhead, or by omitting the parameters (h , c , and n ) and entering the iprsvplayer2overheadcommandcauses RSVP to determine the overhead values automatically, based on the interface/PVC encapsulation. (Currently, RSVP recognizes ATM Adaptation Layer 5 (AAL5) subnetwork access protocol (SNAP) and MUX (multiplexer) encapsulations.) On non-ATM/PVC interfaces, the configured h , c , and n parameters determine the values that RSVP uses for its overhead. Usage GuidelinesWhen an IP flow traverses a link, the overhead of Layer 2 encapsulation can increase the amount of bandwidth that the flow requires to exceed the advertised (Layer 3) rate. In many cases, the additional bandwidth a flow requires because of Layer 2 overhead is negligible and can be transmitted as part of the 25 percent of the link, which is unreservable and kept for routing updates and Layer 2 overhead. This situation typically occurs when the IP flow uses large packet sizes or when the Layer 2 encapsulation allows for frames of variable size (such as in Ethernet and Frame Relay encapsulations). However, when a flow's packet sizes are small and the underlying Layer 2 encapsulation uses fixed-size frames, the Layer 2 encapsulation overhead can be significant, as is the case when Voice Over IP (VoIP) flows traverse ATM links. To avoid oversubscribing ATM PVCs, which use AAL5 SNAP or AAL5 MUX encapsulations, RSVP automatically accounts for the Layer 2 overhead when admitting a flow. For each flow, RSVP determines the total amount of bandwidth required, including Layer 2 overhead, and uses this value for admission control with the WFQ bandwidth manager.
ExamplesIn the following example, the total amount of bandwidth reserved with WFQ appears:
Router# show ip rsvp installed detail
RSVP:ATM6/0 has the following installed reservations
RSVP Reservation. Destination is 10.1.1.1, Source is 10.1.1.1,
Protocol is UDP, Destination port is 1000, Source port is 1000
Reserved bandwidth:50K bits/sec, Maximum burst:1K bytes, Peak rate:50K bits/sec
Min Policed Unit:60 bytes, Max Pkt Size:60 bytes
Resource provider for this flow:
WFQ on ATM PVC 100/101 on AT6/0: PRIORITY queue 40. Weight:0, BW 89 kbps
Conversation supports 1 reservations
Data given reserved service:0 packets (0M bytes)
Data given best-effort service:0 packets (0 bytes)
Reserved traffic classified for 9 seconds
Long-term average bitrate (bits/sec):0M reserved, 0M best-effort
In the preceding example, the flow's advertised Layer 3 rate is 50 kbps. This value is used for admission control with theiprsvpbandwidth value. The actual bandwidth required, inclusive of Layer 2 overhead, is 89 kbps. WFQ uses this value for admission control. Typically, you should not need to configure or disable the Layer 2 overhead accounting. RSVP uses the advertised Layer 3 flow rate, minimum packet size, and maximum unit size in conjunction with the Layer 2 encapsulation characteristics of the ATM PVC to compute the required bandwidth for admission control. However, you can disable or customize the Layer 2 overhead accounting (for any link type) with the iprsvplayer2overhead command. The parameters of this command are based on the following steps that show how a Layer 3 packet is fragmented and encapsulated for Layer 2 transmission.
More Configuration ExamplesIn the following example, Layer 2 overhead accounting is disabled for all reservations on the interface and its PVCs:
Router(config-if)# no ip rsvp layer2 overhead
In the following example, Layer 2 overhead accounting is configured with ATM AAL5 SNAP encapsulation:
Router(config-if)# no ip rsvp layer2 overhead 8 5 48
In the following example, Layer 2 overhead accounting is configured with ATM AAL5 MUX encapsulation:
Router(config-if)# ip rsvp layer2 overhead 0 5 48
In the following example, Layer 2 overhead accounting is configured with Ethernet V2.0 encapsulation (including 8-byte preamble, 6-byte source-active (SA) messages, 6-byte destination-active (DA) messages, 2-byte type, and 4-byte frame check sequence (FCS) trailer):
Router(config-if)# ip rsvp layer2 overhead 26 0 1500
ip rsvp listenerTo configure a Resource Reservation Protocol (RSVP) router to listen for PATH messages, use the iprsvplistener command in global configuration mode. To disable listening, use the no form of this command.
ip
rsvp
listener
[vrf vrf-name]
destination-ip
{udp | tcp | any | number}
{any | destination-port}
{announce | reply | reject}
no
ip
rsvp
listener
[vrf vrf-name]
destination-ip
{udp | tcp | any | number}
{any | destination-port}
{announce | reply | reject}
Syntax Description
Command History
Usage Guidelines
Use the iprsvplistener command to allow a router to send a matching RESV message when a PATH message arrives with the desired destination address, port, and protocol. This command copies the application ID and preemption priority value, if present, from the PATH message and includes them in the RESV message. Use the iprsvplistenervrfvrf-namecommand to create a listener in the context of the routing domain as defined by VRF. You should be aware of the hierarchy of listener configuration. If you configure a listener for the VRF without specifying the IP address and other fields, then subsequent configuration for a more specific listener configuration with a VRF, an IP address, and a port is not accepted. This command is similar to the iprsvpreservation andiprsvpreservation-hostcommands . However, they do not allow you to specify more than one port or protocol per command; so you may have to enter many commands to proxy for a set of ports and protocols. In contrast, the iprsvplistener command allows you to use a wildcard for a set of ports and protocols by using just that one command. You can use the debugiprsvpapicommand to look for a matching PATH message, but no RESV message will be sent. ExamplesIn the following example, the sender is requesting that the receiver reply with a RESV message for the flow if the PATH message destination is 192.168.2.1: Router# configure terminal Router(config)# ip rsvp listener 192.168.2.1 any any reply The following example creates a listener in the VRF routing domain: Router# configure terminal Router(config)# ip rsvp listener vrf vpn1 10.10.10.10 any any reply ip rsvp listener outboundTo configure a Resource Reservation Protocol (RSVP) router to listen for PATH messages sent through a specified interface, use the iprsvplisteneroutbound command in interface configuration mode. To disable listening, use the no form of this command. Syntax Description
Command History
Usage GuidelinesUse the iprsvplisteneroutbound command to match all PATH messages that are being sent from a specified interface. When you configure an interface-based receiver proxy to reply, RSVP performs Call Admission Control (CAC) on the outbound (or egress) interface for the flow. If CAC fails, the reservation is not generated. This is the same behavior for the global RSVP receiver proxy command. The outbound interface that a flow uses is determined when the flow is set up, and the interface-based receiver proxy is consulted at that time. The interface-based receiver proxy is not consulted if there is a change in routing for an existing flow. If the interface-based receiver proxy receives a RESVERR message with an admission control failure error or a policy reject error, the interface-based receiver proxy generates a PATHERR message with the same error to provide explicit notification to the sender of the reservation failure. ExamplesIn the following example, PATH messages sent through Ethernet interface 3/0 are rejected and PATHERROR messages are generated: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface Ethernet3/0 Router(config-if)# ip rsvp listener outbound reject Related Commands
ip rsvp msg-pacing
To configure the transmission rate for Resource Reservation Protocol (RSVP) messages, use the iprsvpmsg-pacingcommand in global configuration mode. To disable this feature, use the no form of this command. Syntax Description
Command DefaultRSVP messages are not paced. If you enter the command without the optional burst keyword, the transmission rate for RSVP messages is limited to 200 messages per second per outgoing interface. The default output queue size, specified in the maxsize keyword, is 500. Command History
Usage GuidelinesYou can use this command to prevent a burst of RSVP traffic engineering signaling messages from overflowing the input queue of a receiving router. Overflowing the input queue with signaling messages results in the router dropping some messages. Dropped messages substantially delay the completion of signaling for LSPs for which messages have been dropped. If you enter theiprsvpmsg-pacing command without the optional burst keyword, the transmission rate for RSVP messages is limited to 200 messages per second per outgoing interface. The default output queue size, specified in the maxsize keyword, is 500. ip rsvp neighborTo enable neighbors to request a reservation, use the iprsvpneighborcommand in interface configuration mode. To disable this function, use the no form of this command. Command History
Usage GuidelinesUse this command to allow only specific Resource Reservation Protocol (RSVP) neighbors to make a reservation. If no limits are specified, any neighbor can request a reservation. If an access list is specified, only neighbors meeting the specified access list requirements can make a reservation. RSVP cannot be configured with Versatile Interface Processor (VIP)-distributed Cisco Express Forwarding (dCEF). ExamplesThe following example shows how to allows neighbors meeting access list 1 requirements to request a reservation: interface ethernet 0 ip rsvp neighbor 1 Related Commands
ip rsvp policy cops minimalTo lower the load of the Common Open Policy Service (COPS) server and to improve latency times for messages on the governed router, use the iprsvppolicycopsminimalcommand in global configuration mode to restrict the COPS RSVP policy to adjudicate only PATH and RESV messages. To turn off the restriction, use the noform of this command. Command DefaultThe default state is OFF, causing all adjudicable RSVP messages to be processed by the configured COPS policy. Command History
ip rsvp policy cops report-allTo enable a router to report on its success and failure with outsourcing decisions, use theiprsvppolicycopsreport-allcommand in global configuration mode. To return the router to its default, use the no form of this command. Command DefaultThe default state of this command is to send reports to the Policy Decision Point (PDP) about configuration decisions only. Command History
Usage GuidelinesIn the default state, the router reports to the PDP when the router has succeeded or failed to implement Resource Reservation Protocol (RSVP) configuration decisions. A configuration decision contains at least one of the following:
A decision that does not contain at least one of those elements is an outsourcing decision. Some brands of policy server might expect reports about RSVP messaging, which the default state of the Cisco Common Open Policy Service (COPS) for RSVP does not issue. In such cases, use the iprsvppolicycopsreport-all command to ensure interoperability between the router and the policy server. Doing so does not adversely affect policy processing on the router. Unicast FF reservation requests always stimulate a report from the router to the PDP, because those requests contain a RESV ALLOC context (combined with an IN CONTEXT and an OUT CONTEXT). ExamplesIn order to show the Policy Enforcement Point (PEP)-to-PDP reporting process, the debugcops command in the following example already is enabled when a new PATH message arrives at the router:
Router(config)# ip rsvp policy cops report-all
00:02:48:COPS:** SENDING MESSAGE **
Contents of router's request to PDP:
COPS HEADER:Version 1, Flags 0, Opcode 1 (REQ), Client-type:1, Length:216
HANDLE (1/1) object. Length:8. 00 00 02 01
CONTEXT (2/1) object. Length:8. R-type:5. M-type:1
IN_IF (3/1) object. Length:12. Address:10.1.2.1. If_index:4
OUT_IF (4/1) object. Length:12. Address:10.33.0.1. If_index:3 CLIENT SI (9/1) object. Length:168. CSI data:
[A 27-line Path message omitted here]
00:02:48:COPS:Sent 216 bytes on socket,
00:02:48:COPS:Message event!
00:02:48:COPS:State of TCP is 4
00:02:48:In read function
00:02:48:COPS:Read block of 96 bytes, num=104 (len=104)
00:02:48:COPS:** RECEIVED MESSAGE **
Contents of PDP's decision received by router:
COPS HEADER:Version 1, Flags 1, Opcode 2 (DEC), Client-type:1, Length:104
HANDLE (1/1) object. Length:8. 00 00 02 01
CONTEXT (2/1) object. Length:8. R-type:1. M-type:1
DECISION (6/1) object. Length:8. COMMAND cmd:1, flags:0
DECISION (6/3) object. Length:56. REPLACEMENT
[A 52-byte replacement object omitted here]
CONTEXT (2/1) object. Length:8. R-type:4. M-type:1
DECISION (6/1) object. Length:8. COMMAND cmd:1, flags:0
00:02:48:Notifying client (callback code 2)
00:02:48:COPS:** SENDING MESSAGE **
Contents of router's report to PDP:
COPS HEADER:Version 1, Flags 1, Opcode 3 (RPT), Client-type:1, Length:24
HANDLE (1/1) object. Length:8. 00 00 02 01
REPORT (12/1) object. Length:8. REPORT type COMMIT (1)
00:02:48:COPS:Sent 24 bytes on socket,
ip rsvp policy cops serversTo specify that Resource Reservation Protocol (RSVP) should use Common Open Policy Service (COPS) policy for remote adjudication, use the iprsvppolicycopsservers command in global configuration mode. To turn off the use of COPS for RSVP, use the noform of this command. Command DefaultIf no ACL is specified, the default behavior is for all reservations to be governed by the specified policy servers. Command History
Usage GuidelinesIf more than one server is specified, the first server is treated by RSVP as the primary serer, and functions as such for all ACLs specified. All servers in the list must have the same policy configuration. If the connection of the router to the server breaks, the router tries to reconnect to that same server. If the reconnection attempt fails, the router then obeys the following algorithm: If the connection to the Policy Decision Point (PDP) is closed (either because the PDP closed the connection, a TCP/IP error occurred, or the keepalives failed), the Policy Enforcement Point (PEP) issues a CLIENT-CLOSE message and then attempts to reconnect to the same PDP. If the PEP receives a CLIENT-CLOSE message containing a PDP redirect address, the PEP attempts to connect to the redirected PDP. Note the following points:
The no form of this command need not contain any server IP addresses, but it must contain all the previously specified access lists (see the last example in the following section). ExamplesThis first example applies the COPS policy residing on server 172.27.224.117 to all reservations passing through router-9. It also identifies the backup COPS server for this router as the one at address 172.27.229.130:
Router(config)# ip rsvp policy cops servers 172.27.224.117 172.27.229.130
The next example applies the COPS policy residing on server 172.27.224.117 to reservations passing through router-9 only if they match access lists 40 and 160. Other reservations passing through that router will not be governed by this server. The command statement also identifies the backup COPS server for that router to be the one at address 172.27.229.130:
Router(config)# ip rsvp policy cops 40 160 servers 172.27.224.117 172.27.229.130
The following example turns off COPS for the previously specified access lists 40 and 160 (you cannot turn off just one of the previously specified lists):
Router(config)# no ip rsvp policy cops 40 160 servers
ip rsvp policy cops timeoutTo configure the amount of time the Policy Enforcement Point (PEP) router will retain policy information after losing connection with the Common Open Policy Service (COPS) server, use the iprsvppolicycopstimeout command in global configuration mode. To restore the router to the default value (5 minutes), use the no form of this command. Command History
ip rsvp policy default-rejectTo reject all messages that do not match the policy access control lists (ACLs), use the iprsvppolicydefault-reject command in global configuration mode. To restore the default behavior, which passes along all messages that do not match the ACLs, use the no form of this command. Command DefaultWithout this command, the default behavior of Resource Reservation Protocol (RSVP) is to accept, install, or forward all unmatched RSVP messages. Once this command is invoked, all unmatched RSVP messages are rejected. Command History
Usage GuidelinesIf COPS is configured without an ACL, or if any policy ACL is configured to use the permitipanyany command, the behavior of that ACL will take precedence, and no session will go unmatched.
ip rsvp policy identityTo define Resource Reservation Protocol (RSVP) application identities (IDs), use the iprsvppolicyidentity command in global configuration mode. To delete RSVP application IDs, use the no form of this command.
ip
rsvp
policy
identity
alias
policy-locator
locator
no
ip
rsvp
policy
identity
alias
[policy-locator locator]
Syntax Description
Command DefaultThis command is disabled by default; therefore, no RSVP application identities are defined. Usage GuidelinesYou can use RSVP identities as criteria for matching RSVP PATH and RESV messages to local policies. Identities can also be used to configure static senders and receivers. When you use an RSVP identity as the match criterion for a local policy, RSVP treats the policylocator string as a type of pattern-matching string known as a regular expression. Regular expressions allow you to configure a single identity for use with a local policy that can match multiple X.500 DNs. Regular expressions, by default, are not exact matches unless you add appropriate control characters to the expression to force it to be an exact match. In Cisco IOS and Cisco IOX XE software, the locator is the primary piece of information that the router uses to find the correct policy to apply to RSVP messages that contain application IDs. This string assumes the format of an X.500 DN and includes the following attributes as recommended in RFC 2872:
Here are some examples:
You can create a maximum of 100 identities on a router. If you attempt to create more, the command fails and the following error message is generated: "RSVP error: maximum number of identities already created". When you use the iprsvppolicyidentity command, be aware of the following behavior:
Command Restrictions
Exact Application ID MatchThe following example shows an application ID for RSVP messages containing a locator string whose contents are the exact string "APP=Voice": Router# configure terminal Router(config)# ip rsvp policy identity "rsvp-voice" policy-locator "^APP=Voice$" Router(config-rsvp-id)# end Wildcard (or Partial) Application ID MatchThe following example shows an application ID that is a partial match for RSVP messages containing a locator string with the substring "APP=Voice" anywhere in the signaled application ID: Router# configure terminal Router(config)# ip rsvp policy identity "rsvp-voice" policy-locator ".*APP=Voice.*" Router(config-rsvp-id)# end ip rsvp policy localTo determine how to perform authorization on Resource Reservation Protocol (RSVP) requests and enter local policy configuration mode, use the iprsvppolicylocalcommand in global configuration or interface configuration mode. To disable this function, use the no form of this command.
ip
rsvp
policy
local
{acl acl1 [acl2...acl8] | dscp-ip value1 [value2....value8] | default | identity alias1 [alias2 ... alias4] | origin-as as1 [as2...as8] }
no
ip
rsvp
policy
local
{acl acl1 [acl2...acl8] | dscp-ip value1 [value2...value8] | default | identity alias1 [alias2...alias4] | origin-as as1 [as2...as8] }
Syntax Description
Command History
Usage GuidelinesUse the iprsvppolicylocalcommand to determine how to perform authorization on RSVP requests.
You can use all types of match criteria with non-Traffic-Engineering (TE) reservations. You can use all types of match criteria except application ID with TE reservations because TE PATH and RESV messages sent by Cisco routers do not contain application IDs. There are five types of local policies--one default local policy, one or more ACL-based policies, one or more autonomous-system-based policies, one or more application-ID-based policies, and one or more DSCP-based policies. The default policy is used when an RSVP message does not match any ACL-, autonomous-system-, application-ID-, or DSCP-based policies. You can configure a mixture of local policy types including ACL, autonomous system, application ID, DSCP, or default on the same interface or globally. Policies have the following priority (from highest to lowest):
Policy-Match Criteria
An ACL-based policy must have at least one ACL associated with it, but it can optionally have up to eight ACLs. The ACLs can be standard or extended IP ACLs. They are matched against source/destination addresses/ports based on RSVP objects inside RSVP signaling messages as described below.
An autonomous-system-based policy must have at least one autonomous system associated with it, but it can optionally have up to eight autonomous systems. They are matched against the incoming interface/source IP address contained in RSVP objects inside RSVP signaling messages, not on the IP headers of the RSVP messages. An application-ID-based policy must have at least one application ID associated with it, but it can optionally have up to four application IDs. They are matched against the incoming interface/source IP address contained in RSVP objects inside RSVP signaling messages, not on the IP headers of the RSVP messages. A DSCP-based policy must have at least one DSCP associated with it, but it can optionally have up to four DSCPs. RSVP extracts the DSCP from the aggregate message SESSION object and applies the local policy that matches the DSCP criteria. Command Restrictions
CLI Submodes Once you type the iprsvppolicylocal command, you enter the local policy CLI submode where you define the properties of the local policy that you are creating.
The submode commands are as follows: accept {all | path | path-error | resv | resv-error}
The default bandwidth for a policy is unlimited. Therefore, if the policy has no configured bandwidth, a RESV message is always accepted by the local policy because any bandwidth request is less than or equal to unlimited. However, the RESV message may subsequently fail admission control if there is insufficient bandwidth in the RSVP pool on the input interface to which the RESV message applies. (See the iprsvpbandwidth command for more information.) If the bandwidth requested by the RESV messages is too large, a RESVERROR message that is also subject to local policy is transmitted to the RESV sender.
forward {all|path | path-error | resv | resv-error}
Previously, the maximumbandwidthcommand applied only to PATH messages. However, as part of the application ID enhancement, this command now applies only to RESV messages. This change has the following benefits: Allows the local policy bandwidth limit to be used by RSVP's admission control process for both shared and nonshared reservations. Previous releases that performed group bandwidth checks on PATH messages could not account for bandwidth sharing, and, as a result, you had to account for sharing by creating a larger maximum group bandwidth for the policy. Allows a local policy to trigger preemption during the admission control function if there is insufficient policy bandwidth to meet the needs of an incoming RESV message.
The xvalue indicates the upper limit of the priority for TE reservations. The range of xvalues is 0 to 7 in which the smaller the number, the higher the reservation's priority. For non-TE reservations, the range of xvalues is 0 to 65535 in which the higher the number, the higher the reservation's priority. The setup-priority argument indicates the priority of a reservation when it is initially installed. The optional hold-priorityargument indicates the priority of a reservation after it has been installed; if omitted, it defaults to the setup-priority. Values for the setup-priority and hold-priority arguments range from 0 to 7 where 0 is considered the highest priority. If the incoming message has a preemption priority that requests a priority higher than the policy allows, the message is rejected. Use the tunnelmplstraffic-engpriority command to configure preemption priority for TE tunnels. A single policy can contain a preempt-prioritytraffic-eng and a preempt-priority command, which may be useful if the policy is bound to an ACL that identifies a subnet containing a mix of TE and non-TE endpoints or midpoints.
Per-Interface Local Policies All the local policy submode commands are also supported on a per-interface basis. You simply enter Cisco IOS interface configuration mode for the selected interface and type in any number and mix of the submode commands. Per-interface local policies take precedence over global local policies. However, if there is a default local policy configured for an interface, the router does not try to match any RSVP messages arriving on that interface to any of the global local policies. Policies have the following priority (from highest to lowest):
There are some important points to note about per-interface local policies:
ACL-, Default-, and Autonomous-System-Based PoliciesIn the following example, any RSVP nodes in the 192.168.101.0 subnet can initiate or respond to reservation requests, but all other nodes can respond to reservation requests only. This means that any 192.168.101.x node can send and receive PATH, PATHERROR, RESV, or RESVERROR messages. All other nodes can send only RESV or RESVERROR messages, and all reservations for autonomous system 1 are rejected. Router# configure terminal Router(config)# access-list 104 permit ip 192.168.101.0 0.0.0.255 any Router(config)# ip rsvp policy local acl 104 Router(config-rsvp-policy-local)# forward all Router(config-rsvp-policy-local)# exit Router(config)# ip rsvp policy local default Router(config-rsvp-policy-local)# forward resv Router(config-rsvp-policy-local)# forward resverror Router(config-rsvp-policy-local)# exit Router(config)# ip rsvp policy local origin-as 1 Router(config-rsvp-policy-local)# end Application-ID-Based PolicyRSVP matches incoming RSVP messages with IDs to configured IDs and policies. The following example configures a global RSVP local policy that limits voice calls to 200 kbps for the whole router regardless of which interface the RSVP signaling occurs on: Router# configure terminal Router(config)# ip rsvp policy local identity rsvp-voice policy-locator "GUID=www.cisco.com, APP=Voice" Router(config)# ip rsvp policy local identity rsvp-voice Router(config-rsvp-local-policy)# forward all Router(config-rsvp-local-policy)# maximum bandwidth group 200 Router(config-rsvp-local-policy)# end Per-Interface Application ID-Based PolicyThe following example configures a local policy that limits all RSVP voice calls on serial interface 2/0/0 to a total of 200 kbps: Router# configure terminal Router(config)# ip rsvp policy local identity rsvp-voice policy-locator APP=Voice Router(config)# interface serial2/0/0 Router(config-if)# ip rsvp policy local identity rsvp-voice Router(config-rsvp-local-policy)# forward all Router(config-rsvp-local-policy)# maximum bandwidth group 200 Router(config-rsvp-local-policy)# exit Router(config-if)# ip rsvp policy local default Router(config-rsvp-local-policy)# forward all Router(config-rsvp-local-policy)# maximum bandwidth group 50 Router(config-rsvp-local-policy)# end DSCP-Based PolicyThe following example configures a local policy to match RSVP aggregation reservations with an RSVP session object DSCP value of 46 and sets the preempt-priority with a setup and hold priority equal to 5. Router# configure terminal Router(config)# ip rsvp policy local dscp-ip 46 Router(config-rsvp-local-policy)# forward all Router(config-rsvp-local-policy)# preempt-priority 5 5 Router(config-rsvp-local-policy)# end Related Commands
ip rsvp policy preemptTo enable Resource Reservation Protocol (RSVP) to take bandwidth from lower-priority reservations and give it to new, higher-priority reservations, use the iprsvppolicypreemptcommand in global configuration mode. To disable this function, use the no form of this command. Command DefaultRSVP does not reassign bandwidth from lower-priority reservations to higher-priority reservations. Usage GuidelinesUse the iprsvppolicypreempt command to enable or disable the preemption parameter for all configured local and remote policies without setting the preemption parameter for each policy individually. This command allows you to give preferential quality of service (QoS) treatment to one group of RSVP hosts or applications over another. ip rsvp policy vrfTo configure a Resource Reservation Protocol (RSVP) policy for a virtual routing and forwarding (VRF) instance, use the iprsvppolicyvrf command in global configuration mode. To remove a VRF-specific policy, use theno form of this command.
ip
rsvp
policy
vrf
vrf-name
{identity alias policy-locator regular-expression | local {acl acl1 [acl2...acl8] | default | identity alias1 [alias2...alias4] | origin-as as1 [as2...as8] }}
no
ip
rsvp
policy
vrf
vrf-name
{identity alias policy-locator regular-expression | local {acl acl1 [acl2...acl8] | default | identity alias1 [alias2...alias4] | origin-as as1 [as2...as8] }}
Syntax Description
Usage GuidelinesIf you enter a VRF that does not exist, the following error message appears: RSVP error: VRF: myvrf doesn't exist.First create this VRF. To delete the error message, create the VRF called myvrf and issue the command again. If you configure some VRF-specific policies on a router and the VRF has been removed from the router, then all the policies configured for that VRF are also removed from the configurations. ip rsvp pq-profileTo specify the criteria for Resource Reservation Protocol (RSVP) to use to determine which flows to direct into the priority queue (PQ) within weighted fair queueing (WFQ), use the iprsvppq-profile command in global configuration mode. To disable the specified criteria, use the no form of this command. Syntax Description
Command DefaultThe default value for r' is 12288 bytes per second. The default value for b' is 592 bytes. The default value for p-to-r' is 110 percent. Command History
Usage GuidelinesUse this command to define the profile of RSVP flows to be placed in the PQ within the WFQ system. You can have only one profile in effect at a time. Changes to this configuration affect only new flows, not existing flows. This command applies only on interfaces that are running RSVP and WFQ. RSVP recognizes voice flows based upon the r, b, and p values within the flowspec of a receiver. A reserved flow is granted to the PQ as long as the flowspec parameters of a receiver meet the following default criteria: (r <= r') AND (b <= b') AND (p/r <= p-to-r') ExamplesThe following example shows how to put voice-like flows (with the default criteria for voice) into the PQ: Router(config)# ip rsvp pq-profile Router(config)# ip rsvp pq-profile voice-like Router(config)# ip rsvp pq-profile 12288 592 110 Router(config)# default ip rsvp pq-profile Router# show running-config | include pq-profile The following example shows how to put all flows matching the voice criteria into the PQ: Router(config)# ip rsvp pq-profile 10240 512 100 Router# show running-config | include pq-profile ip rsvp pq-profile 10240 512 100 The following example shows how to define that no flows are put into the PQ: Router(config)# no ip rsvp pq-profile Router# show running-config | include pq-profile no ip rsvp pq-profile The following example shows how to put flows with the criteria given for r' and b' and the default value for p-to-r' into the PQ: Router(config)# ip rsvp pq-profile 9000 300 Router# show running-config | include pq-profile ip rsvp pq-profile 9000 300 110 The following example shows how to put flows with the criteria given for r' and b' and ignoring the peak value of the flow into the PQ: Router(config)# ip rsvp pq-profile 9000 300 ignore-peak-value Router# show running-config | include pq-profile ip rsvp pq-profile 9000 300 ignore-peak-value The following example shows how to put Microsoft NetMeeting voice flows with G.711 or adaptive differential pulse code modulation (ADPCM) codecs into the PQ:
Router(config)# ip rsvp pq-profile 10200 1200
© 2012 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|