dscp dscp-value | dscp-name [dscp-mask]
no dscp
config>qos>sap-ingress>ip-criteria>entry>match
config>qos>sap-ingress>ipv6-criteria>entry>match
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command configures a DiffServ Code Point (DSCP) code point to be used for classification of packets from the specified FC.
The no form of this command removes the DSCP match criterion.
This feature is applicable for ip-criteria (any and dscp-only), and ipv6-criteria (any and dscp-only).
Either DSCP name or DSCP value with a mask can be configured.
When the user configures dscp value alone, the show command displays the dscp value as the configured value and the dscp-mask as the FC.
Specifies the DSCP value in either hexadecimal format, decimal format or binary format.
Specifies a DSCP name that has been previously mapped to a value using the dscp-name command. The DiffServ code point can only be specified by its name.
Specifies a 6-bit mask that can be configured using the following formats:
Format Style | Format Syntax | Example |
---|---|---|
Decimal |
D |
4 |
Hexadecimal |
0xH |
0x4 |
Binary |
0bBBB |
0b100 |
To select a range from 4 up to 7 specify 4 and 0b000100 for value and mask.
dst-ip {ip-address/mask | ip-address netmask}
no dst-ip
config>qos>sap-ingress>ip-criteria>entry>match
config>qos>sap-ingress>ipv6-criteria>entry>match
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command configures a destination address range to be used as a SAP QoS policy match criterion.
To match on the destination address, specify the address and its associated mask; for example, 10.1.0.0/16. The conventional notation of 10.1.0.0 255.255.0.0 can also be used.
The no form of this command removes the destination IP address match criterion.
Specifies the IP address of the destination IP or IPv6 interface. This address must be unique within the subnet and specified in dotted-decimal notation.
Specifies the subnet mask in dotted decimal notation.
dst-port {eq} dst-port-number
no dst-port
config>qos>sap-ingress
config>qos>sap-ingress>ip-criteria>entry>match
config>qos>sap-ingress>ipv6-criteria>entry>match
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command configures a destination TCP or UDP port number for a SAP QoS policy match criterion.
The no form of this command removes the destination port match criterion.
Specifies the TCP or UDP port number to match, specified as equal to (eq) the destination port value specified as a decimal integer.
fragment {true | false}
no fragment
config>qos>sap-ingress>ip-criteria>entry>match
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command configures fragmented or non-fragmented IP packets as a SAP QoS policy match criterion.
The no form of this command removes the match criterion.
fragment false
Keyword to configure a match on all fragmented IP packets. A match will occur for all packets that have either the MF (more fragment) bit set OR have the Fragment Offset field of the IP header set to a non-zero value.
Keyword to configure a match on all non-fragmented IP packets. Non-fragmented IP packets are packets that have the MF bit set to zero and have the Fragment Offset field also set to zero.
ip-prec ip-prec-value [ip-prec-mask]
no ip-prec
config>qos>sap-ingress>ip-criteria>entry>match
config>qos>sap-ingress>ipv6-criteria>entry>match
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command defines a specific IP Precedence value that must be matched to perform the associated classification actions. If an ingress packet on the SAP where the SAP ingress QoS policy is applied to matches the specified IP Precedence value, the actions associated with this entry are taken.
The ip-prec-value is derived from the most significant three bits in the IP header ToS byte field (precedence bits). The three precedence bits define 8 Class-of-Service (CoS) values commonly used to map packets to per-hop QoS behavior. The precedence bits are also part of the newer DiffServ Code Point (DSCP) method of mapping packets to QoS behavior. The DSCP uses the most significant six bits in the IP header ToS byte and so overlaps with the precedence bits.
Both IP precedence and DSCP classification rules are supported. A match entry cannot match on both IP DSCP and IP precedence values. That is, the user can use either IP DSCP or IP precedence match in a match entry but not both. The software blocks configuration of ip-precedence match if ip-dscp is configured already. The converse is also true. A single policy having multiple match entries can have entries such that some of them match IP DSCP and some others match IP precedence. The order of the entry determines the priority of the match.
The no form of this command removes the IP Precedence match criterion.
Specifies the unique IP header ToS byte precedence bits value that will match the IP precedence rule.
Specifies the mask to use for the match.
src-ip {ip-address/mask | ip-address netmask}
no src-ip
config>qos>sap-ingress>ip-criteria>entry>match
config>qos>sap-ingress>ipv6-criteria>entry>match
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command configures a source IP or IPv6 address range to be used as an SAP QoS policy match criterion.
To match on the source IP or IPv6 address, specify the address and its associated mask; for example, 10.1.0.0/16. The conventional notation of 10.1.0.0 255.255.0.0 can also be used.
The no form of this command removes the source IP or IPv6 address match criterion.
Specifies the IP or IPv6 address of the source IP interface. This address must be unique within the subnet and specified in dotted-decimal notation.
Specifies the subnet mask length, expressed as an integer or in dotted-decimal notation.
Specifies the subnet mask, in dotted-decimal notation.
src-port {eq} src-port-number
no src-port
config>qos>sap-ingress>ip-criteria>entry>match
config>qos>sap-ingress>ipv6-criteria>entry>match
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command configures a source TCP or UDP port number for a SAP QoS policy match criterion.
The no form of this command removes the source port match criterion.
Specifies the TCP or UDP port number to match specified as equal to (eq) to the source port value specified as a decimal integer.