ā01-23-2017 01:16 PM - edited ā03-08-2019 09:02 AM
Is there a way to view counters on Catalyst StackWise ports? I'm using Catalyst 2960X.
I can see them via SNMP ... but the counters aren't incrementing, which suggests either a code defect or an unsupported feature.
IF-MIB::ifDescr.5179 = STRING: StackPort1
IF-MIB::ifDescr.5180 = STRING: StackSub-St1-1
IF-MIB::ifDescr.5181 = STRING: StackSub-St1-2
IF-MIB::ifDescr.5182 = STRING: StackPort2
[...]
IF-MIB::ifOperStatus.5179 = INTEGER: up(1)
IF-MIB::ifOperStatus.5180 = INTEGER: up(1)
IF-MIB::ifOperStatus.5181 = INTEGER: up(1)
IF-MIB::ifOperStatus.5182 = INTEGER: up(1)
[...]
IF-MIB::ifInOctets.5179 = Counter32: 0
IF-MIB::ifInOctets.5182 = Counter32: 0
IF-MIB::ifInOctets.5185 = Counter32: 0
[...]
IF-MIB::ifInDiscards.5182 = Counter32: 0
IF-MIB::ifInDiscards.5185 = Counter32: 0
IF-MIB::ifInDiscards.5188 = Counter32: 0
[...]
IF-MIB::ifOutOctets.5179 = Counter32: 0
IF-MIB::ifOutOctets.5182 = Counter32: 0
IF-MIB::ifOutOctets.5185 = Counter32: 0
As for the CLI, poking through the options for "show switch" and "show interface" ... I don't see an option which displays StackPort counters.
I want several things from these:
- Trend utilization between Switches, looking for over-subscription
- Trend ifIn/OutDiscards, looking for over-subscription
- Trend ifIn/OutMcast, looking for the source of a multicast flood
--sk
ā01-23-2017 03:05 PM
Hi
To troubleshoot stack, you have all commands under show switch or show platform stack (stack-manager) based on the switch model.
Except that, there are some debugs you can run to get some error message.
Here also a link for Cisco 2960x:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/stack_manager/command_reference/b_stck_152ex_2960-x_cr/b_stck_152ex_2960-x_cr_chapter_01.html
Let me know if you need more help.
Thanks
PS: Please don't forget to rate and mark as correct answer if this answered your question
ā01-23-2017 04:16 PM
OK, I'm poking through 'show switch' and 'show platform stack' commands ... I don't see any which display interface counters ... am I missing something?
--sk
ā01-23-2017 04:39 PM
Hi
Did you tried:
show platform stack manager counter
Or show controllers utilization?
If you're sure you've an issue you can also run debug commands to see where the issue is coming from.
There was a command on catalyst 3750 "show switch stack-ring activity detail" but not sure if it's working on 2960. I don't have any right now to verify.
Thanks
PS: Please don't forget to rate and mark as correct answer if this answered your question
ā01-24-2017 09:27 AM
OK, I'm making progress
show controllers ethernet-controller port-asic stack port {1|2}
or
remote command all show controllers ethernet-controller stack port 1
remote command all show controllers ethernet-controller stack port 2
So this gets me some of what I'm wanting, notably unicast / multicast / broadcast counters:
5n-esx# remote command 3 show controllers ethernet-controller stack port 2
Switch : 3 :
------------
Transmit StackPort2 Receive
163374431808 Bytes 303521737742 Bytes
1067992989 Unicast frames 3449919886 Unicast frames
192952108 Multicast frames 384326026 Multicast frames
76417517 Broadcast frames 152330025 Broadcast frames
0 Too old frames 702771728102 Unicast bytes
0 Deferred frames 41960765408 Multicast bytes
0 MTU exceeded frames 17193686581 Broadcast bytes
0 1 collision frames 0 Alignment errors
0 2 collision frames 0 FCS errors
0 3 collision frames 0 Oversize frames
0 4 collision frames 0 Undersize frames
0 5 collision frames 14 Collision fragments
0 6 collision frames
0 7 collision frames 81190 Minimum size frames
0 8 collision frames 2953970868 65 to 127 byte frames
0 9 collision frames 898375269 128 to 255 byte frames
0 10 collision frames 1460666186 256 to 511 byte frames
0 11 collision frames 388845942 512 to 1023 byte frames
0 12 collision frames 179184409 1024 to 1518 byte frames
0 13 collision frames 0 Overrun frames
0 14 collision frames 0 Pause frames
0 15 collision frames
0 Excessive collisions 67 Symbol error frames
0 Late collisions 4 Invalid frames, too large
0 VLAN discard frames 2400419420 Valid frames, too large
0 Excess defer frames 26 Invalid frames, too small
276 64 byte frames 0 Valid frames, too small
2884529360 127 byte frames
890937922 255 byte frames 0 Too old frames
798277524 511 byte frames 0 Valid oversize frames
150131575 1023 byte frames 0 System FCS error frames
162411494 1518 byte frames 0 RxPortFifoFull drop frame
746041759 Too large frames
0 Good (1 coll) frames
0 Good (>1 coll) frames
Interestingly, I don't see discards as a counter ... which suggests to me ... that the forwarding design is such that discard is done on ingress and that the intra-Stack links are guaranteed to be drop-free.
Poking through the output of an 'snmpwalk' ... I still see '0' for all the counters on these ports. This suggests to me that SNMP agent does not have access to the 'ethernet-controller' ports.
Bummer.
What is the process for filing a Request For Enhancement? Do I go through my Cisco sales team?
--sk
ā01-24-2017 09:43 AM
I go through the my account manager in Cisco , actually trying to add MPP to ios-xe in next release right now , its there but not working fully in syntax not supported yet
sh switch stack-ring activity detail
sh switch stack-ports summary
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide