Professional Documents
Culture Documents
Basic Router Config PDF
Basic Router Config PDF
Basic Router Config PDF
These are some important things that the Cisco router IOS software is
responsible for:
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.
1
Chapter 1
Cisco’s Internetworking Operating System (IOS)
connect to any active interface on a router, such as an Ethernet or serial
port.
4. SSH
The fourth way to connect to a router is using SSH which is
secured compared to the Telnet program.
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
memory—if an IOS file is present. Flash memory is electronically erasable
programmable read-only memory—an EEPROM.) After that, the IOS loads and
looks for a valid configuration—the startup-config—that’s stored in nonvolatile
RAM, or NVRAM.
Router# disable
Router>
At this point, you can type logout from either mode to exit the console:
Router> logout
To configure an interface:
Router(config)#interface fastethernet 0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
2
Chapter 1
Cisco’s Internetworking Operating System (IOS)
Banners
router(config)#banner motd #
Enter TEXT message. End with the character ‘#’.
This is a private network!!!
#
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.
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