statistics
config>service>vpls>sap
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
Commands in this context configure the counters associated with SAP ingress and egress.
ingress
config>service>vpls>sap>statistics
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink operating mode
Commands in this context configure the ingress SAP statistics counters.
counter-mode {in-out-profile-count | forward-drop-count}
config>service>vpls>sap>statistics>ingress
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink operating mode
This command allows the user to set the counter mode for the counters associated with SAP ingress meters (also known as policers). A pair of counters is available with each meter. These counters count different events based on the counter mode value.
The counter mode can be changed if an accounting policy is associated with a SAP. If the counter mode is changed, the counters associated with the meter are reset and the counts are cleared. If an accounting policy is in use when the counter-mode is changed, a new record is written into the current accounting file.
Perform the following steps on the specified SAP to ensure that the correct statistics are collected when the counter-mode is changed.
Disable writing of accounting records for the SAP by executing the config service vpls sap no collect-stats command.
Change the counter-mode to the desired option by executing the config service vpls sap counter-mode {in-out-profile-count | forward-drop-count} command.
Enable writing of accounting records for the SAP by executing the config service vpls sap collect-stats command.
in-out-profile-count
Specifies that one counter counts the forwarded packets and octets received on ingress of a SAP and another counts the dropped packets. The forwarded count is the sum of in-profile and out-of-profile packets/octets received on SAP ingress. The dropped count is count of packets/octets dropped by the policer. A packet is determined to be in-profile or out-of-profile based on the meter rate parameters configured. A packet is dropped by the policer if it exceeds the configured PIR rate. The in-profile count and out-of-profile count is not individually available when operating in this mode.
Specifies that one counter counts the total in-profile packets and octets received on ingress of a SAP and another counts the total out-of-profile packets and octets received on ingress of a SAP. A packet is determined to be in-profile or out-of-profile based on the meter rate parameters configured. A packet is dropped by the policer if it exceeds the configured PIR rate. Dropped counts are not maintained in hardware when this mode is used. It is obtained by subtracting the sum of in-profile count and out-of-profile count from the total SAP ingress received count and displayed.
[no] drop-count-extra-vlan-tag-pkts
config>service>vpls>sap>statistics>ingress
config>service>vpls>mesh-sdp>statistics>ingress
config>service>vpls>spoke-sdp>statistics>ingress
Supported on all 7210 SAS platforms as described in this document, except those operating in access-uplink mode
This command associates a counter which enables the counting of extra VLAN-tag dropped packets for the SAP, spoke-SDP, or mesh SDP. A limited amount of such counters are available for use.
The no form of this command removes the associated counter.