Saturday, July 18, 2020

Sanity Check - "Show Interface" on a trunk shows "Last input never" is this normal behavior?

While working on a python project to list all the unused interfaces I noticed that some of my trunks are showing "Last input never". I am trying to figure out if this is a normal. Does a physical interface only count untagged traffic in that field?

Switch : Cisco WS-C3560G-24PS

SW Version: 12.2(55)SE10

GigabitEthernet0/28 is up, line protocol is up (connected) Hardware is Gigabit Ethernet, address is amac.addr.ess1 (bia amac.addr.ess1) Description: UPlink 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 set Full-duplex, 1000Mb/s, link type is auto, media type is 10/100/1000BaseTX SFP input flow-control is off, output flow-control is unsupported ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 00:00:01, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 5570000 bits/sec, 580 packets/sec 5 minute output rate 1349000 bits/sec, 286 packets/sec 70240904603 packets input, 21532416360140 bytes, 0 no buffer Received 0 broadcasts (0 multicasts) 1 runts, 0 giants, 0 throttles 1 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected 146005811046 packets output, 165583112705541 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out 

Interface Configuration:

interface GigabitEthernet0/28 description UPlink switchport trunk encapsulation dot1q switchport trunk allowed vlan 201 switchport mode trunk spanning-tree portfast trunk end 


No comments:

Post a Comment