This section provides information to configure remark policies using the command line interface. This section is applicable to only 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-T devices in network mode.
The remark policies are used to configure the marking behavior for the system at the egress of access SAP access port, network ports, hybrid ports, and network IP interfaces on network ports or hybrid ports (for support available on different 7210 SAS platforms refer to Table 77 and Table 78). 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 appropriate policies to service egress, and network QoS policies. The 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-T support the use of the following types of remark policies for different QoS policies:
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 and service entities as listed in Table 77 and Table 78.
Remark policy type | Qos policy | Attachment point | Packet header bits marked |
dot1p | access-Egress policy | Access port |
|
network policy (type port) | Network Port and Hybrid Port |
| |
dscp | access-egress policy | Access port |
|
network policy (type port) | Network Port and Hybrid Port |
| |
lsp-exp | network policy (type ip-interface) | Network IP interface |
|
dot1p-lsp-exp-shared | access-egress policy | Access port |
|
network policy (type IP-interface) | Network IP interface |
| |
dot1p-dscp | access-egress policy | Access port |
|
network policy (type port) | Network Port and Hybrid Port |
|
Remark policy type | Qos policy | Attachment point | Packet header bits marked |
dot1p | SAP-egress policy | Service/SAP egress | Dot1p bits in the L2 Ethernet header for service packets sent out of a SAP egress |
Access-egress policy | Access port | Dot1p bits in L2 Ethernet header for service packets sent out of all access SAPs configured on access ports 1 | |
Network policy (port type) | Network port and hybrid port | Dot1p bits in the L2 Ethernet header for IP packets sent out of network port and hybrid port | |
dscp | Access egress policy | Access port | IP DSCP bits in the IP header for service packets sent out of access SAPs configured on access ports 1 |
Network policy (port type) | Network port and hybrid port | IP DSCP bits in the IP header for IP packets sent out of network port and hybrid port 1 | |
lsp-exp | Network policy (IP-interface type) | Network IP interface | EXP bits in the MPLS header for MPLS packets sent out of IP interface configured on network port and hybrid port |
dot1p-lsp-exp-shared | Access egress policy | Access port | Dot1p bits in L2 Ethernet header for service packets sent out of access SAPs configured on access ports 1 |
Network policy (IP-interface type or port type) | Network IP interface or network port | EXP bits in the MPLS header for MPLS packets sent out of IP interface configured on network port and hybrid port Dot1p bits in the L2 Ethernet header for MPLS packets sent out of network port and hybrid port | |
SAP egress policy | Service/SAP egress | Dot1p bits in the L2 Ethernet header for service packets sent out of a SAP egress | |
dot1p-dscp | Access egress policy | Access port | Dot1p bits in L2 Ethernet header and IP DSCP bits in the IP header for service packets sent out of access SAPs configured on access ports 1 |
Network policy (port type) | Network port and hybrid port | Dot1p bits in the L2 Ethernet header for MPLS and IP packets and IP DSCP bits in the IP header for IP packets sent out of network port and hybrid port 1 |
Note:
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.
The following is a sample remark policy configuration output.
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: