Saturday, January 3, 2015

Basic CISCO Router Configuration Commands

PASSWORDS

 

1. Set Enable Password (User Mode to Exec Mode)

Router#configure terminal

Router(config)#enable password test

Sets enable password to test

 

2.Set Enable Secret Password (User Mode to Exec Mode)

Router(config)#enable secret Vinita

Sets enable secret password to Vinita


3.Set Console Password (To enter User Mode)

Router(config)#line console 0

Router(config-line)#password console1

Router(config-line)#login

Enters console line mode

Sets console line mode password to console1

Enables password checking at login

 

4.Set Telnet Password (To enter User Mode via Telnet)

Router(config)#line vty 0 4

Router(config-line)#password telnet23

Router(config-line)#login

Enters vty line mode for all five(0 to 4) vty lines (virtual terminals)

Sets vty password to telnet23

Enables password checking at login

 

5.Set Auxiliary Port Password (To enter User Mode via Auxiliary Port)

Router(config)#line aux 0

Router(config-line)#password aux55

Router(config-line)#login

Sets auxiliary line mode password to aux55

Enters auxiliary line mode

Enables password checking at login

 

 

CUSTOMIZATION 


1. Give description of an interface

Router(config)#interface fastethernet 0/0

Router(config-if)#description Student Lab LAN

Moves to Fast Ethernet 0/0 interface configuration mode, sets description "Student Lab LAN". [Optional descriptor of the link is locally significant]


2. Set MOTD banner 

Router(config)#banner motd #Do not enter if you are not authorized#

Creating a Message of the Day Banner.

The MOTD banner is displayed on all terminals and is useful for sending messages that

affect all users. Use the  no banner motd command  to disable the MOTD banner. The MOTD banner displays before the login prompt and the login banner, if one has been created.


3. Set login banner 

Router(config)#banner login # Unauthorized access may lead to punishment! Enter your username and password.#

The login banner displays before the username and password login prompts. Use the no

banner login command to disable the login banner. The MOTD banner displays before the login banner.

 

Clock Commands


1. Set Clock of the Router 

Router#clock set 10:50:00 Jan 03 2015

Configure the clock


2. View Time of the Router 

Router#show clock

View the time


3. Set Timezone of the Router 

Router(config)#clock timezone Sylhet 6

Configure the time zone (Sylhet, GMT+6)

 

No comments:

Post a Comment