I have been studying my Cisco CCNA last month, so I thought I share the things I learn with my blog readers. CCNA is for all the people who want a Career in Network Administrators & System Administrators.
Five Configuration modes in CISOC Router & Switches:
1. User Mode
2. Priviledge Mode
3. Configuration Mode
4. Interface Mode
5. Line mode
Cisco Router Basic Configuration Need:
1. Password + Secret
2. Hostname
3. Interface (IP and subnet mask, no shut, and clock rate)
4. Line configuration
Below are some coding on Basic configuration for Cisco router:
Enter Privilege Mode
Router > enable
Enter Configuration Mode
Router# config t
Or
Router# Configuration Terminal
Note:
“>” Mean you are in User Mode
“#” Mean you are in Priviledge Mode.
“(config)” Mean you are Configuration Terminal
Password need when enter into Privilege Mode next time
Router(config)#enable password p@ssw0rd
Router(config)#enable secret s3cr3t
Note:
"enable password" is the Command, "p@ssw0rd" is the Password you have entered.
"enable secret" is the Command, "s3cr3t" is the Secret answer you have entered
Configure Hostname / Router Name
Router(config)#hostname RouterA
Note:
Set the hostname to RouterA
Configure Ethernet Port Command
RouterA(config)# interface f0/0
Note:
Enter "interface" Your are entering Ethernet Interface Mode ( f0/0 for interface1, f0/1 for interface 2)
Configure IP Address & Subnet
RouterA(config-if)# ip address 192.168.0.1 255.255.255.0
Note:
"ip address" is the command to add ip's to router.
"10.224.0.1" is the IP address and "255.255.255.0" is the subnet mask (Class C Subnet mask)
RouterA(config-if)#no shut
Note:
"no Shut" command is use to Active the port.
Configure Serial Port Command
RouterA(config-if)#Interface Serial 0/0/0
Note:
"Interface Serial" Command Enter Router into Serial Interface Mode.
"0/0/0" is the Serial Interface Port Number.
RouterA(config-if)#ip address 10.224.10.1 255.255.255.0
Note:
"Ip address" is the command to add ip's to router.
"10.224.10.1" is the IP address and "255.255.255.0" is the subnet mask (Class C Subnet mask)
myrouter1(config-if)#no shut
Note:
"no Shut" command is use to Active the port.
Set the Router Bandwidth to 1G
RouterA(config-if)#clock rate 1000000
Note:
Set Router bandwidth to 1Gig
Clock Rate only apply at Master Router
myrouter1(config-if)#exit
Note:
When using exit command it always send you one step back. Eg: If you are in Config interface Mode (config-if), by entering exit command you router it will go to Config (config) mode. But if you need to go Priviledge Mode directly press Ctrl+Z.
Secure Console
RouterA(config)#line con 0
RouterA(config-line)#password c0ns0l3
RouterA(config-line)#login
RouterA(config-line)#exit
Note:
"line con 0" Command to enter into Console Configuration
"Password" is the Command to Set Password & "c0ns0l3" is the Password you enter.
"login" by entering login command you are telling the router to, it is required to enter password to login Console Prompt.
Secure VTY line – Virtual Terminal Password
myrouter1(config)#line vty 0 4
myrouter1(config-line)#password v1rtu@1
myrouter1(config-line)#login
myrouter1(config-line)#exit
myrouter1(config)#exit
Note:
Virtual Terminal is Use to secure your login from telnet or ssh
"line vty 0 4" Command to enter into vty line config Prompt.
"Password" is the Command to Set Password & "v1rtu@1" is the Password you enter.
"login" by entering login command you are telling the router to, it is required to enter password to login Using vty or ssh.
Save setting
myrouter1#wr me
or
myrouter1#copy run start
Note:
we actually have two configuration files running on a router at any time, the startup-config and running-config files. Startup configuration is use to load the Router when power on or restarted.
Running Configuration File store the changes you make to the router after the Reboot is completed. All ways remember to save the change you make. or you will lose all the configuration you have done, if you restart or lost power to router.
To study CCNA / CCNP you can use this Network Simulation Software from Cisco. I know We all cant get real cisco router and Switches to work with. So you can use this software to study.
More Information on CISCO Certifications click here
Flash info about the Software click here
To download Software Click here
I hope you all Understood.......!!!
Sep 12, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment