7.6. Network QoS Policy Command Reference

7.6.1. Command Hierarchies

7.6.1.1. Configuration Commands

config
— qos
[no] mpls-lsp-exp-profile-map policy-id [create]
description description-string
lsp-exp lsp-exp-value profile {in | out}
— no lsp-exp
config
— qos
[no] network network-policy-id [network-policy-type {network-policy-type}]
description description-string
egress
remark
— no remark policy-id
[no] remarking
default-action fc fc-name profile {in | out | use-dei}
dot1p dot1p-priority fc fc-name profile {in | out}
— no dot1p dot1p-priority
[no] fc fc-name [create]
meter meter-id
— no meter
multicast-meter meter-id
dscp dscp-name fc fc-name profile {in | out}
— no dscp dscp-name
lsp-exp lsp-exp-value fc fc-name
— no lsp-exp lsp-exp-value
mpls-lsp-exp-profile policy-id
meter meter-id [multipoint] [create]
— no meter meter-id
adaptation-rule [cir adaptation-rule] [pir adaptation-rule]
cbs size [kbits | bytes | kbytes]
— no cbs
mbs size [kbits | bytes | kbytes]
— no mbs
mode mode
— no mode
rate cir-rate-in-kbps [pir pir-rate-in-kbps]
— no rate
scope {exclusive | template}
— no scope

7.6.1.2. Self-Generated Traffic Commands

config
— router
application dscp-app-name dscp {dscp-value | dscp-name}
application dot1p-app-name dot1p dot1p-priority
— no application {dscp-app-name | dot1p-app-name}
dscp dscp-name fc fc-name
— no dscp dscp-name
— service
— vprn
— sgt-qos               (See Note below)
— application dscp-app-name dscp {dscp-value | dscp-name}
— application dot1p-app-name dot1p dot1p-priority
— no application {dscp-app-name | dot1p-app-name}
— dscp dscp-name fc fc-name
— no dscp dscp-name
Note:

For descriptions of the config service vprn sgt-qos commands, refer to the VPRN Service Configuration Commands section in the 7210 SAS-R6, R12 Services Guide.

7.6.1.3. Operational Commands

config
— qos
copy network src-pol dst-pol [overwrite]

7.6.1.4. Show Commands

show
— qos
dscp-table [value dscp-value]
network policy-id [detail]
network [network-policy-id] association
network [network-policy-id] [detail]
mpls-lsp-exp-profile [policy-id] [detail] (available only in Network Mode)
show
router [router-instance]
router service-name service-name
application [app-name] [dscp | dot1p]
dscp-map [dscp-name]

7.6.2. Command Descriptions

7.6.2.1. Configuration Commands

7.6.2.1.1. Generic Commands

description

Syntax 
description description-string
no description
Context 
config>qos>network
config>qos>mpls-lsp-exp-profile-map
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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.

Parameters 
description-string—
Specifies a text string describing the entity. Allowed values are any string up to 80 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

7.6.2.1.2. Network QoS Policy Commands

mpls-lsp-exp-profile-map

Syntax 
mpls-lsp-exp-profile-map policy-id [create]
no mpls-lsp-exp-profile-map
Context 
config>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to create a new mpls-lsp-exp-profile-map policy. The policy specifies the profile to assign to the packet based on the MPLS LSP EXP bits value matched in the MPLS packet received on a network IP interface.

The assigned profile is available for use by the meter or policer associated with FC in the network policy attached to the IP interface.

The policy is associated with the network policy attached to a network IP interface.

Default 

1 (default mpls-lsp-exp-profile-map policy “1”)

Parameters 
policy-id—
Specifies the policy on the 7210 SAS.
Values—
1 to 65535

 

create—
Keyword to create a policy.

lsp-exp

Syntax 
lsp-exp lsp-exp-value
no lsp-exp
Context 
config>qos> mpls-lsp-exp-profile-map
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates a mapping between the LSP EXP bits of the network ingress traffic and the profile.

Ingress traffic that matches the specified LSP EXP bits is assigned the corresponding profile.

Multiple commands can be entered to define the association of some or all eight LSP EXP bit values to the profile. For undefined values, packets are assigned the profile value out.

The no form of this command removes the association of the LSP EXP bit value to the profile value. The default profile value out then applies to that LSP EXP bit pattern.

Parameters 
lsp-exp-value—
Specifies the 3-bit LSP EXP bit value, expressed as a decimal integer.
Values—
0 to 7

 

network

Syntax 
network network-policy-id [network-policy-type {ip-interface | port}]
no network network-policy-id
Context 
config>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates or edits a QoS network policy. The network policy defines the treatment packets receive as they ingress and egress the network port and network IP interface in the network mode of operation.

The QoS network policy consists of an ingress and egress component. The ingress component of the policy defines how bits are mapped to the internal FC and profile state. The FC and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the 7210 SAS. 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. It also defines the rate-limiting parameters for the traffic mapped to each FC. Traffic mapped to each FC can be rate limited using separate meters for unicast and multipoint traffic.

The egress component of the network QoS policy defines FC and profile state to packet header priority bit values for traffic transmitted into the core network. If the egressing packet originated on an ingress SAP, the parameter is always enabled for the network port. The egress QoS policy also defines the dot1p bit marking based on the FC and the profile state.

In network mode, network policy ID 2 exists as the default policy that is applied to all network interfaces. This default policy cannot be modified or deleted. It defines the default LSP EXP-to-FC mapping and default meters for unicast traffic and optional multipoint meters for BUM traffic on the ingress MPLS packets. For the egress, it defines eight FCs, which define LSP EXP values and the packet marking behavior.

In network mode, network policy ID 1 exists as the default policy that is applied to all network ports. This default policy cannot be modified or deleted. It defines the default DSCP-to-FC mapping and default unicast meters for ingress IP traffic. For the egress, it defines the FC to dot1p and DSCP values and the packet marking criteria.

In network mode, if a new network policy is created (for example, policy-id), only the default action, default meters for unicast and multipoint traffic, and egress FC parameters are identical to the default policy. A new network policy does not contain the default LSP EXP-to-FC mapping for a network QoS policy of the ip-interface type or the DSCP-to-FC mapping (for a network QoS policy of the port type). The default network policy can be copied (using the copy command) to create a new network policy that includes the default ingress LSP EXP or DSCP to FC mapping (as appropriate). You can modify parameters or use the no form of the command to remove an object from the configuration.

Changes made to an existing policy using any of the subcommands, are applied immediately to all network ports where this policy is applied. For this reason, when many changes are required on a policy, Nokia highly recommends 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.

Default 

system default network policy 1

Parameters 
network-policy-id—
Specifies the policy on the interface or port.
Values—
1 to 65535

 

network-policy-type —
Specifies the type of the policy, either ip-interface or port. It defines where this network policy can be applied.
ip-interface—
Specifies only EXP-based classification rules and marking values. It can only be associated with an IP interface.
port—
Specifies only DSCP and dot1p classification rules and marking values in network mode. It can only be associated with a network port or hybrid port.

scope

Syntax 
scope {exclusive | template}
no scope
Context 
config>qos>network
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the network policy scope as exclusive or template.

The no form of this command reverts to the default value.

Default 

template

Parameters 
exclusive—
Specifies that the policy can only be applied to one interface. If a policy with an exclusive scope is assigned to a second interface, an error message is generated. If the policy is removed from the exclusive interface, the policy becomes available for assignment to another exclusive interface. The system default policies cannot be put into the exclusive scope. An error is generated if scope exclusive is executed in any policies with a policy-id equal to 1.
template—
Specifies that the policy can be applied to multiple interfaces on the router. Default QoS policies are configured with template scopes. An error is generated if you try to modify the scope template parameter to scope exclusive on default policies.

use-global-mpls-lsp-exp-profile

Syntax 
use-global-mpls-lsp-exp-profile policy-id
no use-global-mpls-lsp-exp-profile
Context 
config>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command associates the mpls-lsp-exp-profile-map policy for use with LDP LSPs. When color-aware metering is in use for the IP interface, the policy specified using this command provides the profile to assign to the MPLS packets received on any of the network IP interfaces in use in the system. The MPLS EXP bits in the received packet are matched for assigning the profile.

On system boot-up, the policy ID is set to the default value (policy ID 1). The user can choose a different policy.

For LDP LSP traffic, the system always uses the global mpls-lsp-exp-profile-map policy. For RSVP LSP traffic, the system uses the mpls-lsp-exp-profile-map policy associated with the network policy. Nokia highly recommends using a single mpls-lsp-exp-profile-map policy for all the network policies when FRR facility is in use for consistent QoS treatment.

The no form of this command reverts the policy to the default policy.

Default 

1

Parameters 
policy-id—
Specifies the mpls-lsp-exp-profile-map policy to use.
Values—
1 to 65535

 

7.6.2.1.3. Network Ingress QoS Policy Commands

fc

Syntax 
fc fc-name [create]
no fc fc-name
Context 
config>qos>network>ingress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates a class instance of the FC. After the fc-name is created, classification actions can be applied, which can be used in match classification criteria.

By default, undefined FCs use the parameters configured in the default policy policy-id 1.

The no form of this command removes all the explicit meter mappings for fc-name forwarding types. The meter mappings revert to the default meters for fc-name.

Parameters 
fc-name—
Specifies a case-sensitive, system-defined FC name for which policy entries will be created.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

create—
Keyword to create the FC. The create keyword requirement can be enabled in the environment>create context.

ingress

Syntax 
ingress
Context 
config>qos>network
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command is used to enter the CLI node that creates or edits policy entries that specify the FC mapping packets.

When pre-marked packets ingress on a network port, the QoS treatment through the 7210 SAS is based on the mapping defined under the current node.

default-action

Syntax 
default-action fc fc-name [profile {in | out}]
Context 
config>qos>network>ingress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures the default action taken for packets that have undefined LSP EXP bits set. The default-action command specifies the FC to which the packets are assigned.

Multiple default-action commands overwrite each previous default-action command.

Default 

default-action fc be profile out

Parameters 
fc fc-name
Specifies the FC name. All packets with LSP EXP or dot1p bits that are not defined are placed in this FC.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

profile {in | out}
Specifies the profile of the packet. All packets that are assigned to this FC are considered in or out of profile based on this command.
Values—
in — Defines the packet profile as in-profile.
out — Defines the packet profile to be out-of-profile.

 

fc

Syntax 
fc fc-name [create]
no fc fc-name
Context 
config>qos>network>ingress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates a class instance of the FC. After the fc-name is created, classification actions can be applied and it can be used in match classification criteria.

By default, undefined FCs use the parameters configured in the default network policy ID 1.

The no form of this command removes all the explicit meter mappings for fc-name forwarding types. The meter mappings revert to the default meters for fc-name.

Parameters 
fc-name—
Specifies the case-sensitive, system-defined FC name for which policy entries are created.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

create—
Keyword to create the FC. The create keyword requirement can be enabled in the environment>create context.

dot1p

Syntax 
dot1p dot1p-priority fc fc-name profile {in | out}
no dot1p dot1p-priority
Context 
config>qos>network>ingress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command explicitly configures the FC or enqueuing priority and profile of the packet when a packet has the dot1p-priority specified. Adding a dot1p rule on the policy forces packets that match the dot1p-priority specified to be assigned to the FC and enqueuing priority and profile of the packet based on the parameters included in the dot1p rule.

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 eight Class-of-Service (CoS) values commonly used to map packets to per-hop QoS behavior.

The no form of this command removes the explicit dot1p classification rule from the policy. Removing the rule from the policy immediately removes the rule from all ingress SAP ports using the policy.

Parameters 
dot1p-priority—
Specifies the unique IEEE 802.1p value that will match the dot1p rule. If the command is executed multiple times with the same dot1p-priority value, the previous FC is completely overridden by the new parameters.

A maximum of eight dot1p rules are allowed on a single policy.

Values—
0 to 7

 

fc fc-name
Specifies a predefined FC in the system. Specifying the fc-name is optional. When a packet matches the rule, the FC is overridden only when the fc fc-name parameter is defined on the rule. If the packet matches and the FC is not explicitly defined in the rule, the FC is inherited based on previous rule matches.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

profile {in | out}
Specifies the profile of the packet. All packets that are assigned to this FC are considered in or out of profile based on this command.
Values—
in — Defines the packet profile as in-profile.
out — Defines the packet profile to be out-of-profile.

 

meter

Syntax 
meter meter-id [multipoint] [create]
no meter meter-id
Context 
config>qos>network>ingress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures an ingress network QoS policy meter. The meter command allows the creation of multipoint meters. Only multipoint meters can receive ingress packets that need to be sent to multiple destinations.

Multipoint meters are for traffic bound to multiple destinations. Within non-multipoint services, such as Epipe services, all traffic is considered unicast because of the nature of the service type. Multicast and broadcast-destined traffic in an Epipe service is not mapped to a multipoint service meter.

The no form of this command removes the meter-id from the network ingress QoS policy and from any existing ports using the policy. Any FC forwarding types that are mapped to the meter revert to their default meters. When a meter is removed, any pending accounting information is discarded for each port meter created, because of the definition of the meter in the policy.

Default 

meter 1 (for unicast traffic)

meter 9 multipoint (for all traffic other than unicast traffic)

Parameters 
meter-id—
Specifies the meter within the policy.
Values—
1 to 12

 

multipoint—
Specifies that this meter-id is for multipoint forwarded traffic only. This meter-id can only be explicitly mapped to the FC multicast, broadcast, or unknown unicast ingress traffic. If you attempt to map FC unicast traffic to a multipoint queue, an error is generated and no changes are made to the current unicast traffic queue mapping.

The meter must be created as multipoint. The multipoint designator cannot be defined after the meter is created. If an attempt is made to modify the command to include the multipoint keyword, an error is generated and the command does not execute.

The multipoint keyword can be entered in the command line on a pre-existing multipoint meter to edit meter-id parameters.

create—
Keyword to create the ingress network QoS policy meter.

meter

Syntax 
meter meter-id
no meter
Context 
config>qos>network>ingress>fc
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command overrides the default unicast forwarding type meter mapping for fc fc-name. The specified meter-id must exist within the policy as a non-multipoint meter before the mapping can be made. After the FC mapping is executed, all unicast traffic on a port using this policy is forwarded using the meter-id.

The no form of this command sets the unicast (point-to-point) meter-id back to the default meter for the FC (meter 1).

Default 

meter 1

Parameters 
meter-id—
Specifies the meter. The specified parameter must be an existing, non-multipoint meter defined in the config>qos>network>ingress context.
Values—
1 to 12

 

multicast-meter

Syntax 
multicast-meter meter-id
no multicast-meter
Context 
config>qos>network>ingress>fc
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command overrides the default multicast forwarding type meter mapping for fc fc-name. The specified meter-id must exist within the policy as a multipoint meter before the mapping can be made. After the FC mapping is executed, all multicast traffic on a port using this policy is forwarded using the meter-id.

This command can only be used with a network policy of the ip-interface type.

The no form of this command reverts the multicast forwarding type meter ID to the default value.

Default 

9

Parameters 
meter-id—
Specifies the multicast meter. The specified parameter must be an existing, multipoint meter defined in the config>qos>network>ingress context.
Values—
1 to 12

 

dscp

Syntax 
dscp dscp-name fc fc-name profile {in | out}
no dscp dscp-name
Context 
config>qos>network>ingress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates a mapping between the DiffServ Code Point (DSCP) of the network ingress traffic and the FC.

Ingress traffic that matches the specified DSCP is assigned to the corresponding FC. Multiple commands can be entered to define the association of some or all 64 DSCPs to the FC. For undefined code points, packets are assigned to the FC 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.

Parameters 
dscp-name—
Specifies the name of the DSCP to be associated with the FC. The DSCP can only be specified by its name and only an existing DSCP can be specified. The software provides names for the well known code points.

Table 33 shows the available system-defined names. The system-defined names must be referenced as all lower case, exactly as shown in the first column in Table 33 and Table 34.

Additional names to code point value associations can be added using the dscp-name dscp-name dscp-value command.

The actual mapping is being performed 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 occurs. The second name is not accepted until the first name is removed.

Table 33:  Default DSCP Names to DSCP Value Mapping  

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

Table 34:  Default Class Selector Code Points to DSCP Value Mapping  

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

fc fc-name
Specifies the FC with which the code point will be associated.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

profile {in | out}
Specifies whether the DSCP value is the in-profile or out-of-profile value.
Note:

  1. DSCP values mapping to FCs Expedited (ef), High-1 (h1), and Network-Control (nc) can only be set to in-profile.
  2. DSCP values mapping to FC be can only be set to out-of-profile
Values—
in — Defines the packet profile as in-profile.
out — Defines the packet profile to be out-of-profile.

 

lsp-exp

Syntax 
lsp-exp lsp-exp-value fc fc-name
no lsp-exp lsp-exp-value
Context 
config>qos>network>ingress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates a mapping between the LSP EXP bits of the network ingress traffic and the FC.

Ingress traffic that matches the specified LSP EXP bits is assigned to the corresponding FC. Multiple commands can be entered to define the association of some or all eight LSP EXP bit values to the FC. For undefined values, packets are assigned to the FC specified under the default-action command.

The no form of this command removes the association of the LSP EXP bit value to the FC. The default-action command then applies to that LSP EXP bit pattern.

Parameters 
lsp-exp-value—
Specifies the LSP EXP values associated with the FC.
Values—
0 to 8 (decimal representation of three EXP bit field)

 

fc fc-name
Specifies the FC that the EXP bit pattern are associated with.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

adaptation-rule

Syntax 
adaptation-rule [cir adaptation-rule] [pir adaptation-rule]
no adaptation-rule
Context 
config>qos>network>ingress>meter
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command defines the method used by the system to derive the operational CIRs and PIRs when the meter is provisioned in hardware. For the cir and pir parameters, the system attempts to find the best operational rate depending on the defined constraint.

The no form of this command removes any explicitly defined constraints used to derive the operational CIR and PIR created by the application of the policy. When a specific adaptation-rule is removed, the default constraints for rate and cir apply.

Default 

adaptation-rule cir closest pir closest

Parameters 
cir adaptation-rule
Specifies the adaptation rule and defines the constraints enforced to adapt the CIR defined using the meter meter-id rate command. The cir parameter requires a qualifier that defines the constraint used to derive the operational CIR for the meter. When the cir command is not specified, the default constraint applies. The max (maximum), min (minimum), and closest qualifiers are mutually exclusive. See Table 22 for information about supported hardware step-size rates.
Default—
closest
Values—
max — Specifies that the operational CIR value is equal to or less than the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.
min — Specifies that the operational CIR value is equal to or greater than the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.
closest — Specifies that the operational CIR value is equal to the closest specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.

 

pir adaptation-rule
Specifies the adaptation rule and defines the constraints enforced to adapt the PIR defined using the meter meter-id rate command. The pir parameter requires a qualifier that defines the constraint used to derive the operational PIR for the meter. When the rate command is not specified, the default constraint applies. The max (maximum), min (minimum), and closest qualifiers are mutually exclusive. See Table 22 for information about supported hardware step-size rates.
Default—
closest
Values—
max — Specifies that the operational PIR value is less than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.
min — Specifies that the operational PIR value is equal to or greater than the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.
closest — Specifies that the operational CIR value is equal to the closest specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.

 

cbs

Syntax 
cbs size [kbits | bytes | kbytes]
no cbs
Context 
config>qos>network>ingress>meter
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command overrides the default CBS for the meter. The committed burst size parameter specifies the maximum burst size that can be transmitted by the source while still complying with the CIR. If the transmitted burst is lower than the CBS value, the packets are marked as in-profile by the meter to indicate that the traffic is complying with meter-configured parameters.

The no form of this command reverts the CBS to the default value.

Default 

32 kbits

Parameters 
size—
Specifies the size parameter as an integer expression of the number of kilobits, kilobytes, or bytes reserved for the meter; for example, if a value of 100 kbs is desired, enter the value 100. The bucket size is rounded to the next highest 4096 bytes boundary. The value can be specified in kilobits, kilobytes, or bytes.
Values—
kbits — 4 to 2146959, default
bytes — 512 to 274810752
kbytes — 1 to 268369

 

mbs

Syntax 
mbs size [kbits | bytes | kbytes]
no mbs
Context 
config>qos>network>ingress>meter
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command overrides the default MBS for the meter. The maximum burst size parameter specifies the maximum burst size that can be transmitted by the source while still complying with the CIR. If the transmitted burst is lower than the MBS value, the packets are marked as in-profile by the meter to indicate that the traffic is complying with meter-configured parameters.

The no form of this command reverts the MBS to the default value.

Default 

512 kbits

Parameters 
size—
Specifies the size parameter is an integer expression of the number of kilobits reserved for the meter; for example, if a value of 100 kbs is desired, enter the value 100. The bucket size is rounded to the next highest 4096 bytes boundary.
Values—
kbits — 4 to 2146959, default
bytes — 512 to 274810752
kbytes — 1 to 268369

 

mode

Syntax 
mode mode
no mode
Context 
config>qos>network>ingress>meter
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command defines the mode of the meter. The mode can be configured as Two Rate Three Color Marker (trTCM) or Single Rate Three Color Marker (srTCM). The mode command can be executed at any time.

The no form of this command reverts to the default value.

Default 

trtcm

Parameters 
trtcm—
Keyword to meter the packet stream and mark the packets green, yellow, or red. A packet is marked red if it exceeds the PIR. Otherwise, it is marked yellow or green depending on whether it exceeds or does not exceed the CIR. The trTCM1 is useful for ingress policing of a service, where a peak rate needs to be enforced separately from a committed rate.
srtcm—
Keyword to meter a packet stream and mark the packets green, yellow, or red. Marking is based on a CIR and two associated burst sizes, a CBS and an MBS. A packet is marked green if it does not exceed the CBS, yellow if it exceeds the CBS but not the CIR, and red otherwise. The srTCM is useful for ingress policing of a service, where only the length, not the peak rate, of the burst determines service eligibility.

rate

Syntax 
rate cir cir-rate-in-kbps [pir pir-rate-in-kbps]
no rate
Context 
config>qos>network>ingress>meter
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the administrative PIR and CIR parameters for the meter.

The rate command can be executed at any time, altering the PIR and CIR for all meters created through the association of the network QoS policy with the meter-id.

The no form of this command reverts all meter instances created with this meter-id to the default.

Note:

The value of rates are represented in 1000 kilobits per second and bursts are represented in 1024 kilobits per second.

Default 

rate 0 pir max

Parameters 
cir cir-rate-in-kbps
Specifies the administrative CIR rate, in kilobits, for the meter. The cir parameter overrides the default administrative CIR used by the meter. When the rate command has not been executed or the cir parameter is not explicitly specified, the default CIR (0) is assumed.

Fractional values are not allowed and values must be a positive integer.

The actual CIR is dependent on the meter adaptation-rule parameters and the hardware.

Values—
0 to 20000000, max

 

pir pir-rate-in-kbps
Specifies the administrative PIR rate for the meter, in kilobits. When this command is executed, a valid PIR value must be explicitly defined. When the rate command has not been executed, the default PIR of max is assumed. When the rate command is executed, a PIR setting is optional.

The max default specifies the amount of bandwidth in kilobits per second (1000 bits per second). The max value is mutually exclusive to the pir-rate value.

Fractional values are not allowed and values must be a positive integer.

The actual PIR is dependent on the meter adaptation-rule parameters and the hardware.

Note:

If the meter mode is configured as trtcm2, the system configures the policer EIR rate, based on the value of the PIR configured by the user.

Values—
0 to 20000000, max

 

mpls-lsp-exp-profile

Syntax 
mpls-lsp-exp-profile policy-id [create]
no mpls-lsp-exp-profile
Context 
config>qos>network>ingress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the mpls-lsp-exp-profile-map policy to use for assigning profile values for packets received on this IP interface.

Note:

For LDP LSP traffic, the system always uses the global mpls-lsp-exp-profile-map policy. For RSVP LSP traffic, system uses the mpls-lsp-exp-profile-map policy associated with the network policy. Nokia highly recommends using a single mpls-lsp-exp-profile-map policy for all the network policies when FRR facility or PHP is in use, for consistent QoS treatment.

The no form of this command removes the policy.

Parameters 
policy-id—
Specifies the policy on the 7210 SAS.
Values—
1 to 65535

 

7.6.2.1.4. Network Egress QoS Policy Commands

egress

Syntax 
egress
Context 
config>qos>network
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates or edits egress policy entries that specify the FC dot1p marking map to be instantiated when this policy is applied to the network port.

The FC and profile state mapping to EXP bits mapping for all packets are defined in this context.

All out-of-profile service packets are marked with the corresponding out-of-profile EXP bit value at network egress. All in-profile service ingress packets are marked with the corresponding in-profile EXP bit value based on the FC to which they belong.

remark

Syntax 
remark policy-id
no remark
Context 
config>qos>network>egress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command specifies the remarking policy ID to use for marking packets on network ports and egress network IP interfaces.

The remarking policy ID can be associated with the network QoS policy associated with a network port or network IP interface. Remarking must be enabled in the network QoS policy to mark packets sent out of the network port or network IP interface. The user can use the following remarking policy types: dot1p, dscp, and dot1p-dscp when the remark policy is associated with a network QoS policy of the port type. The user should use remarking policies of the lsp-exp and dot1p-lsp-exp-shared type when the remark policy is associated with a network QoS policy of the ip-interface type.

Table 48 describes the remark policies, their attachment points supported on the node, and their uses.

The no form of this command removes the explicit association of the remark policy and associates the default remark policy. Therefore, if remarking is enabled and the no remark command is configured, the default remark policy is used to mark sent packets.

Parameters 
policy-id—
Specifies the remark policy ID.
Values—
1 to 65535

 

remarking

Syntax 
[no] remarking
Context 
config>qos>network>egress
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to remark egress packets sent out of network ports and hybrid ports.

The remarking command specifies that the remark policy configured in the QoS policy context is used to determine the FC-to-QoS bit mapping. For example, when remarking is enabled in the network QoS policy, the remark policy associated with the network QoS policy is used to determine the FC-to-EXP marking for packets sent out of access ports.

Table 48 describes remark policies that you can use to configure FC-to-priority bit markings in different QoS policies associated with different service entities.

The no form of this command disables remarking. When remarking is disabled for MPLS LSR traffic, EXP values received at ingress are not modified at egress. For MPLS LER traffic, where the node adds the MPLS encapsulation, MPLS EXP bits are set based on the mapping specified in the policy associated with the IP interface. If the user does not attach an explicit policy, the default policy is used.

Default 

no remarking

7.6.2.2. Self-Generated Traffic Commands

sgt-qos

Syntax 
sgt-qos
Context 
config>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure DSCP/dot1p remarking for select self-generated traffic.

application

Syntax 
application dscp-app-name dscp {dscp-value | dscp-name}
application dot1p-app-name dot1p dot1p-priority
no application {dscp-app-name | dot1p-app-name}
Context 
config>router>sgt-qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures DSCP and dot1p remarking for self-generated application traffic. When an application is configured using this command, the specified DSCP name/value are used for all packets generated by this application within the configured router instance. The instances can be base router or VPRN service.

Using the value configured in this command does the following:

  1. sets the DSCP bits in the IP packet
  2. maps to the FC
  3. based on this FC, the egress QoS policy sets the Ethernet 802.1p and MPLS EXP bits, including ARP and IS-IS packets that, because of their nature, do not carry DSCP bits
  4. the DSCP value in the egress IP header is as configured in this command

Only one DSCP name/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 to the default value.

Parameters 
dscp-app-name —
Specifies the DSCP application name.
Values—
The following values apply to the base router instance:
bgp, dns, ftp, icmp, igmp, ldp, ndis, ntp, ospf, pim, ptp, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute, vrrp, arp, isis

 

dscp-value—
Specifies a value when this packet egresses the respective egress policy. This value should provide the mapping for the DSCP value to either LSP-EXP bits or IEEE 802.1p bits as appropriate, otherwise the default mapping applies.
Values—
0 to 63

 

dscp-name—
Specifies the DSCP name.
Values—
none, 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

 

dot1p-priority—
Specifies the dot1p priority.
Values—
none, or 0 to 7

 

dot1p-app-name—
Specifies the dot1p application name.
Values—
arp, isis

 

dscp

Syntax 
dscp dscp-name fc fc-name
no dscp dscp-name
Context 
config>router>sgt-qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command creates a mapping between the DSCP of the self-generated traffic and the FC.

Self-generated traffic for configured applications that matches the specified DSCP are assigned to the corresponding FC. Multiple commands can be entered to define the association of some or all 64 DSCPs to an FC.

All DSCP names that define a DSCP value must be explicitly defined.

The no form of this command removes the DSCP-to-FC association.

Parameters 
dscp-name—
Specifies the name of the DSCP to be associated with the FC. A DSCP can only be specified by its name and only an existing DSCP can be specified. The software provides names for the well known code points.
Values—
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

 

fc fc-name
Specifies the FC name. Applications and protocols that are configured under the dscp command will use the configured IP DSCP value.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

7.6.2.3. Operational Commands

copy

Syntax 
copy network src-pol dst-pol [overwrite]
Context 
config>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

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.

Parameters 
network src-pol dst-pol
Specifies the source policy that the copy command will copy and the destination policy to which the command will duplicate the policy to a new or different policy ID. This parameter indicates that the source and destination policies are network policy IDs.
Values—
1 to 65535

 

overwrite—
Specifies to replace the existing destination policy. Everything in the existing destination policy is overwritten with the contents of the source policy. If overwrite is not specified, an error occurs, if the destination policy ID exists.
Example:
SR>config>qos# copy network 1 427
MINOR: CLI Destination "427" exists use {overwrite}.
SR>config>qos# copy network 1 427 overwrite

7.6.2.4. Show Commands

dscp-table

Syntax 
dscp-table [value dscp-value]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays DSCP name and DSCP value mappings.

Parameters 
value dscp-value
Specifies the DSCP value for which to display information.
Values—
0 to 63

 

Default—
all values
Output 

The following output is an example of DSCP information, and Table 35 describes the output fields.

Sample Output
A:ALA-48# show qos dscp-table
===========================================================
DSCP Mapping
===========================================================
DSCP Name      DSCP Value     TOS (bin)      TOS (hex)
-----------------------------------------------------------
be             0              0000 0000      00
cp1            1              0000 0100      04
cp2            2              0000 1000      08
cp3            3              0000 1100      0C
cp4            4              0001 0000      10
cp5            5              0001 0100      14
cp6            6              0001 1000      18
cp7            7              0001 1100      1C
cs1            8              0010 0000      20
cp9            9              0010 0100      24
af11           10             0010 1000      28
cp11           11             0010 1100      2C
af12           12             0011 0000      30
cp13           13             0011 0100      34
af13           14             0011 1000      38
cp15           15             0011 1100      3C
cs2            16             0100 0000      40
cp17           17             0100 0100      44
af21           18             0100 1000      48
cp19           19             0100 1100      4C
af22           20             0101 0000      50
cp21           21             0101 0100      54
af23           22             0101 1000      58
cp23           23             0101 1100      5C
cs3            24             0110 0000      60
cp25           25             0110 0100      64
af31           26             0110 1000      68
cp27           27             0110 1100      6C
af32           28             0111 0000      70
cp29           29             0111 0100      74
af33           30             0111 1000      78
cp31           31             0111 1100      7C
cs4            32             1000 0000      80
cp33           33             1000 0100      84
af41           34             1000 1000      88
cp35           35             1000 1100      8C
af42           36             1001 0000      90
cp37           37             1001 0100      94
af43           38             1001 1000      98
cp39           39             1001 1100      9C
cs5            40             1010 0000      A0
cp41           41             1010 0100      A4
cp42           42             1010 1000      A8
cp43           43             1010 1100      AC
cp44           44             1011 0000      B0
cp45           45             1011 0100      B4
ef             46             1011 1000      B8
cp47           47             1011 1100      BC
nc1            48             1100 0000      C0
cp49           49             1100 0100      C4
cp50           50             1100 1000      C8
cp51           51             1100 1100      CC
cp52           52             1101 0000      D0
cp53           53             1101 0100      D4
cp54           54             1101 1000      D8
cp55           55             1101 1100      DC
nc2            56             1110 0000      E0
cp57           57             1110 0100      E4
cp58           58             1110 1000      E8
cp59           59             1110 1100      EC
cp60           60             1111 0000      F0
cp61           61             1111 0100      F4
cp62           62             1111 1000      F8
cp63           63             1111 1100      FC
===========================================================
A:ALA-48#
 
 
A:ALA-48# show qos dscp-table value 46
===========================================================
DSCP Mapping
===========================================================
DSCP Name      DSCP Value     TOS (bin)      TOS (hex)
-----------------------------------------------------------
ef             46             1011 1000      B8
===========================================================
A:ALA-48#
Table 35:  Output Fields: QoS Network DSCP 

Label

Description

DSCP Name

Displays the name of the DSCP to be associated with the FC

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 hexadecimal format

network

Syntax 
network [policy-id] [detail]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays network policy information.

Parameters 
policy-id—
Displays information for the specific policy ID.
Values—
1 to 65535

 

Default—
all network policies
detail—
Displays information about ingress and egress bit mappings and network policy interface associations.
Output 

The following outputs are examples of network QoS policy information, and Table 36 describes the output fields:

Sample Output for Policy ID 2
*A:SAS>config>qos>network# show qos network 2 detail 
 
===============================================================================
QoS Network Policy
===============================================================================
-------------------------------------------------------------------------------
Network Policy (2)
-------------------------------------------------------------------------------
Policy-id      : 2                            
Egr Remark     : False                        Egr Rem Plcy : N/A
Forward Class  : be                           Profile      : Out
Scope          : Template                     Policy Type  : IpInterface
Accounting     : packet-based                 
Profile Policy : 1
Local FC       : Disabled                     Global Prof  : 1
Description    : Default network QoS policy.
 
-------------------------------------------------------------------------------
Dot1p Bit Map                         Forwarding Class                Profile
-------------------------------------------------------------------------------
No Matching Entries
 
-------------------------------------------------------------------------------
Meter Mode     CIR Admin CIR Rule   PIR Admin   PIR Rule    CBS Admin MBS Admin
               CIR Oper             PIR Oper                CBS Oper  MBS Oper
-------------------------------------------------------------------------------
1     TrTcm1_CA   0         closest       max       closest   7 KBytes 10 KBytes 
                  0                       max 
9     TrTcm1_CA   0         closest       max       closest   11 KBytes 14 KBytes 
 
 
-------------------------------------------------------------------------------
FC              UCastM         MCastM         
-------------------------------------------------------------------------------
No FC-Map Entries Found.
 
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : system
IP Addr.       : 180.10.10.10/32              Port Id      : system
Interface      : in-band-management
IP Addr.       : 10.135.25.183/24             Port Id      : 1/1/24
Interface      : management
IP Addr.       : 10.135.25.183/24             Port Id      : A/1
===============================================================================
*A:SAS>config>qos>network#
 
 
 
*A:qos1# show qos network 1001 detail 
===============================================================================
QoS Network Policy
===============================================================================
-------------------------------------------------------------------------------
Network Policy (1001)
-------------------------------------------------------------------------------
Policy-id      : 1001                         Remark       : False             
Forward Class  : be                           Profile      : In                
Attach Mode    : mpls                         Config Mode  : mpls              
Scope          : Template                     Policy Type  : IpInterface       
Accounting     : packet-based                                                  
Description    : ip-interface-type
-------------------------------------------------------------------------------
LSP EXP Bit Map                         Forwarding Class                Profile
-------------------------------------------------------------------------------
0                                       be                              Out    
1                                       l2                              Out    
2                                       af                              In     
3                                       l1                              Out    
4                                       h2                              In     
5                                       ef                              Out    
6                                       h1                              Out    
7                                       nc                              In     
-------------------------------------------------------------------------------
Meter Mode   CIR Admin   CIR Rule   PIR Admin   PIR Rule    CBS Admin MBS Admin
             CIR Oper               PIR Oper                CBS Oper  MBS Oper
-------------------------------------------------------------------------------
1     TrTcm_CA  4000      closest       8000      closest   def       def    
                4000                    8000                def       500    
2     TrTcm_CA  4000      closest       7000      closest   16384     16384  
                4000                    7000                16000     16000  
3     TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500    
4     TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500    
5     TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500    
6     TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500    
7     TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500    
8     TrTcm_CA  7000      closest       7000      closest   def       def    
                7000                    7000                def       500    
9     TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500    
10    TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500    
11    TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500    
12    TrTcm_CA  4000      closest       7000      closest   def       def    
                4000                    7000                def       500 
-------------------------------------------------------------------------------
FC                  UCastM         MCastM         
-------------------------------------------------------------------------------
l2                  2              def           
af                  3              def           
l1                  4              def           
h2                  5              12            
ef                  6              11            
h1                  7              10            
nc                  8              9 
-------------------------------------------------------------------------------
Egress Forwarding Class Queuing
-------------------------------------------------------------------------------
FC Value       : 0                            FC Name      : be                
- LSP EXP Bit Mapping
Out-of-Profile : 0                            In-Profile   : 0                 
 
FC Value       : 1                            FC Name      : l2                
- LSP EXP Bit Mapping
Out-of-Profile : 1 
...
===============================================================================
*A:qos1# 
 
Sample Output for Policy ID 1
*A:SAS>config>qos>network# show qos network 1 detail 
 
===============================================================================
QoS Network Policy
===============================================================================
-------------------------------------------------------------------------------
Network Policy (1)
-------------------------------------------------------------------------------
Policy-id      : 1                            
Egr Remark     : False                        Egr Rem Plcy : N/A
Forward Class  : be                           Profile      : Out
Scope          : Template                     Policy Type  : port
Accounting     : packet-based                 
Description    : Default network-port QoS policy.
 
-------------------------------------------------------------------------------
Dot1p Bit Map                         Forwarding Class                Profile
-------------------------------------------------------------------------------
No Matching Entries
 
-------------------------------------------------------------------------------
Meter Mode     CIR Admin CIR Rule   PIR Admin   PIR Rule    CBS Admin MBS Admin
               CIR Oper             PIR Oper                CBS Oper  MBS Oper
-------------------------------------------------------------------------------
1     TrTcm1_CA   0         closest       max       closest   def       def    
                  0                       max                 def       def    
 
 
-------------------------------------------------------------------------------
FC              UCastM         MCastM         
-------------------------------------------------------------------------------
No FC-Map Entries Found.
 
 
-------------------------------------------------------------------------------
Port Attachments
-------------------------------------------------------------------------------
Port-id : 1/1/10                                                               
Port-id : 1/1/11                                                               
Port-id : 1/1/12                                                               
Port-id : 1/1/13                                                               
Port-id : 1/1/20                                                               
Port-id : 1/1/21                                                               
Port-id : 1/1/22                                                               
Port-id : 1/1/23                                                               
Port-id : 1/1/24                                                               
Port-id : 1/1/25                                                               
Port-id : 1/1/26                                                               
Port-id : lag-3                                                                
Port-id : lag-5                                                                
===============================================================================
*A:SAS>config>qos>network# 
 
Table 36:  Output Fields: Network QoS Policy 

Label

Description

Policy-Id

Displays 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 FC to bit mapping defined under the egress node of the network QoS policy.

Description

Displays a text string that helps identify the policy context in the configuration file

Forward Class/FC Name

Specifies the FC name

Profile

Out — Specifies the EXP marking for the packets that are out-of-profile, egressing on this queue

In — Specifies the EXP marking for the packets that are in-of-profile, egressing on this queue

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 for the bandwidth used by the flow

Profile policy

Displays the profile policy ID

Global Prof

Displays the global profile policy ID for LDP packets

Bit Mapping:

Out-of-Profile

Displays the value used for out-of-profile traffic

In-Profile

Displays the 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

mpls-lsp-exp-profile

Syntax 
mpls-lsp-exp-profile-map [policy-id] [detail]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays profile policy information.

Parameters 
policy-id—
Displays information for the specific policy ID.
Values—
1 to 65535

 

detail —
Displays detail policy information.
Output 

The following output is an example of MPLS LSP EXP profile information, and Table 37 describes the output fields.

Sample Output
*A:7210-SAS>show>qos# mpls-lsp-exp-profile-map 1
 
===============================================================================
QoS MPLS LSP EXP Profile Maps
===============================================================================
-------------------------------------------------------------------------------
Profile Map-id     : 1
Description        : Default MPLS LSP EXP Profile Map policy
 
-------------------------------------------------------------------------------
Exp       Profile
-------------------------------------------------------------------------------
0         Out
1         In
2         Out
3         In
4         In
5         In
6         In
7         In
===============================================================================
*A:7210SAS>show>qos# mpls-lsp-exp-profile-map 1 detail
 
===============================================================================
QoS MPLS LSP EXP Profile Maps
===============================================================================
-------------------------------------------------------------------------------
Profile Map-id     : 1
Description        : Default MPLS LSP EXP Profile Map policy
 
-------------------------------------------------------------------------------
Exp       Profile
-------------------------------------------------------------------------------
0         Out
1         In
2         Out
3         In
4         In
5         In
6         In
7         In
 
-------------------------------------------------------------------------------
Network Policy Associations
-------------------------------------------------------------------------------
Network Policy Id             : 2
-------------------------------------------------------------------------------
===============================================================================
*A:7210-SAS>show>qos#
 
Table 37:  Output Fields: Profile Policy 

Label

Description

Profile Map-id

Displays the profile Map ID

Description

Displays a text string that helps identify the policy context in the configuration file

Exp

Displays the EXP. values

Profile

Specifies the marking of the packets as in-profile or out-of-profile

Network Policy Id

Displays the network policy ID with which the mpls-lsp-exp-profile is associated

router

Syntax 
router [router-instance]
router service-name service-name
Context 
show
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays router information.

Parameters 
router-instance—
Specifies the router name or service ID
Values—
router-name — Base
service-id — 1 to 2147483647

 

Default—
Base
service-name—
Specifies the service name, up to 64 characters.

sgt-qos

Syntax 
sgt-qos
Context 
show>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays QoS information about self-generated traffic. In the output, the value “none” indicates that the default value is used; it does not indicate that there is no value set. Table 30 lists application defaults.

application

Syntax 
application [app-name] [dscp | dot1p]
Context 
show>router>sgt-qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays application QoS settings.

Parameters 
app-name—
Specifies the application.
Values—
The following values apply to the base router instance:
bgp, dns, ftp, icmp, igmp, ldp, ndis, ntp, ospf, pim, ptp, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute, vrrp, arp, isis
The following values apply to a VPRN service instance:
bgp, icmp, igmp, ndis, ospf, pim, ssh, telnet, traceroute, vrrp, arp
Note:

  1. The value ptp in the context of SGT QoS is defined as Precision Timing Protocol (PTP) and is an application. The PTP application name is also used in areas such as event-control and logging. PTP is defined in IEEE 1588-2008.
  2. The value ptp in the context of IP filters is defined as Performance Transparency Protocol. IP protocols can be used as IP filter match criteria; the match is made on the 8-bit protocol field in the IP header.

 

dscp—
Displays all DSCP applications.
dot1p—
Displays all dot1p applications.
Output 

The following outputs are examples of application QoS information for the base router and for a VPRN service instance, and Table 38 describes the output fields.

Sample Output for Router
*A:SASM2-DUTA# show router sgt-qos application 
===============================================================================
DSCP Application Values
===============================================================================
Application         DSCP Value                    Default DSCP Value
-------------------------------------------------------------------------------
bgp                 none                          none
dns                 none                          none
ftp                 none                          none
icmp                none                          none
igmp                none                          none
ldp                 none                          none
ndis                none                          none
ntp                 none                          none
ospf                none                          none
pim                 none                          none
ptp                 none                          none
radius              none                          none
rip                 none                          none
rsvp                none                          none
snmp                none                          none
snmp-notification   none                          none
ssh                 none                          none
syslog              none                          none
tacplus             none                          none
telnet              none                          none
tftp                none                          none
traceroute          none                          none
vrrp                none                          none
===============================================================================
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          none
isis                none                          none
===============================================================================
*A:SASM2-DUTA# 
*A:SASM2-DUTA# show router sgt-qos application arp 
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          none
===============================================================================
*A:SASM2-DUTA# 
Sample Output for VPRN Service Instance
*A:SASM2-DUTA# show router 1 sgt-qos application 
===============================================================================
DSCP Application Values
===============================================================================
Application         DSCP Value                    Default DSCP Value
-------------------------------------------------------------------------------
bgp                 none                          none
icmp                cp17                          none
igmp                none                          none
ndis                none                          none
ospf                none                          none
pim                 none                          none
ssh                 none                          none
telnet              none                          none
traceroute          none                          none
vrrp                none                          none
===============================================================================
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          none
isis                none                          none
===============================================================================
*A:SASM2-DUTA#    
*A:SASM2-DUTA>config>service# \show router 1 sgt-qos application  arp 
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          none
===============================================================================
*A:SASM2-DUTA# 
Table 38:  Output Fields: SGT-QoS Application QoS  

Label

Description

Application

Displays the DSCP or dot1p application

DSCP Value

Displays 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

Displays the default DSCP value

Dot1p Value

Displays the dot1p priority assigned to the application (applies only to ARP and IS-IS)

Default Dot1p Value

Displays the default dot1p value

dscp-map

Syntax 
dscp-map [dscp-name]
Context 
show>router>sgt-qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays DSCP-to-FC mappings.

Parameters 
dscp-name—
Specifies the DSCP name.
Values—
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

 

Output 

The following outputs are examples of DSCP-to-FC mapping information for the base router and for a VPRN service instance, and Table 39 describes the output fields.

Sample Output for Router
*A:SASM2-DUTA# show router sgt-qos dscp-map 
===============================================================================
DSCP to FC Mappings
===============================================================================
DSCP Value          FC Value            Default FC Value
-------------------------------------------------------------------------------
be                  nc                  nc
cp1                 be                  be
cp2                 be                  be
cp3                 be                  be
cp4                 be                  be
cp5                 be                  be
cp6                 be                  be
cp7                 be                  be
cs1                 be                  be
cp9                 be                  be
af11                af                  af
cp11                be                  be
af12                af                  af
cp13                be                  be
af13                af                  af
cp15                be                  be
cs2                 be                  be
cp17                be                  be
af21                l1                  l1
cp19                be                  be
af22                l1                  l1
cp21                be                  be
af23                l1                  l1
cp23                be                  be
cs3                 be                  be
cp25                be                  be
af31                l1                  l1
cp27                be                  be
af32                l1                  l1
cp29                be                  be
af33                h2                  l1
cp31                be                  be
cs4                 be                  be
cp33                be                  be
af41                nc                  nc
cp35                be                  be
af42                h2                  h2
cp37                be                  be
af43                h2                  h2
cp39                be                  be
cs5                 be                  be
cp41                be                  be
cp42                be                  be
cp43                be                  be
cp44                be                  be
cp45                be                  be
ef                  ef                  ef
cp47                be                  be
nc1                 nc                  nc
cp49                be                  be
cp50                h2                  h2
cp51                be                  be
cp52                be                  be
cp53                be                  be
cp54                be                  be
cp55                be                  be
nc2                 nc                  nc
cp57                be                  be
cp58                be                  be
cp59                be                  be
cp60                be                  be
cp61                be                  be
cp62                be                  be
cp63                be                  be
===============================================================================
*A:SASM2-DUTA# 
Sample Output for VPRN Service Instance
*A:SASM2-DUTA# show router 1 sgt-qos dscp-map 
===============================================================================
DSCP to FC Mappings
===============================================================================
DSCP Value          FC Value            Default FC Value
-------------------------------------------------------------------------------
be                  nc                  nc
cp1                 be                  be
cp2                 be                  be
cp3                 be                  be
cp4                 be                  be
cp5                 be                  be
cp6                 be                  be
cp7                 be                  be
cs1                 be                  be
cp9                 be                  be
af11                af                  af
cp11                be                  be
af12                af                  af
cp13                be                  be
af13                af                  af
cp15                be                  be
cs2                 be                  be
cp17                ef                  be
af21                l1                  l1
cp19                be                  be
af22                l1                  l1
cp21                be                  be
af23                l1                  l1
cp23                be                  be
cs3                 be                  be
cp25                be                  be
af31                l1                  l1
cp27                be                  be
af32                l1                  l1
cp29                be                  be
af33                l1                  l1
cp31                be                  be
cs4                 be                  be
cp33                be                  be
af41                nc                  nc
cp35                be                  be
af42                h2                  h2
cp37                be                  be
af43                h2                  h2
cp39                be                  be
cs5                 be                  be
cp41                be                  be
cp42                be                  be
cp43                be                  be
cp44                be                  be
cp45                be                  be
ef                  ef                  ef
cp47                be                  be
nc1                 nc                  nc
cp49                be                  be
cp50                h2                  h2
cp51                be                  be
cp52                be                  be
cp53                be                  be
cp54                be                  be
cp55                be                  be
nc2                 nc                  nc
cp57                be                  be
cp58                be                  be
cp59                be                  be
cp60                be                  be
cp61                be                  be
cp62                be                  be
cp63                be                  be
===============================================================================
*A:SASM2-DUTA# 
Table 39:  Output Fields: SGT-QoS DSCP-to-FC Mapping 

Label

Description

DSCP Value

Displays the DSCP values (displayed as names) of the self-generated traffic

FC Value

Displays the FC value mapped to each DSCP value

Default FC Value

Displays the default FC value