Alcatel-Lucent 7210 SAS M Service Manual page 233

Hide thumbs Also See for 7210 SAS M:
Table of Contents

Advertisement

counter-mode
Syntax
counter-mode {in-out-profile-count| forward-drop-count}
Context
config>service>epipe>sap>statistics>ingress
config>service>vpls>sap>statistics>ingress
This command allows the user to set the counter mode for the counters associated with sap ingress
Description
meters (a.ka. policers). A pair of counters is available with each meter. These counters count different
events based on the counter mode value.
Note: 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 will be written into the
current accounting file.
Note: The configuration information is not saved across re-boot.
Execute the following sequence of commands to ensure a new accounting file is generated when the
counter-mode is changed:
The no form of the command restores the counter mode to the default value.
when either in-out-profile-count or forward-drop-count is in use in-out-profile-count
Default
forward-drop-count — If the counter mode is specified as "forward-drop-count", one counter
Parameters
in-out-profile-count — If the counter mode is specified as "in-out-profile-count", one counter counts
7210 SAS M Services Guide
1. Execute the command config>service>epipe/vpls>sap> no collect-stats, to disable writing of
accounting records.
2. Change the counter-mode to the desired value, execute the command config>service>epipe/
vpls>sap>counter-mode {in-out-profile-count| forward-drop-count}.
3. Execute the command config>service>epipe/vpls>sap> collect-stats, to enable writing of
accounting records.
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.
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.
Virtual Leased Line Services
Page 233

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents