After the policy is created, the policy’s behavior can be defined. In addition, the behavior of policy’s FC and queue can be changed from their default settings:
To create an service ingress policy, define the following:
a policy ID value — the system does not dynamically assign a value. Optionally, a policy name can be configured after the policy has been created.
a description — provides a brief overview of policy features
a default forwarding class for the policy — all packets received on an ingress SAP using this ingress QoS policy will be classified to the default forwarding class
a default priority for all packets received on an ingress SAP using this policy
the dot1p parameters — this configuration creates a mapping between the dot1p bits of the ingress traffic and the forwarding class
the DSCP parameters — this configuration creates a mapping between the DSCP of the ingress traffic and the forwarding class
the forwarding class parameters — overrides the default forwarding class for the policy by assigning the forwarding class to one or more of the following queue designations: broadcast-queue, multicast-queue, unknown-queue, or (unicast) queue (see Creating a Service Ingress Forwarding Class)
A service ingress policy is created with a template scope. The scope can be modified to exclusive for a special one-time use policy. Otherwise, the template scope enables the policy to be applied to multiple SAPs.
Use the following CLI syntax to create a service ingress QoS policy:
config>qos
sap-ingress policy-id
description description-string
default-fc fc-name
default-priority {low|high}
dot1p dot1p-priority fc fc-name priority {high|low}
dscp dscp-name fc fc-name priority {high|low}
policy-name policy-name
*A:ALU-1>config>qos#
config>qos# sap-ingress 100 create
config>qos>sap-ingress$ description "Used on VPN SAP"
config>qos>sap-ingress$ default-fc be
config>qos>sap-ingress$ default-priority low
config>qos>sap-ingress$ dot1p 1 fc be priority low
config>qos>sap-ingress$ dscp be fc be priority low
config>qos>sap-ingress$ policy-name ‟sap_ingr_15”
config>qos>sap-ingress$ exit
config>qos# exit
*A:ALU-1#
The following output displays the configuration for service ingress policy 100:
ALU-1>config>qos# info
#--------------------------------------------------
echo "QoS Policy Configuration"
#--------------------------------------------------
....
sap-ingress 100 create
description "Used on VPN SAP"
queue 1 priority-mode create
exit
dot1p 1 fc "be" priority low
dscp be fc "be" priority low
policy-name ‟sap_ingr_15”
exit
...
----------------------------------------------