cancel
Showing results for 
Search instead for 
Did you mean: 

XOS versus EOS configuration file

XOS versus EOS configuration file

Eric_Jackson
New Contributor
Please forgive my ignorance, as I'm new to XOS, having used EOS for years. I'm trying to grasp the way XOS handles it config file and compare it to Enterasys (EOS) but I can't seem to grasp some concepts. Hopefully I can explain clearly enough so that someone can "translate" for me.

Coming from years of experience in the EOS world, when I enter a command in EOS (spanning-tree for example), I can run the command "show config spantree" to see the commands I've entered or "show config all spantree" to see what I've entered plus what the defaults are behind the scenes. When I do this for XOS, i don't think I'm getting the same results. Using the same commands with regards to spanning tree in XOS, I run the command "show configuration stp", this seems to mimic EOS and show me only what I've configured. However, lets say I then remove a command. The command seems to be removed, essentially setting it back to default because I don't see it when I run "show configuration stp". Yet, it is still there when I run "show configuration detail stp" but in the "reverse state" if that makes since. Shouldn't it be gone from both, since I set it back to defaults? For example, I entered the command in XOS "enable stpd s0 ports 1:1". This created a line in my config. When I remove it running "disable stpd "s0" ports 1:1", the command no longer appears when I run "show configuration stp" but is somehow still there when I run "show configuration stp detail". Since I set it back to the default, shouldn't that line be gone from both? I'm really confused by this.
12 REPLIES 12

Mike_D
Extreme Employee

Hello Eric,
I dont have a switch in front of me but i'd guess you've got a case for an engineering change request (a bug). Its unfortunate that that folks trying to learn are the ones who run into these sorts of things but if you're from the EOS side, consider how long its been since you've run 'show config xxx all' - unless looking for some obscure timer or such. Its when trying to make sense of a new environment these sorts of commands are most helpful - and it's the perfect place for a bug to hide.

Don't let it ruin the experience. I think you'll find there are some welcome features on the exos side once you break through the initial jolt of a new CLI.

Welcome to the hub. I can tell you there are several here ramping up on exos. Access to the community should help the transition go more quickly.

Best regards,
Mike

Eric_Jackson
New Contributor
Thanks folks for your help. I was really pleasantly surprised to get a responses back so quickly.

To clarify a little more, I took a new switch out of the box and ran "show config stp" which obviously showed nothing. I then ran "show config stp detail" which shows me the defaults only. Then I decided to enter the command "enable stpd s0 port 1". When I run "show config stp" or "show config stp detail" I now see the command I entered, which is what I would expect.

The part that is troubling me is than when I run "disable stpd s0 port 1", shouldn't that put me back to the defaults? If so, why is it when I run a "show config stp detail" do I see the command "disable stpd s0 port 1"? Since I "undid" the previous command (which was never in the original "show config stp detail" to begin with) shouldn't that line be omitted from the output?

Contacted GTAC and they were able to help me with this one particular issue. Basically, GTAC said I needed to remove the port from any vlans that have auto-bind enabled. Then add the port back. This worked. I now no longer have either the "enable stp s0 port 1:1" command or "disable stp s0 port 1:1" in the "show config detail stp"

However, the larger issue of simply "undoing" something will, I"m sure rear its ugly head again as I progress through learning XOS. Seems to me that if the default state of something is disabled, then you enable it, then decide to disable it again, you should be back at the default state.

So does anyone know how to actually get back to defaults for spanning tree after entering those commands? As shown, if you enable stp, simply disabling it doesn't undo it. Here is my dilemma. I've enabled stp on port 1. Then, I decided that it would be better to simply use auto-bind. So to remove the line from my config and use auto-bind, i disabled stp. However, this seems to override the auto-bind on that port. Any help?
GTM-P2G8KFN