sábado, junho 16, 2012

Router Administrative Configurations - Cisco

#privilege mode
router>enable

#Change Hostname
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Florianopolis
Florianopolis(config)#

# Add a banner
Florianopolis(config)#banner motd #
Enter TEXT message.  End with the character '#'.
Maykon.com Network!
#
Florianopolis(config)#^Z
Florianopolis#
%SYS-5-CONFIG_I: Configured from console by console

Florianopolis#exit
Florianopolis con0 is now available
Press RETURN to get started.
Maykon.com Network!

Florianopolis>

# Setting Passwords, five passwords: console, auxiliary, telnet(VTY), enable password, and enable secret. Enable secret and enable password are used to set the password that's used to secure privileged mode.

Florianopolis(config)#enable ?
  password  Assign the privileged level password
  secret    Assign the privileged level secret

password: Sets the enable password, and isn't ever used if an enable secret is set
secret: This is the newer, encrypted password that overrides the enable password if it's set.

# Set password for router Florianopolis "maykon".
Florianopolis(config)#enable secret maykon
Florianopolis(config)#exit

Auxiliary Password
Florianopolis(config)#line aux 0
Florianopolis(config-line)#login
Florianopolis(config-line)#password aux
Florianopolis(config-line)#login

Console Password
Router(config)#line console ?
  <0-0>  First Line number
Router(config)#line console 0
Router(config-line)#password console

Telnet Password
Router(config)#line vty ?
  <0-15>  First Line number
Router(config)#line vty 0 15
Router(config-line)#password telnet

Nenhum comentário: