I am trying to get statistics for subinterfaces on a Cisco Nexus3500 C3548P-10GX switch.
The subinterface is configured for a port channel as shown below.
interface port-channel3.1802
encapsulation dot1q 1802
ip address 192.168.1.165/30
There is nothing shown as statistics for VLAN or subinterface.
NEXUS(config)# sh interface port-channel3.1802
port-channel3.1802 is up
admin state is up,, [parent interface is port-channel3]
Hardware: Port-Channel, address: xxxx.xxxx.7641 (bia xxxx.xxxx.7608)
Description: vlan for internet
Internet Address is 192.168.1.165/30
MTU 1500 bytes, BW XXXX000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 1802, medium is broadcast
Auto-mdix is turned off
Switchport monitor is off
EtherType is 0x8100
NEXUS(config)# sh interface vlan 1802
Vlan1802 is up, line protocol is up, autostate enabled
Hardware is EtherSVI, address is XXX.XXX.XXX
Description: MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not supported
ARP type: ARPA
Last clearing of "show interface" counters never
L3 in Switched:
ucast: 14385814 pkts, 1951146757 bytes
For other interfaces, I have these statistics:
RX
285716197370 unicast packets 1725784 multicast packets 1273 broadcast packets
285717924427 input packets 279284980293540 bytes
0 jumbo packets 0 storm suppression packets
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
10240494209194 unicast packets 0 multicast packets 0 broadcast packets
10240494209298 output packets 14411966319769316 bytes
0 jumbo packets
0 output error 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 12372589734 output discard
0 Tx pause
show version:
Software
BIOS: version 5.3.1
NXOS: version 7.0(3)I7(7)
BIOS compile time: 06/04/2019
NXOS image file is: bootflash:///nxos.7.0.3.I7.7.bin
NXOS compile time: 8/28/2019 16:00:00 [08/29/2019 00:41:42]
Is there any way to enable statistics for subinterfaces?
0 Answers