This article explains why ACX device doesn't show the interface stats for sub interfaces ae1 but interface ae1 will shows overall traffic.
See that the ae1 interface is displaying the actual traffic statistics. But the sub interfaces of ae1 do not display the actual traffic statistics. All the actual statistics on the subs are 0.
On the ACX device, when I use the command "show interfaces ae1",
+++++++++++++++++++++Interface extensive output++++++++++++++++++
user@ROUTER-A> show interfaces ae1 | no-more | re fresh 1 2
---(refreshed at 2024-07-05 10:41:23 ICT)---
Physical interface: ae1, Enabled, Physical link is Up
Interface index: 128, SNMP ifIndex: 533
Description: BGG0482OLT02
Link-level type: Flexible-Ethernet, MTU: 9014, Speed: 5Gbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
Flow control: Disabled, Minimum links needed: 1, Minimum bandwidth needed: 1bps
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x0
Current address: f4:bf:a8:a3:f3:70, Hardware address: f4:bf:a8:a3:f3:70
Last flapped : 2023-03-19 17:15:29 ICT (67w4d 17:25 ago)
Input rate : 108778560 bps (52021 pps)
Output rate : 1646723080 bps (168263 pps)
Logical interface ae1.35 (Index 324) (SNMP ifIndex 580)
Description: GPON_DYNAMIC
Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.35 ] In(swap .35) Out(swap .35) Encapsulation: VLAN-CCC
Statistics Packets pps Bytes bps
Bundle:
Input : 0 0 0 0
Output: 0 0 0 0
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Protocol ccc, MTU: 9014
Logical interface ae1.37 (Index 325) (SNMP ifIndex 574)
Description: GPON_VTOFFICE
Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.37 ] In(swap .37) Out(swap .37) Encapsulation: VLAN-CCC
Logical interface ae1.40 (Index 330) (SNMP ifIndex 571)
Description: GPON_EOC_NMS
Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.40 ] Encapsulation: VLAN-Bridge
Output: 107330 0 4937180 0
Protocol bridge, MTU: 9014
Flags: Is-Primary
Logical interface ae1.335 (Index 326) (SNMP ifIndex 577)
Description: GPON_IPHONE
Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.335 ] In(swap .335) Out(swap .335) Encapsulation: VLAN-CCC
Logical interface ae1.1102 (Index 429) (SNMP ifIndex 624)
Description: b240_gftth_quynhhtxtmdvnn9
Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.1102 ] Encapsulation: ENET2
Output: 3358 0 161292 0
Protocol inet, MTU: 8992
Max nh cache: 20000, New hold nh limit: 20000, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Sendbcast-pkt-to-re, Is-Primary
Addresses, Flags: Is-Default Is-Preferred Is-Primary
Destination: 10.2.32.32/30, Local: 10.2.32.33, Broadcast: 10.2.32.35
Protocol multiservice, MTU: Unlimited
Logical interface ae1.1103 (Index 412) (SNMP ifIndex 610)
Description: b240_gftth_quynhhtxtmdvnn7
Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.1103 ] Encapsulation: ENET2
Output: 21136 0 1462670 0
Destination: 10.2.32.24/30, Local: 10.2.32.25, Broadcast: 10.2.32.27
Logical interface ae1.1105 (Index 421) (SNMP ifIndex 617)
Description: b240_gftth_quynhhtxtmdvnn8
Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.1105 ] Encapsulation: ENET2
Output: 4101 0 200378 0
Destination: 10.2.32.28/30, Local: 10.2.32.29, Broadcast: 10.2.32.31
Logical interface ae1.2502 (Index 332) (SNMP ifIndex 514)
Description: GPON_VOD_MSN
Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.2502 ] Encapsulation: VLAN-Bridge
Output: 2677600 0 127208156 0
In ACX, Hardware doesn't support, and software PPS calculation was not supported. It was not taken up as this calculation was required in software and accuracy was not possible. There was no rate support for IFL in hardware
As per which In ACX:
- Stats are not supported at AE child ifl level. customer can check stats at child IFD level
- Rate calculation is currently not supported at ifl level. The ACX forwarding chip doesn?t support rate calculation at hardware level for ifl. If we do this calculation at software level there will be inaccuracy in rate calculation.