Wednesday, 27 November 2013

Navigating the Cisco Command Line Interface

Real World Application:

As Cisco network engineer, you need to the main navigation, through the command line interface as all Cisco via the CLI to configure the device. However, there are several JAVA GUI configuration, such as airbags and PDM, frequently frowning, GUI configuration tool that enables device configuration to a give agents with the CLI and unclean. CCNA various CLI modes you include, but are not limited to, global configuration mode, user mode and privileged mode interface configuration mode, the router configuration mode, the VLAN database configuration mode and line mode, access list configuration mode the main navigation to the desired configuration mode.

Lab Objectives:

  • Familiarize yourself with the different ways based on Cisco IOS devices.
  • Familiar with legacy terminal keystroke combination for CLI navigation.


Lab Instruction;

Master navigation through the Cisco command line interface is the sine qua non for any Cisco engineers. There are several different types of Cisco CLI mode. User-mode the first time you put pressure returned after entering your user authentication information, or vty line password mode. Once you're into user mode, you are limited, you can be performed from CLI commands.

However, many command at the user level can be very rich in content, which include, but are not limited to; ping, traceroute, show CDP neighbor display version and show interfaces command.

In privileged mode, you want to give the ability to configure the device and perform administrative commands, including, but not limited to; configuring, clear, heavy, more, copy, delete, clear, and debugging.


In the terminal box as shown below, you can see after pressing enter, you have to put Cisco CLI ">" next to the larger and then log in to the host name. This is known as user mode.

Router con0 is now available

Press RETURN to get started.

Router>

At any point in Cisco CLI, you can use the question mark for the context mode sensitive notes lists commands available to perform from your current permission levels. As shown below;

Router>?
Exec commands:
  access-enable    Create a temporary Access-List entry
  access-profile   Apply user-profile to interface
  clear            Reset functions
  connect          Open a terminal connection
  crypto           Encryption related commands.
  disable          Turn off privileged commands
  disconnect       Disconnect an existing network connection
  emm              Run a configured Menu System
  enable           Turn on privileged commands
  ethernet         Ethernet parameters
  exit             Exit from the EXEC
  help             Description of the interactive help system
  lat              Open a lat connection
  lock             Lock the terminal
  login            Log in as a particular user
  logout           Exit from the EXEC
  mrinfo           Request neighbor and version information from a multicast router
  mstat            Show statistics after multiple multicast traceroutes
  mtrace           Trace reverse multicast path from destination to source
  name-connection  Name an existing network connection
 --More--

You can use line-by-line to display or the space bar to display the available commands the next paragraph. If you want to exit the list, without pressing the SPACEBAR continues to reach the end of the list, press the Q key.

Time in user mode you can elevate your permissions from user-mode CLI by issuing the command to enable the prompt. If you enable password or enable secret configuration, and then you will be prompted to provide this type of authentication information, elevate their own privileges.

Please note that when you enter a password on a Cisco device, you will not see the password you typed. This is intentional by Cisco to prevent people from watching you on the shoulder.

Router>enable
Password:
Router#

When you are in privileged mode, you can configure your router by entering the command configure Terminal. This command you enter global configuration mode you can make configuration changes to device. Please note that this is not always possible, if command authorization, Cisco access control server before you execute each command authorized Cisco ACS server prior to execution. ACS server (this is outside the scope of the CCNA certification) allow security agents to control which users can perform what commands based on configured policy.

Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#

(By the (config) # prompt) in global configuration mode, you have access to different configuration mode interface configuration mode or router configuration mode, the VLAN database configuration mode, access-list configuration mode, and many others;


Router(config)#interface f0/0
Router(config-if)#router eigrp 1
Router(config-router)#ip access-list extended example_acl_name
Router(config-ext-nacl)#line con 0
Router(config-line)#

0 comments:

Post a Comment