network network-policy-id [create]
no network network-policy-id
config>qos
Supported on all 7210 SAS platforms as described in this document
This command creates or edits a QoS network policy. The network policy functionality is as follows.
On the 7210 SAS-K 2F1C2T, the network policy defines the treatment the packets receive on ingress into and egress from the access-uplink port.
On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, the network policy defines the treatment the packets receive on ingress into and egress from the access-uplink port, network port, and hybrid port.
On the 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C, the network QoS policy associated with access-uplink port has ingress and egress components. These components are described as follows.
The ingress component of the policy defines how dot1p bits or IP DSCP are mapped to internal forwarding class and profile state. The forwarding class 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 forwarding classes. Traffic mapped to each forwarding class can be rate-limited using the same or separate queue for unicast and multipoint traffic.
The egress component of the network qos policy defines the forwarding class and profile to packet header priority bits; for example, dot1p bits. Option is provided to map forwarding class to dot1p bits and IP DSCP bits.
On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, the network QoS policy associated with network ports or hybrid ports has ingress and egress components. These components are described as follows.
The ingress component of the policy defines how MPLS EXP bits or dot1p bits or IP DSCP are mapped to internal forwarding class and profile state. The forwarding class 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 forwarding classes. Traffic mapped to each forwarding class can be rate-limited using the same or separate queue for unicast and multipoint traffic.
The egress component of the network QoS policy defines the forwarding class and profile to packet header priority bits (for example, dot1p bits). The option is provided to map the forwarding class to MPLS EXP bits, dot1p bits and IP DSCP bits.
The default network policy ID 1 is associated with access-uplink ports that do not have an explicit user configured policy and cannot be modified or deleted. The default network policy ID 2 is associated with network ports and hybrid ports that do not have an explicit user configured policy and cannot be modified or deleted. The default network policies define default mapping for packet header bits to the FCs on ingress and the mapping of the FC to queues.
If a new network policy is created, only the default action, default queues for unicast and multipoint traffic, and egress forwarding class parameters are identical to the default policy. A new network policy does not contain the default QoS bit to FC mapping (for example, dot1p-to-FC mapping or EXP to FC mapping) for network QoS policy. The default network policy can be copied using the copy command to create a new network policy that includes the default ingress dot1p to FC mapping, as appropriate. You can modify parameters or use the no modifier to remove an object from the configuration.
Any changes made to an existing policy, using any of the sub-commands, are applied immediately to all the ports where this policy is applied. For this reason, when many changes are required on a policy, it is highly recommended that the policy be copied to a work area policy ID. That work-in-progress policy can be modified until complete and then written over the original policy ID. Use the config qos copy command to maintain policies in this manner.
The no form of this command deletes the network policy. A policy cannot be deleted until it is removed from all entities where it is applied. The default network policy policy-id 1 cannot be deleted.
System Default Network Policy 1
Specifies the policy on the 7210 SAS.