Professional Documents
Culture Documents
You can access the Cisco IOS through the console port of a router, from a modem into the auxiliary (or Aux) port, or even through Telnet. Access to the IOS command line is called an EXEC session.
Bringing Up a Router
When you first bring up a Cisco router, it will run a power-on self-test (POST). If it passes, it will then look for and load the Cisco IOS from flash memoryif an IOS file is present. Flash memory is electronically erasable programmable read-only memoryan EEPROM.) After that, the IOS loads and looks for a valid configurationthe startup-configthats stored in nonvolatile RAM, or NVRAM.
Router-Command History
Command Ctrl+P or up arrow Ctrl+N or down arrow show history show terminal terminal history size Meaning Shows last command entered Shows previous commands entered Shows last 10 commands entered by default Shows terminal configurations and history buffer size Changes buffer size (max 256)
Enable Password
router(config)#enable password cisco
some IOS by default do not encrypt the password, then we should use an additional command, service password-encryption to encrypt the password. It is preferable to use the enable secret command instead of the enable password command. Enable secret not only encrypts the password but also display the MD5 hash of the encrypted secret which cant be played back. Enable Secret router(config)#enable secret cisco Auxiliary Password router(config)#line aux 0 router(config-line)#login router(config-line)#password cisco Console Password router(config)#line console 0 router(config-line)#login router(config-line)#password cisco Telnet Password router(config)#line vty 0 4 router(config-line)#login router(config-line)#password cisco