I am trying to rename the interface 0/1 to an apartment number and int 0/2 to the next apartment number etc...
I just cannot figure out what the command line would be. Anyone have an idea?
any help is gretly appreciated.
You can also do the alias commands...let's say that you want the command "203" to mean "inreface fa0/1", because fa0/1 is apartment 203...
switch(config)#alias config 203 int fa0/1
switch(config)#end
switch#wr
Then, you can just type
switch(config)#203
and it will go to
switch(config-if)#
for 203, or fa0/1
You can do the alias command for anything, like to get into conf t mode...
switch#conf t
switch(config)#alias exec ct conf t
switch(config)#exit
switch#wr
switch#ct
and it will go to
switch(config)#
For anything else you want to configure, just hit
switch#conf t
switch(config)#alias ?
for help on the command
Just put the apartment number in the description field. In the newer switches you can then look at the port descriptions with the show interface description command though I am not sure if that is valid on an ancient switch like the 2924XL.
Thanks for all the help. I cant wait to get to the office to try this out. This is all very exciting, dont you think?
I will repost later with outcome.
Don
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.