Self-generated traffic commands for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

sgt-qos

Syntax

sgt-qos

Context

config>router

config>service>vprn

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

Commands in this context configure DSCP and dot1p marking values 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

config>service>vprn>sgt-qos

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command configures DSCP and dot1p marking values 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 within the router instance in which it is configured. The instances can be base router or VPRN service.

The values configured in this command are used to perform the following actions.

  • The values are used to set the DSCP bits in the IP packet.

  • The values are mapped to the FC.

  • The values are used to set the Ethernet 802.1p and MPLS EXP bits in the egress QoS policy, as based on the FC. This includes ARP and IS-IS packets that, because of their nature, do not carry DSCP bits.

  • The values are used to configure the IP DSCP value in the packet IP header when the remarking command is disabled in the egress QoS policy associated with the service object from which the packet is sent out of. If an egress QoS policy is configured and IP DSCP or dot1p remarking is enabled, the DSCP or dot1p bits in the packet header are remarked based on the FC assigned to the packet.

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 to the default value.

Parameters

dscp-app-name

Specifies the DSCP application name.

Values

The following values apply to the base router instance:

bgp, dhcp, dns, ftp, icmp, igmp, ldp, ndis, ntp, ospf, pim, ptp, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute, vrrp

The following values apply to the VPRN instance:

bgp, dhcp, icmp, igmp, ndis, ospf, pim, ssh, telnet, traceroute, vrrp

dscp-value

Specifies a value when this packet egresses. The respective egress policy should provide the mapping for the DSCP value to either LSP-EXP bits or dot1p bits as appropriate; otherwise, 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, 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

config>service>vprn>sgt-qos

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

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

Self-generated traffic for configured applications 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 DSCPs to a forwarding class.

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 forwarding class. Only an existing DSCP can be specified, and it can only be specified by its name. 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 forwarding class name. Applications and protocols that are configured under the dscp command use the configured IP DSCP value.

Values

be, l2, af, l1, h2, ef, h1, nc