This chapter provides information to configure remark policies using the command line interface.
The remark policies configure the marking behavior for the system at the egress of access SAP or access uplink port. These policies allow the user to define the forwarding class to egress marking values and to use the available hardware resources efficiently. Based on the packet encapsulation used, the remark policy allows the user to define and associate service egress policies to service egress, and network QoS policies to access-uplink port. The following types of remark policies are available
The type of the remark policy identifies the bits marked in the packet header. Each of these remark policy types can be associated with only appropriate QoS policies. Service entities as listed in Table 48.
Remark Policy Type | Qos Policy | Attachment Point | Packet Header Bits Marked |
dot1p | Service Egress Policy | Access SAP egress | Dot1p bits and optionally the DEI bits, in the L2 header for service packets sent out of an Access SAP. |
Network policy | Access-uplink Port | Dot1p bits and optionally the DEI bits, in the L2 header for service packets sent out of an access-uplink port (all packets sent out of all access-uplink SAPs are marked). | |
dscp | service egress policy | Access SAP egress | IP DSCP bits in the IP header (if present) for service packets sent out of an Access SAP. |
Network policy | Access-uplink Port | IP DSCP bits in the IP header (if present) for service packets sent out of an Access-uplink port Marking is done for packets sent out of all the access-uplink SAPs configured on the access-uplink port. | |
dot1p-dscp | service egress policy | Access SAP egress | Dot1p bits and optionally the DEI bits, in the L2 header for service packets sent out of access SAP. In addition to the dot1p bits, the IP DSCP bits in the IP header (if present) are marked for service packets sent out of an Access SAP. |
Network policy | Access-uplink Port | Dot1p bits and optionally the DEI bits, in the L2 header for service packets sent out of access uplink port. In addition to the dot1p bits, the IP DSCP bits in the IP header (if present) are marked for service packets sent out of an access-uplink port. Marking is done for packets sent out of all the access-uplink SAPs configured on the access-uplink port. |
The remark policies are used to configure the marking behavior for the system at the egress of access SAPs, network port, hybrid ports, and access uplink ports. These policies allow the user to define the forwarding class to egress marking values and allow them to use the available hardware resources efficiently. Based on the packet encapsulation used, the remark policy allows the user to define and associate service egress policies to access SAP egress, and network QoS policies applied to network ports, hybrid ports, and access-uplink ports. The following type of remark policies are available:
The type of the remark policy identifies the bits marked in the packet header. Each of these remark policy types can be associated with only appropriate QoS policies. Service entities as listed in Table 49.
Remark Policy Type | QoS Policy | Attachment Point | Packet Header Bits Marked |
dot1p | Service egress policy | Access SAP egress (applicable to SAPs configured on access ports or hybrid ports) | Dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for service packets sent out of an Access SAP |
Network policy | Network port Hybrid port | Dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for all MPLS and IP packets sent out of a network IP interface configured on a network port or hybrid port | |
Network policy | Access-uplink port | Dot1p bits, and optionally the DEI bits, in the Ethernet header for service packets sent out of an access-uplink port (all packets sent out of all access-uplink SAPs are marked) | |
dscp | Service egress policy | Access SAP egress (applicable to SAPs configured on access ports or hybrid ports) | IP DSCP bits in the IP header (if present) for service packets sent out of an Access SAP |
Network policy | Network port Hybrid port | IP DSCP bits in the IP header (if present) for all IP packets sent out of a network IP interface configured on a network port or hybrid port | |
Access-uplink port | IP DSCP bits in the IP header (if present) for service packets sent out of an Access-uplink port. Marking is done for packets sent out of all access-uplink SAPs configured on the access-uplink port. | ||
dot1p-dscp | Service egress policy | Access SAP egress (applicable to SAPs configured on access ports or hybrid ports) | Dot1p bits, and optionally the DEI bits, in the L2 header for service packets sent out of access SAP. In addition to the dot1p bits, the IP DSCP bits in the IP header (if present) are marked for service packets sent out of an Access SAP. |
Network policy | Network port Hybrid port | Dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for all MPLS and IP packets sent out of a network IP interface configured on a network port or hybrid port IP DSCP bits in the IP header (if present) for all IP packets sent out of a network port IP interface configured on a network port or hybrid port | |
Access-uplink port | Dot1p bits, and optionally the DEI bits, in the Ethernet header for service packets sent out of access uplink port. In addition to the dot1p bits, the IP DSCP bits in the IP header (if present) are marked for service packets sent out of an access-uplink port. Marking is done for packets sent out of all the access-uplink SAPs configured on the access-uplink port. | ||
lsp-exp | Network policy | Network port Hybrid port | MPLS EXP bits for the outermost MPLS labels for all MPLS packets sent out of a network IP interface configured on a network port or hybrid port |
dot1p-lsp-exp | Network policy | Network port Hybrid port | Dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for all MPLS and IP packets sent out of a network port MPLS EXP bits for the outermost MPLS labels for all MPLS packets sent out of a network IP interface configured on a network port or hybrid port |
dot1p-lsp-exp-dscp | Network policy | Network port Hybrid port | Dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for all MPLS and IP packets sent out of a network IP interface configured on a network port or hybrid port IP DSCP for all IP packets sent out of a network IP interface configured on a network port or hybrid port MPLS EXP bits for the outermost MPLS labels for all MPLS packets sent out of a network IP interface configured on a network port or hybrid port |
dscp-lsp-exp | Network Policy | Network port Hybrid port | IP DSCP for all IP packets sent out of a network IP interface configured on a network port or hybrid port MPLS EXP bits for the outermost MPLS labels for all MPLS packets sent out of a network IP interface configured on a network port or hybrid port |
A basic remark policy must confirm to the following:
To create a new remark policy, define the following:
Use the following syntax to configure a remark policy.
Existing policies and entries can be edited through the CLI or NMS. The changes are applied immediately to all services where the policy is applicable.
To prevent configuration errors perform the following: