Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 2924 XLEN - rename interface

Status
Not open for further replies.

dbm0011

Technical User
Mar 19, 2004
32
US
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't change that, how ever try the Description command in interface mode.

CCNA, Network+
 
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

Burt
 
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.

conf t
interface f0/2
description apartment 02
 
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
 
Yes---I would use both alias and description commands myself...

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top