This section provides information to configure network queue QoS policies using the command line interface.
Network Queue policies define the network egress queue parameters. Network queue policies are associated with the following:
Network queue policies define the bandwidth distribution for the network egress queues.
There is one default network queue policy. The default policies can be copied but they cannot be deleted or modified. The default policy is identified as network-queue default. Default network queue policies are applied to all network ports and hybrid port. The user must explicitly create and then associate other network queue QoS policies if the default values need to be modified.
The default network queue policy is defined as follows:
A basic network queue QoS policy must conform to the following:
Configuring and applying QoS policies other than the default policy is optional. A default network queue policy is applied to all network ports (for 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp in network mode) and access uplink ports (for 7210 SAS-T in access uplink mode).
To create a network queue policy, define the following:
FCs are mapped to the queues according to Forwarding class to queue-ID map and Forwarding class-to-queue ID map for 7210 SAS-Sx/S 1/10GE and 7210 SAS-Sx 10/100GE
Use the following syntax to create a network queue QoS policy.
The following is a sample configuration output to create a network queue QoS policy on the 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-T.
The following is a sample configuration output to create a network queue QoS policy on the 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12.
Apply network queue policies to the following entities:
Use the following syntax to apply a network queue policy to an Ethernet port in network mode of operation.
The network-queue policy can only be applied on a network port.
Use the following syntax to apply a network queue policy to an Ethernet port in access-uplink mode of operation.
The default network queue policies are identified as policy-id default. The default policies cannot be modified or deleted for 7210 SAS-T (in access-uplink and network modes), 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE devices.
The following displays default policy parameters for 7210 SAS-T (access-uplink and network modes), 7210 SAS-S 1/10GE, and 7210 SAS-Sx 10/100GE.
The following displays default policy parameters for the default network queue policy for 7210 SAS-Mxp.
The following are sample default policy parameters for 7210 SAS-R6 and 7210 SAS-R12.
The default network queue policies are identified as policy-id default and _tmnx_hybrid_default.The MPLS and IP traffic on hybrid ports arrives at the _tmnx_hybrid_default policy if there is no policy applied.
The following is a sample configuration output for default policy parameters for 7210 SAS-R6 and 7210 SAS-R12.
This section describes the service management tasks.
A network queue policy is associated by default with all network ports (for devices operating in network mode) and access uplink ports (for 7210 SAS-T in access-uplink mode). The user can replace the default policy with a customer-configured policy, but you cannot entirely remove a QoS policy. When you remove a QoS policy, the policy association reverts to the default network-queue policy default.
A network-queue policy cannot be deleted until it is removed from all network ports where it is applied.
Use the following syntax to delete a user-created network queue policy.
You can copy an existing network queue policy, rename it with a new policy ID name, or overwrite an existing network queue policy. The overwrite option must be specified or an error occurs if the destination policy ID exists.
Use the following syntax to copy and overwrite a QoS policy.
The following is a sample of the copied policies output.
You can change existing policies, except the default policies, and entries in the CLI. The changes are applied immediately to all ports where the policy is applied. To prevent configuration errors use the copy command to make a duplicate of the original policy to a work area, make the edits, and then overwrite the original policy.