Switch Variables

Unanswered Question
Feb 17th, 2009

Hi all,

Can anyone tell me the list of variables created by a MDS9000 switch by default?

So far I have found:



What else is there?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
sidbartle Tue, 02/17/2009 - 21:34

Why you ask?

Nice for scripting across multiple switches eg.

In my schedule jobs

copy startup-config tftp://xxx.xxx.xxx.xxx/$(TIMESTAMP).start.$(SWITCHNAME)_cfg.txt

I use it to backup my configs.


Michael Brown Wed, 02/18/2009 - 02:55

Those are the 2 default variables. You can add your own with the command 'cli var name "text" ' where the is what you call the variable, and "text" is what you want the variable to represent.

Once set, you can issue the command 'show cli variables' to see the names and values currently in place.

Hope this helps,



This Discussion



Trending Topics: Storage Networking