egress
config>service>vpls>sap
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure egress filter policies.
If no egress filter is defined, no filtering is performed.
agg-rate-limit [cir cir-rate] [pir pir-rate]
no agg-rate-limit
config>service>vpls>sap>egress
Supported on all 7210 SAS platforms as described in this document
This command configures a maximum total rate for all egress queues on a service SAP.
The port scheduler mode should be set to ‟sap-based” scheduling mode before using this command. The egress port scheduler enforces the aggregate queue rate for the SAP as it distributes its bandwidth to all the SAPs configured on the port. The port scheduler stops distributing bandwidth to member queues when it has detected that the aggregate rate limit has been reached.
A SAP aggregate scheduler is created for each instance of the SAP queues created on each of the member ports of the LAG. For a LAG, the port scheduler-mode configured for the primary port is used for all the member ports of the LAG.
The scheduler mode is specified using the scheduler-mode command. To implement the aggregate-rate-limit, the scheduler mode must be specified as ‟sap-based”. See the 7210 SAS-Mxp, R6, R12, S, Sx, T Interface Configuration Guide for more information about the scheduler-mode command.
The no form of this command removes the aggregate rate limit from the SAP or multi-service site.
Specifies the CIR in kilobits per second. This parameter is supported only on the 7210 SAS-R6 and 7210 SAS-R12.
Specifies the PIR in kilobits per second.
aggregate-meter-rate rate-in-kbps [burst burst-in-kbits] [enable-stats]
no aggregate-meter-rate
config>service>vpls>sap>egress
Supported on all 7210 SAS platforms as described in this document
This command associates a set of two counters to count total forwarded packets and octets and total dropped packets and octets. When the counter is enabled, the amount of resources required increases by twice the amount of resources taken up when counter is not used. If the enable-stats keyword is specified during the creation of the meter, the counter is allocated by the software, if available. To free up the counter and relinquish its use, use the no aggregate-meter-rate command, and then recreate the meter using the aggregate-meter rate command.
If egress frame-based accounting is used, the SAP egress aggregate meter rate accounts for the Ethernet frame overhead. The system accounts for 12 bytes of IFG and 8 bytes of start delimiter. Frame-based counting does not affect the count of octets maintained by the counter, if in use.
Before enabling this command for a SAP, resources must be allocated to this feature from the egress internal TCAM resource pool using the configure system resource-profile egress-internal-tcam egress-sap-aggregate-meter command. For more information, see the 7210 SAS-Mxp, R6, R12, S, Sx, T Basic System Configuration Guide.
The egress aggregate meter is not FC aware. The forward and drop decisions are made based on the order the packets are sent out of the SAP by the egress port scheduler.
The no form of this command removes the egress aggregate policer from use.
no aggregate-meter-rate
Specifies the rate in kilobits/s.
Specifies the burst size for the policer in kilobits. The burst size cannot be configured without configuring the rate.
Keyword to specify whether the counter is to count forwarded and dropped packets must be allocated.
filter ip ip-filter-id
filter ipv6 ipv6-filter-id
filter mac mac-filter-id
no filter [ip ip-filter-id] [ipv6 ipv6-filter-id] [mac mac-filter-id]
config>service>vpls>sap>egress
config>service>vpls>sap>ingress
Supported on all 7210 SAS platforms as described in this document
This command associates an IP filter policy or MAC filter policy with an ingress or egress SAP or IP interface.
Filter policies control the forwarding and dropping of packets based on IP or MAC matching criteria. There types of filter policies are IP and MAC. Only one type may be applied to a SAP at a time.
The filter command is used to associate a filter policy with a specified filter ID with an ingress or egress SAP. The filter ID must already be defined before the filter command is executed. If the filter policy does not exist, the operation fails and an error message is returned.
In general, filters applied to SAPs (ingress or egress) apply to all packets on the SAP. One exception is that non-IP packets are not applied to IP match criteria, so the default action in the filter policy applies to these packets.
The no form of this command removes any configured filter ID association with the SAP or IP interface. The filter ID is not removed from the system.
Both MAC and IP filters are supported on a VPLS service SAP.
Specifies the IP filter policy. The filter ID must already exist within the created IP filters.
Specifies the IPv6 filter policy. The filter ID must already exist within the created IPv6 filters.
Specifies the MAC filter policy. The specified filter ID must already exist within the created MAC filters. The filter policy must already exist within the created MAC filters.
qos policy-id
qos policy-id [enable-table-classification]
no qos
config>service>vpls>sap>egress config>service>vpls>sap>ingress
Supported on all 7210 SAS platforms as described in this document
This command associates a QoS policy with an ingress SAP or IP interface.
QoS ingress policies are important for the enforcement of SLA agreements. The policy ID must be defined before associating the policy with a SAP. If the policy-id does not exist, an error is returned.
The qos command is used to associate both ingress and egress QoS policies. The qos command only allows ingress policies to be associated on SAP or IP interface ingress, and only allows egress policies on SAP or IP interface egress. Attempts to associate a QoS policy of the wrong type returns an error.
Only one ingress and one egress QoS policy can be associated with a SAP at one time. Attempts to associate a second policy of same or different type replaces the earlier one with the new policy.
On the 7210 SAS-R6 and 7210 SAS-R12 (ingress), using the enable-table-classification keyword enables the use of IP DSCP tables to assign FC and profile on a per-SAP ingress basis. The match-criteria configured in the service ingress policy, which require CAM resources, are ignored. Only meters from the service ingress policy are used (and the meters still require CAM resources). The IP DSCP classification policy configured in the SAP ingress policy is used to assign FC and profile. The default FC is assigned from the SAP ingress policy.
By default, if no specific QoS policy is associated with the SAP for ingress or egress, the default QoS policy is used.
The no form of this command removes the QoS policy association from the SAP, and the QoS policy reverts to the default.
Specifies the ingress or egress policy ID to associate with SAP on ingress or egress. The policy ID must already exist.
Keyword to enable the use of table-based classification instead of CAM-based classification at SAP ingress. The FC and profile are taken from the IP DSCP classification policy configured in the ingress policy, along with the meters from the SAP ingress policy. Match-criteria entries in the SAP ingress policy are ignored.
ingress
config>service>vpls>sap
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure ingress SAP QoS policies and filter policies.
If no SAP ingress QoS policy is defined, the system default SAP ingress QoS policy is used for ingress processing. If no ingress filter is defined, no filtering is performed.
aggregate-meter-rate rate-in-kbps [burst burst-in-kbits]
no aggregate-meter-rate
config>service>vpls>sap>ingress
Supported on all 7210 SAS platforms as described in this document
The meter modes ‟srtcm” and ‟trtcm1” are used in the absence of an aggregate meter.
The SAP ingress meter counters increment the packet or octet counts based on the final disposition of the packet.
If ingress frame-based accounting is used, the SAP aggregate meter rate accounts for the Ethernet frame overhead. The system accounts for 12 bytes of IFG and 8 bytes of start delimiter.
The no form of this command removes the aggregate policer from use.
no aggregate-meter-rate
Specifies the rate in kilobits per second.
Specifies the burst size for the policer in kilobits. The burst size cannot be configured without configuring the rate.
[no] meter-override
config>service>vpls>sap>ingress
Supported on all 7210 SAS platforms as described in this document
This command enables the context for specific overrides to one or more meters created on the SAP through the SAP ingress QoS policies.
The no form of this command removes existing meter overrides.
no meter-override
meter meter-id [create]
no meter meter-id
config>service>vpls>sap>ingress>meter-override
Supported on all 7210 SAS platforms as described in this document
This command enables the context for specific overrides to a specific meter created on the SAP through a sap-ingress QoS policies.
The no form of this command is used to remove any existing overrides for the specified meter-id.
Required when executing the meter command within the meter-overrides context. The specified meter-id must exist within the SAP ingress QoS policy applied to the SAP. If the meter is not currently used by any forwarding class or forwarding type mappings, the meter will not exist on the SAP. This does not preclude creating an override context for the meter-id.
Mandatory keyword for when a meter meter-id override node is being created and the system is configured to expect explicit confirmation that a new object is being created. When the system is not configured to expect explicit confirmation, the create keyword is not required.
adaptation-rule [pir adaptation-rule] [cir adaptation-rule]
no adaptation-rule
config>service>vpls>sap>ingress>meter-override>meter
Supported on all 7210 SAS platforms as described in this document
This command overrides specific attributes of the specified meter adaptation rule parameters. The adaptation rule controls the method used by the system to derive the operational CIR and PIR settings when the meter is provisioned in hardware. For the CIR and PIR parameters individually, the system attempts to find the best operational rate depending on the defined constraint.
The no form of this command removes explicitly defined constraints used to derive the operational CIR and PIR created by the application of the policy. When a specific adaptation-rule is removed, the default constraints for rate and cir apply.
no adaptation-rule
Defines the constraints enforced when adapting the PIR rate defined using the meter-override meter meter-id command. The pir parameter requires a qualifier that defines the constraint used when deriving the operational PIR for the queue. When the meter-override command is not specified, the default applies.
When the meter mode in use is ‟trtcm2”, this parameter is interpreted as EIR value. See the description and relevant notes for meter modes in the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide for more information.
Defines the constraints enforced when adapting the CIR rate defined using the meter-override meter meter-id command. The cir parameter requires a qualifier that defines the constraint used when deriving the operational CIR for the queue. When the cir parameter is not specified, the default constraint applies.
Specifies the criteria to use to compute the operational CIR and PIR values for this meter, while maintaining a minimum offset.
cbs size [kbits | bytes | kbytes]
no cbs
config>service>vpls>sap>ingress>meter-override>meter
Supported on all 7210 SAS platforms as described in this document
This command overrides the default CBS for the meter. The committed burst size parameter specifies the maximum burst size that can be transmitted by the source while still complying with the CIR. If the transmitted burst is lower than the CBS value then the packets are marked as in-profile by the meter to indicate that the traffic is complying meter configured parameters.
The no form of this command reverts the CBS size to the default value.
32 kbits
Specifies the value in kbits, bytes, or kilobytes.
mbs size [kbits | bytes | kbytes]
no mbs
config>service>vpls>sap>ingress>meter-override>meter
Supported on all 7210 SAS platforms as described in this document
This command overrides the default MBS for the meter. The maximum burst size parameter specifies the maximum burst size that can be transmitted by the source while still complying with the CIR. If the transmitted burst is lower than the MBS value, the packets are marked as in-profile by the meter to indicate that the traffic is complying with meter configured parameters.
The no form of this command reverts the MBS size to the default value.
512 kbits
Specifies the value in kbits, bytes, or kilobytes.
mode mode
no mode
config>service>vpls>sap>ingress>meter-override>meter
Supported on all 7210 SAS platforms as described in this document
This command overrides the SAP ingress QoS policy configured mode parameters for the specified meter-id.
The no form of this command restores the policy defined metering and profiling mode to a meter.
Specifies the rate mode of the meter-override.
rate cir cir-rate [pir pir-rate]
no rate
config>service>vpls>sap>ingress>meter-override>meter
Supported on all 7210 SAS platforms as described in this document
This command overrides the SAP ingress QoS policy configured rate parameters for the specified meter-id.
The max default specifies the amount of bandwidth in kilobits per second (thousand bits per second). The max value is mutually exclusive to the pir-rate value.
The no form of this command restores the policy defined metering and profiling rate to a meter.
max
Defines the administrative PIR rate, in kilobits, for the queue. When the rate command is executed, a valid PIR setting must be explicitly defined. When the rate command has not been executed, the default PIR of max is assumed. Fractional values are not allowed and must be specified as a positive integer.
When the meter mode is set to ‟trtcm2”, the PIR value is interpreted as the EIR value. For more information, see the 7210 SAS-Mxp, R6, R12, S, Sx, T Quality of Service Guide.
The actual PIR rate is dependent on the queue adaptation-rule parameters and the hardware where the queue is provisioned.
Overrides the default administrative CIR used by the queue. When the rate command is executed, a CIR setting is optional. When the rate command has not been executed or the cir parameter is not explicitly specified, the default CIR (0) is assumed. Fractional values are not allowed and must be specified as a positive integer.
[no] collect-stats
config>service>vpls>spoke-sdp
config>service>vpls>mesh-sdp
config>service>vpls>sap
Supported on all 7210 SAS platforms as described in this document
This command enables accounting and statistical data collection for either the SAP, network port, or IP interface. When applying accounting policies, by default the data is collected in the appropriate records and written to the designated billing file.
When the no collect-stats command is issued, the statistics are still accumulated by the cards. However, the CPU does not obtain the results and write them to the billing file. If a subsequent collect-stats command is issued, the counters written to the billing file include all the traffic while the no collect-stats command was in effect.
no collect-stats