...

Saturday, April 3, 2010

CCNA 22

Routers have USB ports which allow plugging of encryption keys or thumbdrives containing IOS's. Yellow-labeled ports are Fast Ethernet ports, black-labeled ports are AUX ports and blue-labeled ports are console ports. Cisco switches are modular, which allows you to switch interface cards with anything you need.
The router boot process is similar to the switch. Like a switch, you would be prompted for initial configuration. As usual, give it a "n". If you happen to accidentally hit "y", just press CTRL+C to cancel out. As usual, enter the Global Configuration mode, set the banner motd, hostname, enable secret, line vty password, logging synchronous and exec-timeout.

Note that when you're requiring login for your console, remember to enter your password first. Or else, you'll permanently get the "Login required, but no password set." message and you'll be locked out until you do ROMMON password recovery.

Like on a switch, the "show ip int br" commands work. You can also create aliases. Right now we're going to do a simple example to set up a network as shown:



Note that as for the router, the internal interface is f0/1, and the external interface is f0/0. All devices are in VLAN 1.

We'll do a quick setup for the router:
en
conf t
ho C2600
line vty 0 4
logging synchronous
exec-timeout 0
password cisco
login
line con 0
logging synchronous
exec-timeout 0
password cisco
login
enable secret cisco
banner motd $
*************
Do not login!
*************$
in f0/0
ip add 152.226.152.18 255.255.248.0
no shut
in f0/1
ip add 192.168.1.1 255.255.255.0
no shut


Now let's set up the switch:
en
conf t
ho C2950
line vty 0 4
logging synchronous
exec-timeout 0
password cisco
login
line con 0
logging synchronous
exec-timeout 0
password cisco
login
enable secret cisco
banner motd $
*************
Do not login!
*************$
in vlan 1
ip add 192.168.1.2 255.255.255.0
no shut


Note that we now only configured the interface addresses. This means that it can only ping the connected subnets. In the next article I'll go into SDM.

No comments :

Post a Comment

<