Tuesday, September 23, 2008

Don´t believe "only" in the show run (in my case, in the show conf)

Hmm... buddy! Let me tell you something... don´t believe only in the show run, always check every parameter involved using other show commands...

Why do I say that?! Last weekend, during a new WS-3750 installation for user access, I faced a little problem... Two core´s, and my new access switch, with links to both Core Switches. Trunk was limitted only to the management vlan to avoid any problems during the intervation.

In order to avoid any other problems, I´ve increased to Spanning-Tree cost to 25 in both uplinks (1Gbps) from the access switch to the cores.

So far so good! Installation done with the first core, ok, let´s connect the second! Hmmm... lost access, let me try again, ok, accessing normal, so what happened?! Root Port from Core 1 changed to the Access Switch?! Why?!

That´s when I´ve found that one of the Core Switches had  spanning-tree costs of 3004, 3019... WTH! Quick show conf (yes, it is CatOS), the Core was configured with UpLinkFast...

No biggie, changed spanning-tree cost, path went back to normal, and everything else was good! Customer will check how and when to remove the UpLinkFast configuration.

If at any time, I´ve checked the spanning-tree with show commands (not the show conf), I would see that, but... living and learning, right?!

Now I do know why some guys don´t like to do a show run, they preffer to check with other commands, I think they´re right... ;)

2 comments:

Colin said...

I'll second that after recent experience with something as simple as duplex on a 3750 switchport.

Cisco TAC's answer was basically "umm yeah...not sure, can you replicate it for us ? No ? OK here's a new switch then just in case the hardware is faulty.".

switch#show vers | inc ^cisco
cisco WS-C3750-48P (PowerPC405) processor (revision D0) with 118784K/12280K bytes of memory.
switch#show run int fa1/0/1 | inc duplex
duplex full
switch#show int fa1/0/1 | inc duplex
Half-duplex, 100Mb/s, media type is 10/100BaseTX
switch#

Caue said...

Hmmm, very odd situation!

I had some problems also in the past, but not like this! Most of the time was some kind of misconfiguration!

And in the end, it turned to be a hardware faulty?!

Cheers,
Caue Wailemann