Register now or log in to join your professional community.
this is tthe configuration used in switches&routers
Press RETURN to get started!
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname sw1
sw1(config)#
Write in the privilege/config mode of router or switch
switch(config)#hostname (write the name you want to rename)
router(config)# hostname (write the name you want to rename)
In the privilege mode of router or switch
router(config)#hostname space and write the name
switch(config)#hostname space and write the name
enter configration mode then issue this command:
>>hostname X
where X refer to the name if switch or router you want
switch(config)#hostname switch name
router(config)# hostname router name