This 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.
n/a
This command creates or edits a QoS network policy. The network policy defines the treatment that GRE, IP, or MPLS packets receive as they ingress and egress the network port.
The network-policy-type keyword defines the type of network policy that will be created. The ip-interface type network policy is assigned to router interfaces. The ring type network policy is assigned to bridging domain ports on a ring adapter card.
Using the network-policy-type keyword is optional. If network-policy-type is not used, a default ip-interface policy is created.
![]() | Note:
With the addition of ring ports on the 2-port 10GigE (Ethernet) Adapter card, the network-policy-type keyword allows the creation of network QoS policies for IP interfaces in the IP domain (that is, ingress and egress network ports) and for ring policies in the bridging domain. |
Network policy-id 1 exists as the default policy that is applied to all network interfaces by default. Network policy-id 1 cannot be modified or deleted, and is reapplied when the network-policy-type default keyword is used.
If a new network policy is created for the IP domain (for instance, policy-id 2), only the default action and egress forwarding class parameters are identical to the default policy-id 1. A new network policy does not contain the default DSCP-to-FC or MPLS EXP-to-FC mapping. To create a new network policy that includes the default ingress DSCP-to-FC or MPLS EXP-to-FC mapping, the default network policy-id 1 can be copied (using the copy command). You can modify parameters or use the no modifier to remove an object from the configuration. Similarly, the copy and modify process is used to create a new ring type network policy, where the dot1p-to-queue and profile state mapping are available for use in the new policy.
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 services where it is applied. The default network policy policy-id 1 cannot be deleted.
System Default Network Policy 1 defined
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 defined as 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.
This command is used to enter the CLI mode that creates or edits egress policy entries that specify the forwarding class to be instantiated when this policy is applied to the network port.
The forwarding class and profile state mapping to in-profile and out-of-profile DSCP and MPLS EXP bits mapping for all labeled packets are also defined under this node.
For MPLS tunnels, if network egress Ethernet ports are used, dot1p bit marking can be enabled in conjunction with EXP bit marking. In this case, the tunnel and pseudowire EXP bits do not have to be the same as the dot1p bits.
For GRE and IP tunnels, dot1p marking and pseudowire EXP marking can be enabled, and DSCP marking can also be enabled.
The service packets are transported over an MPLS LSP, GRE tunnel, or IP tunnel.
All out-of-profile service packets are marked with the corresponding DSCP (for GRE or IP packets) or EXP (for MPLS packets) bit value at network egress. All in-profile service packets are marked with the corresponding in-profile DSCP or EXP bit value based on the forwarding class they belong to.
This command specifies the forwarding class name. The fc fc-name represents a CLI parent node that contains sub-commands or parameters describing the marking criteria for that forwarding class. The fc command overrides the default parameters for that forwarding class defined in the network default policy-id 1.
The no form of this command reverts to the defined parameters in the default network policy policy-id 1. If the fc-name is removed from the default network policy policy-id 1, 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 enter the CLI mode that creates or edits policy entries that specify the DSCP to forwarding class mapping for all GRE or IP packets and define the MPLS EXP bits to forwarding class mapping for all labeled packets.
When pre-marked GRE, IP, or MPLS packets ingress on a network port, they get a per-hop behavior (that is, the QoS treatment through the 7705 SAR based on the mapping defined under the current node).
This command defines or edits the default action to be taken for packets that have 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.
n/a
This command creates a mapping between the DSCP of the network ingress traffic and the forwarding class for GRE or IP packets.
Ingress traffic that matches the specified DSCP is assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all 64 DSCP values with 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 DSCP-to-FC association. The default-action then applies to that code point value.
n/a
A maximum of 64 DSCP rules are allowed on a single policy. The specified name must exist as a dscp-name. Table 28 lists all the valid DSCP names.
dscp-name |
be, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cs1, cp9, af11, cp11, af12, cp13, af13, cp15, cs2, cp17, af21, cp19, af22, cp21, af23, cp23, cs3, cp25, af31, cp27, af32, cp29, af33, cp31, cs4, cp33, af41, cp35, af42, cp37, af43, cp39, cs5, cp41, cp42, cp43, cp44, cp45, ef, cp47, nc1, cp49, cp50, cp51, cp52, cp53, cp54, cp55, nc2, cp57, cp58, cp59, cp60, cp61, cp62, cp63 |
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 of the eight LSP EXP bit values with 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 with the forwarding class. The default-action then applies to that LSP EXP bit pattern.
n/a
This command is used to enter the CLI context that creates or edits policy entries that specify the dot1p-to-queue mapping for all packets.
This command defines or edits the default action to be taken for packets that have undefined dot1p bits set. The default-action command specifies the queue to which received packets are assigned as well as their profile state.
Multiple default-action commands will overwrite each previous default-action command.
n/a
This command creates a mapping between the dot1p bits of the ingress traffic and the queue and profile state. A maximum of eight dot1p entries are allowed on a single policy.
The no form of the command removes the association of the dot1p bit value with the queue and profile state. The default-action then applies to that dot1p bit pattern.
0
This command explicitly defines the egress dot1p priority bits values for the forwarding class.
![]() | Note:
When a single dot1p-priority is specified, it is applied to both in-profile and out-of-profile packets. The other forms of the command described below (dot1p-in-profile and dot1p-out-profile) allow different dot1p values for in-profile or out-of-profile packets to be specified. |
The no form of the command sets the dot1p priority bits value to 0.
0
This command specifies dot1p in-profile mappings.
The no form of the command reverts to the factory 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.
The no form of the command reverts to the factory 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 is used for all in-profile GRE or IP packets that require marking at egress on this forwarding class.
IP traffic from network interfaces is always trusted. There is no re-marking performed on network egress for global routing table (GRT) forwarded IP traffic (with the exception of GRE tunnels).
When multiple DSCP names are associated with the forwarding class at network egress, the last name entered overwrites the previous value.
The no form of this command reverts to the factory default in-profile dscp-name setting for policy-id 1.
policy-id 1: factory setting
policy-id 2 to 65535: policy-id 1 setting
A maximum of 64 DSCP rules are allowed on a single policy. The specified name must exist as a dscp-name. Table 28 lists all the valid DSCP names.
This command specifies the out-of-profile DSCP name for the forwarding class. The corresponding DSCP value is for all out-of-profile GRE or IP packets that require marking at egress on this forwarding class.
IP traffic from network interfaces is always trusted. There is no re-marking performed on network egress for global routing table (GRT) forwarded IP traffic (with the exception of GRE tunnels).
When multiple DSCP names are associated with the forwarding class at network egress, the last name entered overwrites the previous value.
The no form of this command reverts to the factory default out-profile dscp-name setting for policy-id 1.
policy-id 1: factory setting
policy-id 2 to 65535: policy-id 1 setting
A maximum of 64 DSCP rules are allowed on a single policy. The specified name must exist as a dscp-name. Table 28 lists all the valid DSCP names.
This command specifies the in-profile LSP EXP value for the forwarding class. The EXP value will be used for all in-profile LSP labeled packets requiring marking at egress on this forwarding class.
When multiple EXP values are associated with the forwarding class at network egress, the last name entered overwrites the previous value.
The no form of this command reverts to the factory default in-profile EXP setting for policy-id 1.
policy-id 1: factory setting
policy-id 2 to 65535: policy-id 1 setting
This command specifies the out-of-profile LSP EXP value for the forwarding class. The EXP value will be used for all out-of-profile LSP labeled packets requiring marking at egress on this forwarding class queue.
When multiple EXP values are associated with the forwarding class at network egress, the last name entered overwrites the previous value.
The no form of this command reverts to the factory default out-of-profile EXP setting for policy-id 1.
policy-id 1: factory setting
policy-id 2 to 65535: policy-id 1 setting
This command enables the context to configure DSCP or dot1p re-marking for self-generated traffic.
This command configures DSCP or dot1p re-marking for self-generated application traffic. When an application is configured using this command, the specified DSCP name or value is used for all packets generated by this application.
The value set in this command:
Only one DSCP name or value can be configured per application. If multiple entries are configured, the subsequent entry overrides the previously configured entry.
The no form of this command reverts the DSCP value for the application back to its default value.
n/a (that is, sgt-qos does not enforce a DSCP value and the application uses its default value, as shown in Table 25)
![]() | Note:
|
This command creates a mapping between the DSCP of the self-generated traffic and the forwarding class.
Self-generated traffic that matches the specified DSCP is assigned to the corresponding forwarding class. Multiple commands can be entered to associate some or all of the 64 DSCP values with the forwarding class.
All DSCP names that define a DSCP value must be explicitly defined.
The no form of the command removes the DSCP-to-FC association.
n/a
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.
ALU>config>qos# copy network 1 427
MINOR: CLI Destination "427" exists use {overwrite}.
ALU>config>qos# copy network 1 427 overwrite
This command displays DSCP name to DSCP value mappings.
The following output is an example of DSCP name to DSCP value mappings information, and Table 29 describes the fields.
Label | Description |
DSCP Name | The name of the DSCP to be associated with the forwarding class |
DSCP Value | The DSCP value ranges (from 0 to 63) |
TOS (bin) | The type of service in binary format |
TOS (hex) | The type of service in hexadecimal format |
This command displays network policy information.
The following outputs are examples of network policy information:
Label | Description |
Policy-Id | The ID that uniquely identifies the policy |
Forward Class | The forwarding class name |
Profile | The profile state of the traffic: In or Out |
Ring Queue | The queue identifier |
Ring Profile | The profile state of the ring traffic: In or Out |
Scope | The scope of the policy: Template or Exclusive |
Policy Type | The type of network policy: Ip-interface, Ring, or Default |
Description | A text string that helps identify the policy’s context in the configuration file |
DSCP | The DSCP name associated with the forwarding class: Forwarding Class — the forwarding class associated with the DSCP Profile — whether the DSCP mapping pertains to in-profile or out-of-profile traffic |
LSP EXP Bit Map | The LSP EXP mapping value used for in-profile or out-of-profile traffic: Forwarding Class — the default-action forwarding class name. All packets with MPLS EXP bits not defined will be placed in this forwarding class. Profile — whether the LSP EXP bit mapping pertains to in-profile or out-of-profile traffic |
Dot1p Bit Map | The dot1p mapping value used for queue and profile state: Queue — the queue in which all packets with the associated dot1p bit values will be placed Profile — whether the dot1p bit mapping pertains to in-profile or out-of-profile traffic |
Egress/Ingress Forwarding Class Queuing | |
FC Value | The forwarding class value |
FC Name | The forwarding class name |
DSCP Mapping | Out-of-Profile - the out-of-profile DSCP mapping for the forwarding class |
In-Profile - the in-profile DSCP mapping for the forwarding class | |
Dot1p Mapping | Out-of-Profile - the out-of-profile dot1p bit mapping for the forwarding class |
In-Profile - the in-profile dot1p bit mapping for the forwarding class | |
LSP EXP Bit Mapping | Out-of-Profile - the out-of-profile LSP EXP bit mapping for the forwarding class |
In-Profile - the in-profile LSP EXP bit mapping for the forwarding class | |
Interface Association | |
Interface | The name of the interface |
IP Addr. | The IP address of the interface |
Port Id | The physical port identifier that associates the interface |
Ring MDA Association | |
MDA | The CLI identifier of the adapter card associated with the policy |
Label | Description |
Policy-id | The ID that uniquely identifies the policy |
Forward Class | The forwarding class name |
Profile | Whether the DSCP mapping pertains to in-profile or out-of-profile traffic |
Ring Queue | The queue assigned to the policy |
Ring Profile | The profile assigned to the policy: In or Out |
Scope | The policy scope: Exclusive or Template |
Policy Type | The type of policy: Ip-interface, Ring, or Default |
Description | A text string that helps identify the policy’s context in the configuration file |
This command displays QoS information about self-generated traffic.
This command displays application QoS settings.
![]() | Note:
|
The following output is an example of application QoS information, and Table 32 describes the fields.
Label | Description |
Application | The DSCP or dot1p application |
DSCP Value | The DSCP name or value assigned to the application; if you assign a value to the application (0 to 63), the DSCP name that maps to the value is displayed |
Default DSCP Value | The default DSCP value |
Dot1p Value | The dot1p priority assigned to the application (applies only to ARP and IS-IS) |
Default Dot1p Value | The default dot1p value |
This command displays the DSCP-to-FC mappings.
The following output is an example of DSCP-to-FC mapping information, and Table 33 describes the fields.
Label | Description |
DSCP Value | The DSCP values (displayed as names) of the self-generated traffic |
FC Value | The FC value mapped to each DSCP value |
Default FC Value | The default FC value |