statistics
config>service>vprn>if>sap
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure the counters associated with SAP ingress.
ingress
config>service>vprn>if>sap>statistics
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure the ingress SAP statistics counter.
counter-mode {in-out-profile-count | forward-drop-count}
config>service>vprn>if>sap>statistics>ingress
Supported on all 7210 SAS platforms as described in this document
This command sets the counter mode for the counters associated with SAP ingress meters or policers. A pair of counters is available with each meter. These counters count different events based on the counter mode value.
Execute the following sequence of commands on the specified SAP to ensure the correct statistics are collected when the counter mode is changed.
Execute the config service vprn interface sap no collect-stats command to disable writing of accounting records for the SAP.
Change the counter mode to the needed option by executing the config service vprn interface sap counter-mode {in-out-profile-count | forward-drop-count} command.
Execute the config service vprn interface sap collect-stats command to enable writing of accounting records for the SAP.
The no form of this command reverts to the default value.
in-out-profile-count
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.
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 and octets received on SAP ingress. The dropped count is count of packets and 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.