5. SAP Egress Aggregate Meter

This chapter provides information to configure service-level egress rate limits using the CLI.

5.1. Overview

This 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 when using port-based egress queuing mode. It is not available when using SAP-based egress queuing mode.

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).

5.1.1. Configuration Notes

This section provides configuration guidelines for SAP-egress aggregate meters.

  1. 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.
  2. Before configuring a SAP-egress aggregate meter on a SAP, the user must reallocate the resources from the egress-internal-tcam pool towards the SAP egress meters using the configure>system>resource-profile>egress-internal-tcam>egress-sap-aggregate-meter CLI command. Refer to the 7210 SAS-M, T, R6, R12, Mxp, Sx, S 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.
  3. The SAP-egress aggregate policer is not FC and profile aware. It looks at the packets scheduled out of the per-port queues on a first-come-first-served basis and limits the amount of traffic to the configured rate across all the FCs for a SAP.
  4. Refer to the 7210 SAS-R6, R12 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.

5.2. Basic Configurations

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

  1. Ensure that port-scheduling-mode is enabled on the node by doing the following.
    1. 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”.
    2. 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.

5.3. SAP Egress Aggregate Meter Command Reference

Refer to the 7210 SAS-R6, R12 Services Guide for details about the commands described in this section.