Cisco Router Basic Configuration is really helpful for beginners in Networking Domain or in CCNA
IOS Modes in Cisco Devices
Cisco IOS has included of several modes,each modes contains a set of
commands specific to the function of that mode.
By default,the first mode you enter into a Cisco device is
User Exec Mode.
Router>
It shows only basic status information can be viewed from this mode.
Privileged Exec mode:it shows only configuration files and settings
Router#To enter privileged mode,type enable from User mode:
Router>
Router#
Global Configuration mode: If you really want to configure the Cisco
device,you need to enter Global configuration Mode:
Router(config)#
To enter global configuration mode
Router#configure terminal
Router(config)#
To configure the interface on a router:
Router(config)#interface fastethernet 0/0
Router(config)#ip address 192.168.12.1 255.255.255.248
Router(config)#no shut
Enable Password
The Enable Password protect router's Privileged mode.Enable password can
be set or changed from Global configuration mode:
Router(config)#enable secret ccna
and to verify it check this
Router>en
Router>enable
Password:
Router#
To configure Telnet(vty),console and auxilary ports are as follows:
Console port password set
Router(config)#line console 0
Router(config)#login
Router(config)#password 1234
Telnet configuration
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
To ensure these password are encrypted in all configuration files:
Router(config)#service password-encryption
To check ip information for all interfaces:
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 10.0.0.1 YES manual up down
GigabitEthernet0/0/1 20.0.0.1 YES manual up down
GigabitEthernet0/0/2 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
To save the contents of Running-configuration to the startup-config file
and to save router configuration type:
Router#copy running-config startup-config
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#
Router#configure terminal
Router(config)#hostname R1
Router(config)#
IOS Modes in Cisco Devices
Cisco IOS has included of several modes,each modes contains a set of
commands specific to the function of that mode.
By default,the first mode you enter into a Cisco device is
User Exec Mode.
Router>
It shows only basic status information can be viewed from this mode.
Privileged Exec mode:it shows only configuration files and settings
Router#To enter privileged mode,type enable from User mode:
Router>
Router#
Global Configuration mode: If you really want to configure the Cisco
device,you need to enter Global configuration Mode:
Router(config)#
To enter global configuration mode
Router#configure terminal
Router(config)#
To configure the interface on a router:
Router(config)#interface fastethernet 0/0
Router(config)#ip address 192.168.12.1 255.255.255.248
Router(config)#no shut
Enable Password
The Enable Password protect router's Privileged mode.Enable password can
be set or changed from Global configuration mode:
Router(config)#enable secret ccna
and to verify it check this
Router>en
Router>enable
Password:
Router#
To configure Telnet(vty),console and auxilary ports are as follows:
Console port password set
Router(config)#line console 0
Router(config)#login
Router(config)#password 1234
Telnet configuration
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
To ensure these password are encrypted in all configuration files:
Router(config)#service password-encryption
To check ip information for all interfaces:
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 10.0.0.1 YES manual up down
GigabitEthernet0/0/1 20.0.0.1 YES manual up down
GigabitEthernet0/0/2 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
To save the contents of Running-configuration to the startup-config file
and to save router configuration type:
Router#copy running-config startup-config
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#
Router#configure terminal
Router(config)#hostname R1
Router(config)#
0 Comments:
Post a Comment