[c-nsp] Holy "show spanning-tree in" command, Batman...(?)

Curtis Doty Curtis at GreenKey.net
Sat Jun 2 22:55:07 EDT 2007


Thursday Rick Kunkel said:

> Anyone know this?  I meant to type show "spanning tree int BLAH" something
> and hit enter prematurely and got this!
>
> sw01#show spanning-tree in
> this[0] = "1";
> this[1] = "10";
> this[2] = "80";
> this[3] = "110";
> this[4] = "120";
> this[5] = "140";
> this[6] = "150";
> this[7] = "180";
> this[8] = "200";
> this[9] = "210";
> this[10] = "220";
> this[11] = "250";
> this[12] = "260";
> this[13] = "400";
> this[14] = "430";
> this[15] = "450";
> this[16] = "460";
> this[17] = "560";
> this[18] = "570";
> this[19] = "580";
> this[20] = "630";
> this[21] = "770";
> this[22] = "230";
> this.length = 23
>
> Looks like javascript!  Or SNMP references.  I know those are VLAN numbers
> on the right, and ports in array on the left.  Anyone know anything about
> this?  I'm writing just for curiosity's sake.  No prob to speak of.
>
> This is an old WS-C2924-XL by the way.
>

The full undocumented command is:

 	#show spanning-tree instances

And it's just a raw view of the same array used in:

 	#show spanning-tree summary

HTH,
../C



More information about the cisco-nsp mailing list