SAP egress aggregate meter

This chapter provides information to configure service-level egress rate limits using the command line interface.

Overview

The SAP egress aggregated meter feature allows a user to limit the amount of traffic sent out of a SAP by enforcing service-level egress rate limits.

This feature is supported only on the 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-T (network and access-uplink mode), 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE platforms. This feature is not supported on 7210 SAS-Mxp.

This feature allows a meter to be associated with the SAP egress to limit the aggregate amount of traffic across all FCs that are sent out of the SAP. This feature is supported for SAPs in P2MP services (Epipe, VPLS, RVPLS, IES, and VPRN).

Configuration notes

  • On the 7210 SAS-R6 and 7210 SAS-R12, if using per-SAP egress queuing instead of port-based egress queuing, the per-SAP egress aggregate shaper rate can be used instead of this feature.

  • Before configuring a SAP-egress aggregate meter on a SAP, the user must reallocate the resources from the egress-internal-tcam pool toward the SAP egress meters using the configure>system>resource-profile>egress-internal-tcam>egress-sap-aggregate-meter CLI command. See the 7210 SAS-Mxp, R6, R12, S, Sx, T Basic System Configuration Guide or details about the egress-sap-aggregate-meter command. The egress-internal-tcam pool resources are shared with other features, such as egress ACLs.

  • The SAP egress aggregate policer is not FC and profile aware. The packets scheduled out of the per-port queues are on a first-come-first-served basis and limits the amount of traffic to the configured rate across all the FCs for a SAP.

  • See the 7210 SAS-R6, R12 Services Guide or 7210 SAS-Mxp, S, Sx, T Services Guide for details about the optional enable-stats command under the configure service vpls sap egress aggregate-meter-rate CLI command. This command associates a counter with the meter to count the forwarded and dropped packets and octets. If the command is enabled, and accounting is enabled for the SAP, service egress accounting records contain the forwarded and dropped counts.

Basic configurations

To enable the per-SAP egress aggregate meter command, perform the following steps.

Note:

Step 1 applies only to the 7210 SAS-R6 and 7210 SAS-R12.

  1. Ensure that port-scheduling-mode is enabled on the node by doing the following:
    • Use the show system global-res-profile active command to display the current scheduling mode for the node. The port-scheduler-mode should be displayed as ‟enable”.

    • If the port-scheduler-mode is ‟disable”, use the configure system global-res-profile qos port-scheduler-mode command to enable it.

    The following output displays the port-scheduler-mode status.

    ===============================================================================
    Active Global System Resource Profile Information
    ===============================================================================
    -------------------------------------------------------------------------------
    port-scheduler-mode        : enable
    -------------------------------------------------------------------------------
    
  2. Allocate resources to the feature using the configure system resource-profile egress-internal-tcam egress-sap-aggregate-meter command. If necessary, free up resources for use by this feature by removing resources from other features.
  3. Configure the SAP-egress aggregate meter rate using the configure service vpls sap egress aggregate-meter-rate rate-in-kbps [burst burst-in-kbits] [enable-stats] command
    Note:

    Use the enable-stats parameter to enable the counter that is used to count total forwarded packets out of the SAP.

SAP egress aggregate meter command reference

See the 7210 SAS-Mxp, S, Sx, T Services Guide or 7210 SAS-R6, R12 Services Guide for information about the commands described in this section.