The commands listed in this section apply only to the 7450 ESS and 7750 SR.
This command creates a text description stored in the configuration file for a configuration context.
The description command associates a text string with a configuration context to help identify the context in the configuration file.
The no form of this command removes any description string from the context.
No description is associated with the configuration context.
This command copies existing QoS policy entries for a QoS policy-id to another QoS policy-id.
The copy command is used to create new policies using existing policies and also allows bulk modifications to an existing policy with the use of the overwrite keyword.
This command configures the network policy scope as exclusive or template. The policy’s scope cannot be changed if the policy is applied to an interface.
The no form of this command sets the scope of the policy to the default of template.
template
The system default policies cannot be put into the exclusive scope. An error will be generated if scope exclusive is executed in any policies with a policy-id equal to 1.
Default QoS policies are configured with template scopes. An error is generated if you try to modify the template scope parameter to exclusive scope on default policies.
The commands described in this section apply only to the 7450 ESS and 7750 SR.
This command creates a profile for the user to configure the ingress QoS parameters of a Multi-Link Frame Relay (MLFR) bundle. A maximum of 128 ingress QoS profiles may be created on the system.
The no form of this command deletes the profile.
none
This command provides the Frame Relay scheduling class context for the user to configure the ingress or egress QoS parameters of an MLFR bundle or an FRF.12 UNI/NNI link for this profile.
none
This command configures the value of the MLFR bundle ingress per-class reassembly timer for the profile.
Class 0=10 msec
Class 1=10 msec
Class 2=100 msec
Class 3=1000 msec
This command creates a profile for the user to configure the egress QoS parameters of an MLFR bundle or an FRF.12 UNI/NNI link. A maximum of 128 egress QoS egress profile may be created on the system.
The no form of this command deletes the profile.
none
This command configures the maximum size for each Frame Relay scheduling class queue for this profile.
Class 0=10
Class 1=50
Class 2=150
Class 3=750
This command configures the minimum information rate scheduling parameter for each Frame Relay scheduling class queues for this profile.
90% for all classes
This command configures the WRR weight scheduling parameter for each Frame Relay scheduling class queue for this profile.
Class 0=N/A
Class 1=1 (not configurable)
Class 2=89
Class 3=10
This command creates or edits a QoS network policy. The network policy defines the treatment IP or MPLS packets receive as they ingress and egress the network port.
The QoS network policy consists of an ingress and egress component. The ingress component of the policy defines how DiffServ code points and MPLS EXP bits are mapped to internal forwarding class and profile state. The forwarding class and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the router. The mapping on each network interface defaults to the mappings defined in the default network QoS policy until an explicit policy is defined for the network interface.
The egress component of the network QoS policy defines the queuing parameters associated with each forwarding class. Each of the forwarding classes defined within the system automatically creates a queue on each network interface. This queue gets all the parameters defined within the default network QoS policy 1 until an explicit policy is defined for the network interfaceaccess uplink port. If the egressing packet originated on an ingress SAP, or the remarking parameter is defined for the egress interface, the egress QoS policy also defines the IP DSCP or MPLS EXP bit marking based on the forwarding class and the profile state.
Network policy-id 1 exists as the default policy that is applied to all network interfaces by default. The network policy-id 1 cannot be modified or deleted. It defines the default DSCP-to-FC mapping and MPLS EXP-to-FC mapping and for the ingress. For the egress, it defines six forwarding classes which represent individual queues and the packet marking criteria.
Network policy-id 1 exists as the default policy that is applied to all network ports by default. This default policy cannot be modified or deleted. It defined the default DSCP-to-FC mapping and default unicast meters for ingress IP traffic. For the egress, if defines the forwarding class to Dot1p and DSCP values and the packet marking criteria.
If a new network policy is created (for instance, policy-id 3), only the default action and egress forwarding class parameters are identical to the default policy. A new network policy does not contain the default DSCP-to-FC and MPLS-EXP-to-FC mapping for network QoS policy of type ip-interface or the DSCP-to-FC mapping (for network QoS policy of type port). The default network policy can be copied (use the copy command) to create a new network policy that includes the default ingress DSCP-to-FC and MPLS EXP-to-FC mapping (as appropriate). You can modify parameters or use the no modifier to remove an object from the configuration.
Any changes made to an existing policy, using any of the sub-commands, will be applied immediately to all network interfaces where this policy is applied. For this reason, when many changes are required on a policy, it is highly recommended that the policy be copied to a work area policy-id. That work-in-progress policy can be modified until complete and then written over the original policy-id. Use the config qos copy command to maintain policies in this manner.
The no form of this command deletes the network policy. A policy cannot be deleted until it is removed from all entities where it is applied. The default network policy policy-id 1 cannot be deleted.
System Default Network Policy 1
This command is used to enter the CLI node that creates or edits policy entries that specify the DiffServ code points to forwarding class mapping for all IP packets and define the MPLS EXP bits to forwarding class mapping for all labeled packets.
When premarked IP or MPLS packets ingress on a network port, they get a Per Hop Behavior (that is, the QoS treatment through the router-based on the mapping defined under the current node.
This command defines or edits the default action to be taken for packets that have an undefined DSCP or MPLS EXP bits set. The default-action command specifies the forwarding class to which such packets are assigned.
Multiple default-action commands will overwrite each previous default-action command.
default-action fc be profile out
IP criteria-based network ingress policies are used to select the appropriate ingress queue and corresponding forwarding class for matched traffic. This command is used to enter the context to create or edit policy entries that specify IP criteria such as IP quintuple lookup or DiffServ code point.
The 7750 SR OS implementation will exit on the first match found and execute the actions in accordance with the accompanying action command. For this reason, entries must be sequenced correctly from most to least explicit.
The classification only applies to the outer IP header of non-tunneled traffic. The only exception is for traffic received on a Draft Rosen tunnel for which classification on the outer IP header only is supported.
Attempting to apply a network QoS policy containing an ip-criteria statement to any object except a network IP interface will result in an error.
The no form of this command deletes all the entries specified under this node. Once IP criteria entries are removed from a network ingress policy, the IP criteria is removed from all network interfaces where that policy is applied. This command is supported on FP2 and higher based hardware and is otherwise ignored.
IP criteria-based network ingress policies are used to select the appropriate ingress queue and corresponding forwarding class for matched traffic. This command is used to enter the context to create or edit policy entries that specify IPv6 criteria such as IP quintuple lookup or DiffServ code point.
The 7750 SR OS implementation will exit on the first match found and execute the actions in accordance with the accompanying action command. For this reason, entries must be sequenced correctly from most to least explicit.
The classification only applies to the outer IPv6 header of non-tunneled traffic.
Attempting to apply a network QoS policy containing an ipv6-criteria statement to any object except a network IP interface will result in an error.
The no form of this command deletes all the entries specified under this node. Once IP criteria entries are removed from a network ingress policy, the IP criteria is removed from all network interfaces where that policy is applied.
This command is supported on FP2 and higher based hardware and is otherwise ignored.
This mandatory command associates the forwarding class and packet profile with specific IP or IPv6 criteria entry ID.
Packets that meet all match criteria within the entry have their forwarding class and packet profile set based on the parameters included in the action parameters.
The action command must be executed for the match criteria to be added to the active list of entries.
Each time action is executed on a specific entry ID, the previous entered values for fc fc-name and profile are overridden with the newly defined parameters.
The no form of the command removes the entry from the active entry list. Removing an entry on a policy immediately removes the entry from all network interfaces using the policy. All previous parameters for the action are lost.
Action specified by the default-action.
This command is used to create or edit an IP or IPv6 criteria entry for the policy. Multiple entries can be created using unique entry-id numbers.
The list of flow criteria is evaluated in a top down fashion with the lowest entry ID at the top and the highest entry ID at the bottom. If the defined match criteria for an entry within the list matches the information in the ingress packet, the system stops matching the packet against the list and performs the matching entries reclassification actions. If none of the entries match the packet, the IP flow reclassification list has no effect on the packet.
An entry is not populated in the list unless the action command is executed for the entry. An entry that is not populated in the list has no effect on ingress packets. If the action command is executed without any explicit reclassification actions specified, the entry is populated in the list allowing packets matching the entry to exit the list, preventing them from matching entries lower in the list. Since this is the only flow reclassification entry that the packet matched and this entry explicitly states that no reclassification action is to be performed, the matching packet will not be reclassified.
The no form of this command removes the specified entry from the policy. Entries removed from the policy are immediately removed from all services where that policy is applied.
none
An entry cannot have any match criteria defined (in which case, everything matches) but must have at least the keyword action fc fc-name profile {in | out}] for it to be considered complete. Entries without the action keyword will be considered incomplete and hence will be rendered inactive.
This command creates a context to configure match criteria for an ingress network QoS policy match criteria. When the match criteria have been satisfied the action associated with the match criteria is executed.
If more than one match criteria (within one match statement) are configured then all criteria must be satisfied (AND function) before the action associated with the match is executed.
A match context can consist of multiple match criteria, but multiple match statements cannot be entered per entry.
It is possible that a network QoS policy includes the dscp map command, the dot1p map command, and an IP match criteria. When multiple matches occur for the traffic, the order of precedence is used to arrive at the final action. The order of precedence is as follows:
802.1p bits
The no form of this command removes the match criteria for the entry-id.
The protocol type such as TCP / UDP / OSPF is identified by its respective protocol number. Well-known protocol numbers include ICMP(1), TCP(6), UDP(17).
Protocol | Protocol ID | Description |
icmp | 1 | Internet Control Message |
igmp | 2 | Internet Group Management |
ip | 4 | IP in IP (encapsulation) |
tcp | 6 | Transmission Control |
egp | 8 | Exterior Gateway Protocol |
igp | 9 | any private interior gateway (used by Cisco for their IGRP) |
udp | 17 | User Datagram |
rdp | 27 | Reliable Data Protocol |
ipv6 | 41 | IPv6 |
ipv6-route | 43 | Routing Header for IPv6 |
ipv6-frag | 44 | Fragment Header for IPv6 |
idrp | 45 | Inter-Domain Routing Protocol |
rsvp | 46 | Reservation Protocol |
gre | 47 | General Routing Encapsulation |
ipv6-icmp | 58 | ICMP for IPv6 |
ipv6-no-nxt | 59 | No Next Header for IPv6 |
ipv6-opts | 60 | Destination Options for IPv6 |
iso-ip | 80 | ISO Internet Protocol |
eigrp | 88 | EIGRP |
ospf-igp | 89 | OSPFIGP |
ether-ip | 97 | Ethernet-within-IP Encapsulation |
encap | 98 | Encapsulation Header |
pnni | 102 | PNNI over IP |
pim | 103 | Protocol Independent Multicast |
vrrp | 112 | Virtual Router Redundancy Protocol |
l2tp | 115 | Layer Two Tunneling Protocol |
stp | 118 | Schedule Transfer Protocol |
ptp | 123 | Performance Transparency Protocol |
isis | 124 | ISIS over IPv4 |
crtp | 126 | Combat Radio Transport Protocol |
crudp | 127 | Combat Radio User Datagram |
This command creates a context to configure match criteria for a network QoS policy match IPv6 criteria. When the match criteria have been satisfied the action associated with the match criteria is executed.
If more than one match criteria (within one match statement) are configured, then all criteria must be satisfied (AND function) before the action associated with the match is executed.
A match context can consist of multiple match criteria, but multiple match statements cannot be entered per entry.
It is possible that a network ingress policy includes the dscp map command, the dot1p map command, and an IPv6 match criteria. When multiple matches occur for the traffic, the order of precedence is used to arrive at the final action. The order of precedence is as follows:
802.1p bits
The no form of this command removes the match criteria for the entry-id.
The protocol type such as TCP / UDP / OSPF is identified by its respective protocol number. Well-known protocol numbers include ICMP(1), TCP(6), UDP(17).
This command configures a DiffServ Code Point (DSCP) code point to be used as a network ingress QOS policy match criterion.
The no form of this command removes the DSCP match criterion.
This command configures a destination address range to be used as a network ingress QoS policy match criterion.
To match on the destination address, specify the address and its associated mask, e.g., 10.1.0.0/16. The conventional notation of 10.1.0.0 255.255.0.0 can also be used.
The no form of this command removes the destination IP address match criterion.
ip-address: | a.b.c.d |
ipv6-address: | x:x:x:x:x:x:x:x (eight 16-bit pieces) |
x:x:x:x:x:x:d.d.d.d | |
x: [0 to FFFF]H | |
d: [0 to 255]D | |
prefix-length: 1 to 128 |
This command configures a destination TCP or UDP port number or port range for a network ingress QoS policy match criterion.
The no form of this command removes the destination port match criterion.
none
This command configures fragmented or non-fragmented IP packets as a network ingress QoS policy match criterion.
The no form of this command removes the match criterion and matches all packets regardless of whether they are fragmented or not.
This command configures fragmented or non-fragmented IPv6 packets as a network ingress QoS policy match criterion.
The no form of this command removes the match criterion and matches all packets regardless of whether they are fragmented or not.
This command configures a source IPv4 or IPv6 address range to be used as a network ingress QoS policy match criterion.
To match on the source IPv4 or IPv6 address, specify the address and its associated mask, for example, 10.1.0.0/16. The conventional notation of 10.1.0.0 255.255.0.0 can also be used for IPv4.
The no form of the command removes the source IPv4 or IPv6 address match criterion.
No source IP match criterion.
This command configures a source TCP or UDP port number or port range for a network ingress QoS policy match criterion.
The no form of this command removes the source port match criterion.
No src-port match criterion.
This command explicitly sets the forwarding class or enqueuing priorityand profile of the packet when a packet is marked with a dot1p-priority specified. Adding a dot1p rule on the policy forces packets that match the dot1p-priority specified to override be assigned to the forwarding class and enqueuing priority and profile of the packet based on the parameters included in the Dot1p rule. When the forwarding class is not specified in the rule, a matching packet preserves (or inherits) the existing forwarding class derived from earlier matches in the classification hierarchy. When the enqueuing priority is not specified in the rule, a matching packet preserves (or inherits) the existing enqueuing priority derived from earlier matches in the classification hierarchy.
The dot1p-priority is derived from the most significant three bits in the IEEE 802.1q or IEEE 802.1p header. The three dot1p bits define 8 Class-of-Service (CoS) values commonly used to map packets to per-hop Quality-of-Service (QoS) behavior.
The no form of this command removes the explicit dot1p classification rule from the policy. Removing the rule on the policy immediately removes the rule on all ingress SAPs using the policy.
A maximum of eight dot1p rules are allowed on a single policy.
This command creates a mapping between the DiffServ Code Point (DSCP) of the network ingress traffic and the forwarding class.
Ingress traffic that matches the specified DSCP will be assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all sixty-four DiffServ code points to the forwarding class. For undefined code points, packets are assigned to the forwarding class specified under the default-action command.
The no form of this command removes the DiffServ code point to forwarding class association. The default-action then applies to that code point value.
none
The system-defined names available are as follows. The system-defined names must be referenced as all lower case exactly as shown in the first column in Table 21 and Table 22 below.
Additional names to code point value associations can be added using the ‘dscp-name dscp-name dscp-value’ command.
The actual mapping is being done on the dscp-value, not the dscp-name that references the dscp-value. If a second dscp-name that references the same dscp-value is mapped within the policy, an error will occur. The second name will not be accepted until the first name is removed.
DSCP Name | DSCP Value Decimal | DSCP Value Hexadecimal | DSCP Value Binary |
nc1 | 48 | 0x30 | 0b110000 |
nc2 | 56 | 0x38 | 0b111000 |
ef | 46 | 0x2e | 0b101110 |
af41 | 34 | 0x22 | 0b100010 |
af42 | 36 | 0x24 | 0b100100 |
af43 | 38 | 0x26 | 0b100110 |
af31 | 26 | 0x1a | 0b011010 |
af32 | 28 | 0x1c | 0b011100 |
af33 | 30 | 0x1d | 0b011110 |
af21 | 18 | 0x12 | 0b010010 |
af22 | 20 | 0x14 | 0b010100 |
af23 | 22 | 0x16 | 0b010110 |
af11 | 10 | 0x0a | 0b001010 |
af12 | 12 | 0x0c | 0b001100 |
af13 | 14 | 0x0e | 0b001110 |
default | 0 | 0x00 | 0b000000 |
DSCP Name | DSCP Value Decimal | DSCP Value Hexadecimal | DSCP Value Binary |
cs7 | 56 | 0x38 | 0b111000 |
cs6 | 48 | 0X30 | 0b110000 |
cs5 | 40 | 0x28 | 0b101000 |
cs4 | 32 | 0x20 | 0b100000 |
cs3 | 24 | 0x18 | 0b011000 |
cs2 | 16 | 0x10 | 0b010000 |
cs1 | 08 | 0x8 | 0b001000 |
DSCP values mapping to forwarding classes Expedited (ef), High-1 (h1) and Network-Control (nc) can only be set to in-profile.
DSCP values mapping to forwarding class ‘be’ can only be set to out-of-profile.
This command is used to redirect the FC of a broadcast packet received in a VPLS service over a PW or network IP interface to an ingress forwarding plane queue-group.
It defines the mapping of a FC to a policer-id and redirects the lookup of the policer of the same ID in some ingress forwarding plane queue-group instance. However, the queue-group name and instance are explicitly provided only at the time the network QoS policy is applied to the ingress context of a spoke or mesh SDP or a network IP interface.
The broadcast-policer statement is ignored when the network QoS policy is applied to any object other than a VPLS spoke or mesh SDP or a network IP interface.
The no version of this command removes the redirection of the FC.
This command is used to redirect the FC of an unknown packet received in a VPLS service on a PW or network IP interface to an ingress forwarding plane queue-group.
It defines the mapping of a FC to a policer-id and redirects the lookup of the policer of the same ID in some ingress forwarding plane queue-group instance. However, the queue-group name and instance are explicitly provided only at the time the network QoS policy is applied to the ingress context of a VPLS spoke or mesh SDP or a network IP interface.
The unknown-policer statement is ignored when the network QoS policy is applied to any object other than a VPLS spoke or mesh SDP or a network IP interface.
The no version of this command removes the redirection of the FC.
This command is used to redirect the FC of a packet of a PW or network IP interface to an ingress forwarding plane queue-group.
It defines the mapping of a FC to a policer-id and redirects the lookup of the policer of the same ID in some ingress forwarding plane queue-group instance. However, the queue-group name and instance are explicitly provided only at the time the network QoS policy is applied to the ingress context of a spoke-sdp or a network IP interface.
The no version of this command removes the redirection of the FC.
This command is used to redirect the FC of a multicast packet of a PW or network IP interface to an ingress forwarding plane queue-group.
It defines the mapping of a FC to a policer-id and redirects the lookup of the policer of the same ID in some ingress forwarding plane queue-group instance. However, the queue-group name and instance are explicitly provided only at the time the network QoS policy is applied to the ingress context of a spoke-sdp or a network IP interface.
The no version of this command removes the redirection of the FC.
This command is used to enable tunnel QoS mapping on all ingress network IP interfaces the network-qos-policy-id is associated with. The command may be defined at anytime after the network QoS policy has been created. Any network IP interfaces currently associated with the policy will immediately start to use the internal IP ToS field of any tunnel terminated IP routed packet received on the interface, ignoring any QoS markings in the tunnel portion of the packet.
This attribute provides the ability to ignore the network ingress QoS mapping of a terminated tunnel containing an IP packet that is to be routed to a base router or VPRN destination. This is advantageous when the mapping for the tunnel QoS marking does not accurately or completely reflect the required QoS handling for the IP routed packet. When the mechanism is enabled on an ingress network IP interface, the IP interface will ignore the tunnel’s QoS mapping and derive the internal forwarding class and profile based on the precedence or DiffServe Code Point (DSCP) values within the routed IP header ToS field compared to the Network QoS policy defined on the IP interface.
The default state is not to enforce tunnel termination IP routed QoS override within the network QoS policy.
The no form of the command removes tunnel termination IP routed QoS override from the network QoS policy and all ingress network IP interfaces associated with the policy.
no ler-use-dscp
This command creates a mapping between the LSP EXP bits of the network ingress traffic and the forwarding class.
Ingress traffic that matches the specified LSP EXP bits will be assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all eight LSP EXP bit values to the forwarding class. For undefined values, packets are assigned to the forwarding class specified under the default-action command.
The no form of this command removes the association of the LSP EXP bit value to the forwarding class. The default-action then applies to that LSP EXP bit pattern.
none
This command is used to enter the CLI node that creates or edits egress policy entries that specify the forwarding class queues to be instantiated when this policy is applied to the network port.
The forwarding class and profile state mapping to in and out-of-profile DiffServ code points and MPLS EXP bits mapping for all labeled packets are also defined in this context.
All service packets are aggregated into DiffServ based egress queues on the network interface. The service packets are transported either with IP GRE encapsulation or over a MPLS LSP. The exception is with the IES service. In this case, the actual customer IP header has the DSCP field mapped.
All out-of-profile service packets are marked with the corresponding out-of-profile DSCP or the EXP bit value at network egress. All the in-profile service ingress packets are marked with the corresponding in-profile DSCP or EXP bit value based on the forwarding class they belong.
This command specifies the forwarding class name. The forwarding class name represents an egress queue. The fc fc-name represents a CLI parent node that contains sub-commands or parameters describing the egress characteristics of the queue and the marking criteria of packets flowing through it. The fc command overrides the default parameters for that forwarding class to the values defined in the network default policy.
The no form of this command removes the forwarding class name associated with this queue, as appropriate. The forwarding class reverts to the defined parameters in the default network policy. If the fc-name is removed from the network policy that forwarding class reverts to the factory defaults.
Undefined forwarding classes default to the configured parameters in the default network policy policy-id 1.
This command is used to explicitly define the marking of the DE bit for fc fc-name according to the in and out-of-profile/exceed-profile status of the packet (fc-name may be used to identify the dot1p-value).
If no de-value is present, the default values are used for the marking of the DE bit: i.e. 0 for in-profile packets, 1 for out-of-profile and exceed-profile packets– see 802.1ad-2005 standard.
In the PBB case, for a Network Port (B-SDP), the following rules must be used:
This command will be used whenever the dot1p bits are set to a common value regardless of the internal profile of the packets. Although it is not mandatory, it is expected that this command is used in combination with the de-mark command to enable the marking of the DE bit according to the internal profile of the packet.
This command acts as a shortcut version of configuring the two existing commands with the same dot1p-priority.
The dot1p x command is saved in the configuration as dot1p-in-profile x and dot1p-out-profile x. The exceed-profile traffic is marked with the same value as out-of-profile traffic.
This command specifies dot1p in-profile mappings and only applies to the 7750 SR and 7950 XRS. The exceed-profile traffic is marked with the same value as out-of-profile traffic.
The no form of the command reverts to the default in-profile dot1p-priority setting for policy-id 1.
A maximum of eight dot1p rules are allowed on a single policy.
This command specifies dot1p out-profile mappings and only applies to the 7750 SR and 7950 XRS.
The no form of the command reverts to the default out-profile dot1p-priority setting for policy-id 1.
A maximum of eight dot1p rules are allowed on a single policy.
This command specifies the in-profile DSCP name for the forwarding class. The corresponding DSCP value will be used for all IP packets requiring marking the egress on this forwarding class queue that are in profile.
When multiple DSCP names are associated with the forwarding class at network egress, the last name entered will overwrite the previous value.
The no form of this command reverts to the factory default in-profile dscp-name setting for policy-id 1.
This command specifies the out-of-profile DSCP name for the forwarding class. The corresponding DSCP value will be used for all IP packets requiring marking the egress on this forwarding class queue that are out-of-profile.The exceed-profile traffic is marked with the same value as out-of-profile traffic.
When multiple DSCP names are associated with the forwarding class at network egress, the last name entered will overwrite the previous value.
The no form of this command reverts to the factory default out-of-profile dscp-name setting for policy-id 1.
Policy-id 1: | Factory setting |
Policy-id 2 to 65535: | Policy-id setting |
This command specifies the in-profile LSP EXP value for the forwarding class. The EXP value will be used for all LSP labeled packets requiring marking the egress on this forwarding class queue that are in-profile.
When multiple EXP values are associated with the forwarding class at network egress, the last name entered will overwrite the previous value.
The no form of this command reverts to the factory default in-profile EXP setting.
Policy-id 1: | Factory setting |
Policy-id 2 to 65535: | Policy-id setting |
This command specifies the out-of-profile LSP EXP value for the forwarding class. The EXP value will be used for all LSP labeled packets requiring marking the egress on this forwarding class queue that are out-of-profile. The exceed-profile traffic is marked with the same value as out-of-profile traffic.
When multiple EXP values are associated with the forwarding class at network egress, the last name entered will overwrite the previous value.
The no form of this command reverts to the factory default out-of-profile EXP setting.
Policy-id 1: | Factory setting |
Policy-id 2 to 65535: | Policy-id setting |
This command is used in ingress and egress queue-group templates to create, modify, or delete a policer.
Policers are created and used in a similar manner to queues. The policer ID space is separate from the queue ID space, allowing both a queue and a policer to share the same ID. The ingress queue-group template have up to 32 policers (numbered 1 through 32) and can be defined while the egress queue-group template supports a maximum of 8 (numbered 1 through 8). While a policer can be defined in a queue-group template, it is not actually created until the queue-group template is instantiated on ingress context of a forwarding plane or on the egress context of a port.
Once a policer is created, the policer's metering rate and profiling rates can be defined as well as the policer's maximum and committed burst sizes (MBS and CBS respectively). Unlike queues which have dedicated counters, policers allow various stat-mode settings that define the counters that will be associated with the policer. Another supported feature—packet-byte-offset—provides a policer with the ability to modify the size of each packet based on a defined number of bytes.
Once a policer is created, it cannot be deleted from the queue-group template unless any forwarding classes that are redirected to the policer are first removed.
The no version of this command deletes the policer.
This command is used to redirect the FC of a packet of a PW or network IP interface to an egress port queue-group.
It defines the mapping of a FC to a queue-id or a policer-id and a queue-id, and redirects the lookup of the queue or policer of the same ID in some egress port queue-group instance. However, the queue-group name and instance are explicitly provided only at the time the network QoS policy is applied to egress context of a spoke-sdp or a network IP interface.
The no version of this command removes the redirection of the FC.
This command defines a specific IP Differentiated Services Code Point (DSCP) value that must be matched to perform the associated reclassification actions. If an egress packet on the spoke-sdp the network QoS policy is applied to matches the specified IP DSCP value, the forwarding class and profile may be overridden.
By default, the forwarding class and profile of the packet is derived from ingress classification and profiling functions. Matching a DHCP based reclassification rule will override all IP precedence based reclassification rule actions.
The IP DSCP bits used to match against dscp reclassification rules come from the Type of Service (ToS) field within the IPv4 header or the Traffic Class field from the IPv6 header. If the packet does not have an IP header, dscp based matching is not performed.
The IP precedence and DSCP based re-classification are only supported on a PW used in an IES or VPRN spoke-interface. The CLI will block the application of a network QoS policy with the egress re-classification commands to a network IP interface or to a spoke-sdp part of L2 service.
Conversely, the CLI will not allow the user to add the egress re-classification commands to a network QoS policy if it is being used by a network IP interface or a L2 spoke-sdp.
Also, the egress re-classification commands will only take effect if the redirection of the spoke-sdp to use an egress port queue-group succeeds, i.e., the following CLI command succeeds:
config>service>vprn>interface>spoke-sdp>egress>qos network-policy-id port-redirect-group queue-group-name instance instance-id
config>service>ies>interface>spoke-sdp>egress>qos network-policy-id port-redirect-group queue-group-name instance instance-id
Reclassification will however occur regardless of whether the queue group instance exists or not on a given egress network port.
When the redirection command fails in CLI, the PW will use the network QoS policy assigned to the network IP interface. Since the network QoS policy applied to a network IP interface does not support re-classification, the PW packets will not undergo re-classification.
The no version of this command removes the egress re-classification rule.
This command defines a specific IP Precedence value that must be matched to perform the associated reclassification actions. If an egress packet on the spoke-sdp the network QoS policy is applied to matches the specified IP Precedence value, the forwarding class and profile may be overridden.
By default, the forwarding class and profile of the packet is derived from ingress classification and profiling functions.
The IP Precedence bits used to match against the reclassification rules come from the Type of Service (ToS) field within the IPv4 header or the Traffic Class field from the IPv6 header. If the packet does not have an IP header, IP precedence based matching is not performed.
The IP precedence and DSCP based re-classification are only supported on a PW used in an IES or VPRN spoke-interface. The CLI will block the application of a network QoS policy with the egress re-classification commands to a network IP interface or to a spoke-sdp part of L2 service.
Conversely, the CLI will not allow the user to add the egress re-classification commands to a network QoS policy if it is being used by a network IP interface or a L2 spoke-sdp.
Also, the egress re-classification commands will only take effect if the redirection of the spoke-sdp to use an egress port queue-group succeeds, i.e., the following CLI command succeeds:
Reclassification will however occur regardless of whether the queue group instance exists or not on a given egress network port.
When the redirection command fails in CLI, the PW will use the network QoS policy assigned to the network IP interface. Since the network QoS policy applied to a network IP interface does not support re-classification, the PW packets will not undergo re-classification.
The no version of this command removes the egress re-classification rule.
This command remarks both customer traffic and egress network IP interface traffic; VPRN customer traffic is not remarked. The remarking is based on the forwarding class to DSCP and LSP EXP bit mapping defined under the egress node of the network QoS policy.
Normally, packets that ingress on network ports have either DSCP or, in case of MPLS packets, LSP EXP bit set by an upstream router. The packets are placed in the appropriate forwarding class based on the DSCP to forwarding class mapping or the LSP EXP to forwarding class mapping. The DSCP or LSP EXP bits of such packets are not altered as the packets egress this router, unless remarking is enabled.
Remarking can be required if this router is connected to a different DiffServ domain where the DSCP to forwarding class mapping is different.
Normally no remarking is necessary when all router devices are in the same DiffServ domain.
The network QoS policy supports an egress flag that forces remarking of packets that were received on trusted IES and network IP interfaces. This provides the capability of remarking without regard to the ingress state of the IP interface on which a packet was received. The effect of the setting of the egress network remark trusted state on each type of ingress IP interface and trust state is shown in the following table.
The remark trusted state has no effect on packets received on an ingress VPRN IP interface.
Ingress IP Interface Type and Trust State | Egress Network IP Interface Trust Remark Disabled (Default) | Egress Network IP Interface Trust Remark Enabled |
IES Non-Trusted (Default) | Egress Remarked | Egress Remarked |
IES Trusted | Egress Not Remarked | Egress Remarked |
VPRN Non-Trusted | Egress Remarked | Egress Remarked |
VPRN Trusted (Default) | Egress Not Remarked | Egress Not Remarked |
Network Non-Trusted | Egress Remarked | Egress Remarked |
Network Trusted (Default) | Egress Not Remarked | Egress Remarked |
The no form of this command reverts to the default behavior.
no remarking — Remarking disabled in the Network QoS policy.
This command enables the context to configure DSCP/dot1p re-marking for self-generated traffic.
This command configures DSCP/dot1p re-marking for self-generated application traffic. When an application is configured using this command, then the specified DSCP name/value is used for all packets generated by this application within the router instance it is configured. The instances can be base router, vprn or management.
Using the value configured in this command:
Only one DSCP name/value can be configured per application, if multiple entries are configured then the subsequent entry overrides the previous configured entry.
The no form of this command reverts back to the default value.
This command creates a mapping between the DiffServ Code Point (DSCP) of the self generated traffic and the forwarding class.
Self generated traffic that matches the specified DSCP will be assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all sixty-four DiffServ code points to the forwarding class.
All dscp name that defines a dscp value must be explicitly defined
The no form of this command removes the DiffServ code point to forwarding class association.
none
Displays the DSCP name to DSCP value mappings.
Label | Description |
DSCP Name | Displays the name of the DiffServ code point to be associated with the forwarding class. |
DSCP Value | Displays the DSCP values range between 0 and 63. |
TOS (bin) | Displays the type of service in Binary format. |
TOS (hex) | Displays the type of service in Hex format. |
This command displays MLFR ingress profile details and only applies to the 7750 SR and 7950 XRS.
This command displays MLFR egress profile details and only applies to the 7750 SR and 7950 XRS.
This command displays network policy information.
Label | Description |
Policy-Id | The ID that uniquely identifies the policy. |
Remark | True Remarking is enabled for all packets that egress this router where the network policy is applied. The remarking is based on the forwarding class to DSCP and LSP EXP bit mapping defined under the egress node of the network QoS policy. |
False Remarking is disabled. | |
Description | A text string that helps identify the policy’s context in the configuration file. |
Forward Class/ FC Name | Specifies the forwarding class name. |
Profile | Out Specifies that IP packets requiring marking the egress on this forwarding class queue that are out of profile. |
In Specifies that IP packets requiring marking the egress on this forwarding class queue that are in profile. | |
Accounting | Packet-based Specifies that the meters associated with this policy do not account for packet framing overheads (such as Ethernet the Inter Frame Gap (IFG) and the preamble), while accounting for the bandwidth to be used by this flow. Frame-based Specifies that the meters associated with this policy account for the packet framing overheads (such as for Ethernet the IFG and preamble), while accounting the bandwidth to be used by the flow. |
DSCP Mapping: | |
Out-of-Profile | Displays the DSCP used for out-of-profile traffic. |
In-Profile | Displays the DSCP used for in-profile traffic. |
LSP EXP Bit Mapping: | |
Out-of-Profile | Displays the LSP EXP value used for out-of-profile traffic. |
In-Profile | Displays the LSP EXP value used for in-profile traffic. |
Interface | Displays the interface name. |
IP Addr | Displays the interface IP address. |
Port-Id | Specifies the physical port identifier that associates the interface. |
This command displays QoS information for self-generated traffic. In the output, “none” means that the default values for each application are used, not that there is no value set. For a list of application defaults, see QoS for Self-Generated (CPU) Traffic on Network Interfaces and Table 18.
This command displays application QoS settings.
This command displays DSCP to FC mappings.
be, ef, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cp9, cs1, cs2, cs3, cs4, cs5, nc1, nc2, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cp11, cp13, cp15, cp17, cp19, cp21, cp23, cp25, cp27, cp29, cp31, cp33, cp35, cp37, cp39, cp41, cp42, cp43, cp44, cp45, cp47, cp49, cp50, cp51, cp52, cp53, cp54, cp55, cp57, cp58, cp59, cp60, cp61, cp62, cp63