MODES OF CISCO IOS
User Mode
- User mode has limited access to the device.
- To Enter into Privilege mode
- Switch>enable
- To disable Privilege and enter to User mode,
- Switch#disable
Privilege Mode
- In This mode you will gain more access to the device.
- In this mode you can use show commands to verify the configuration.
- Switch# show ip interface brief
- Switch# show interface serial 0/0
- Switch# show history
- By default it cisco device will show the history of last 10 commands, But you can also change it by,
- Switch# terminal history size 25
- Some of the configuration that can be done in Privilege mode
- Switch# clock set 14:51:50 25 January 2013
- Swich# show version -- To check the uptime ,
- Swich# show ip interface brief -- Status of the interface
- Swich# show interface serial 0/0 -- Shows what type of interface and its configuration characteristics.
Global Configuration mode
- This is the mode from where we can start doing configuration.
- Switch(config)#show interface f 0/0
- Switch(config)# ^
- ---- If you type the above command it will show as, error with “^” , as this command is not supported.
- Switch(config)# do show interface f 0/0
- Just add do infront of the command, It will display the information you required.
Interface configuration mode
- In this mode we can configure interface.
- Switch(config)# interface serial 0/0
- Switch(config-if)#
Sub-Interface configuration mode
- In this mode we can configure sub-interface.
- Switch(config)# interface serial 0/0
- Switch(config-if)#interface serial 0/0.10
- Switch(config-if)#
Line configuration mode
- In this mode we can configure, console and remote session characteristics as,
- What type of password to be used.
- What is the session time out
- SSH or telnet what is to be used.
- How many sessions to be allowed.
- The following command shows us how to enter to the line configuration mode.
- Switch(config)line vty 0 4
- Switch(config-line)#
Common Characteristics
- You can press the TAB button to auto-complete a command or keyword
- CTRL-A --> brings your cursor to the beginning of the line.
- CTRL-E --> brings your cursors to the end of the line.
- CTRL-W --> deletes the previous word of the cursor.
- CTRL-SHIFT-6 --> interrupts processes like a PING.
- CTRL-C --> aborts the current command that you were typing and exits configuration mode.
- CTRL-Z --> ends configuration mode
- write --> to save the configuration.
- copy running-config startup-config --> to save the configuration.
That's it
Post a Comment
Post a Comment