OcNOS-SP : System Management Guide : System Management Command Reference : System Configure Mode Commands : hardware-profile statistics
hardware-profile statistics
Use this command to enable or disable filter statistics in hardware.
Note: In Q1, you must reboot the switch after giving this command for the changes to take effect. For Q2, Statistic profiles are updated dynamically.
Note: If both ACL and QOS statistics are required on the same interface, then both ingress-acl and ingress-qos profiles must be enabled and this will limit other profiles from being enabled. More details on restrictions explained below.
Note: When any two or all of MAC ACL or IP ACL or QoS service-policy are configured on the same interface or in its dependent interface, their entries will use statistics entries from ingress-acl statistics profile, and as a result the statistics is updated on only one entry based on the hardware-profile filter created later.
Note: Cfm-slm statistics is supported only on Q2 devices.
Command Syntax
hardware-profile statistics (ac-lif|cfm-ccm|cfm-lm |cfm-slm|ingress-acl|ingress-qos|egress-acl|mpls-pwe|tunnel-lif|voq-full-color|voq-fwd-drop) (enable|disable)
Parameter
ac-lif
VXLAN access ports statistics
cfm-ccm
Cfm ccm counter statistics
cfm-lm
Cfm Loss Measurements statistics
cfm-slm
Cfm Synthetic Loss Measurements statistics
tunnel-lif
VXLAN tunnels statistics
ingress-acl
Ingress ACL, QoS, and PBR statistics
ingress-qos
Ingress QoS statistics (explicit)
egress-acl
Egress ACL statistics
mpls-pwe
Pseudowire logical interfaces statistics
voq-full-color
Statistics for all VOQ counters
voq-fwd-drop
Statistics for forward drop VOQ counters
enable
Enable statistics
disable
Disable statistics
Default
In Q1, By default, only ingress-acl statistics profile is enabled. Other statistics profiles are disabled.
In Q2, By default, voq-full-color, cfm-ccm statistics profile is enabled. Other statistics profiles are disabled
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3 and this command is applicable for Qumran. The voq- full-color and voq-fwd-drop,cfm-slm,cfm-lm and cfm-ccm options are applicable for Qumran2.
Examples
#configure terminal
(config)#hardware-profile statistics tunnel-lif enable
 
Table 34-102 provides details of scalable numbers of each statistics profiles and the applications that use the statistics profiles. For example, the ingress-acl profile is used by ACL, QoS, and PBR applications and all of them share the statistics entries from this profile. So, consuming 8k statistics entries for ACL application means that QOS and PBR applications do not get any statistics.
There are limitations on the number of statistics profiles that can be enabled at a time. This limitation is based on the stages that each profile uses. Table 34-102 shows the four stages: ingress, ingress queuing, egress1, and egress2; and only two statistics profiles per stage can be configured.
For example, if both the ingress-acl and mpls-acl profiles are configured, then no more profiles that use the “ingress stage” can be enabled because only two profiles are allowed per stage. To use another “ingress-based” profile, you must first disable at least one of the profiles that are currently using the ingress stage.
 
Table 34-102: Statistics profile capacity (maximum numbers in best case scenario) 
Statistics profile
Stage
QMX
QAX
QUX
Application
ingress-acl
Ingress
~8k
~6k
~1.5K
Ingress ACL, QoS, PBR
egress-acl
Egress1
~8k
~2k
~2k
Egress ACL
ingress-qos
Ingress
~8k
~6k
~1.5K
QoS
voq-full-color
Ingress queuing
~13k
~6k
~1.5K
QoS (queue statictics)
voq-fwd-drop
Ingress queuing
~32k
~16k
~4K
QoS (queue statictics)
tunnel-lif
Ingress
~16k
N/A
N/A
VXLAN and MPLS (LSP/tunnels)
 
Egress2
 
 
 
 
mpls-pwe
Ingress
~16k
~8k
~1K
MPLS (pseudowire)
 
Egress2
 
 
 
 
cfm-ccm
Ingress
~3k
~800
~800
CFM (ccm)
cfm-lm
Ingress
~6k
~1.5k
NA
CFM (loss measurement)
 
Egress2
 
 
 
 
ac-lif
Ingress
~32k
N/A
N/A
VXLAN and MPLS (access-port)
 
Egress2
 
 
 
 
 
 
Last modified date: 10/19/2023