Home >Documents >CISCO IOS CLI (Command-Line Interface)

CISCO IOS CLI (Command-Line Interface)

Date post:30-Dec-2015
View:40 times
Download:2 times
Share this document with a friend
CISCO IOS CLI (Command-Line Interface). COMP 417. CLI Access Modes. User EXEC Provides basic access to the IOS with limited command availability. Basically simple monitoring and troubleshooting commands. User EXEC. Router> ? Exec commands:             Session number to resume - PowerPoint PPT Presentation
  • COMP 417CISCO IOS CLI (Command-Line Interface)

  • CLI Access ModesUser EXECProvides basic access to the IOS with limited command availability.Basically simple monitoring and troubleshooting commands

  • User EXECRouter> ? Exec commands: Session number to resume connectOpen a terminal connection disconnectDisconnect an existing telnet session enableTurn on privileged commands exitExit from Exec mode helpDescription of the interactive help system latOpen a lat connection lockLock the terminal loginLog in as a particular user logoutExit from Exec mode and log out menuStart a menu-based user interface mbranchTrace multicast route for branch of tree mrbranchTrace reverse multicast route to branch of tree mtraceTrace multicast route to group

  • User EXECname-connectionName an existing telnet connection padOpen a X.29 PAD connection pingSend echo messages resumeResume an active telnet connection showShow running system information systatDisplay information about terminal lines telnetOpen a telnet connection terminalSet terminal line parameters tn3270Open a tn3270 connection traceTrace route to destination whereList active telnet connections x3Set X.3 parameters on PAD

  • CLI Access ModesPrivileged EXECProvides high-level management access to the IOS including all commands available at User EXEC.

  • Privileged EXECRouter# To access privileged EXEC mode, use the following command: Note that privileged EXEC mode is sometimes referred to as "enable mode," because the enable command is used to enter the mode.

    CommandPurposeRouter> enable Enables privileged EXEC mode.

    Enter your password when prompted.

  • Privileged EXECThe following example shows the process of accessing privileged EXEC mode: Router> enable Password: Router#

  • CLI Access ModesGlobal Configuration Mode Allows configuration changes to be made to the deviceInterfaceSupport commands that configure operations on a per-interface basicSubinterface Supports commands that configure multiple virtual interfaces on a single physical interfaceControllerSupports commands that configure controllers (E1 and T1)LineSupports commands that configure the operations of a terminal lineRouterSupports commands that configure an IP routing protocol

  • Configuration EXECThe term "global" is used to indicate characteristics or features that affect the system as a whole. Global configuration mode is used to configure your system globally, or to enter specific configuration modes to configure specific elements such as interfaces or protocols. Use the configure terminal command in privileged EXEC mode to enter global configuration mode.

  • Configuration EXECThe following example shows the process of entering global configuration mode from privileged EXEC mode: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#

    Command Purpose

    Router# configure terminalFrom privileged EXEC mode, enters global configuration mode.

  • Configuration EXECTo exit global configuration command mode and return to privileged EXEC mode, use one of the following commands:

    Command Purpose

    Router(config)# end or Router(config)# ^Z Ends the current configuration session and returns to privileged EXEC mode.

    Router(config)# exit Exits the current command mode and returns to the preceding mode. For example, exits from global configuration mode to privileged EXEC mode.

  • Interface Configuration Mode

    One example of a specific configuration mode you enter from global configuration mode is interface configuration mode. Many features are enabled on a per-interface basis. Interface configuration commands modify the operation of an interface such as an Ethernet, FDDI, or serial port. Interface configuration commands always follow an interface command in global configuration mode, which defines the interface type. For details on interface configuration commands that affect general interface parameters, such as bandwidth or clock rate, refer to the Cisco IOS Interface and Hardware Component Configuration Guide. For protocol-specific commands, refer to the appropriate Cisco IOS software command reference.

  • Interface Configuration ModeTo access and list the interface configuration commands, use the following command:

    In the following example, the user enter interface configuration mode for serial interface 0. The new prompt, hostname(config-if)#, indicates interface configuration mode. Router(config)# interface serial 0 Router(config-if)# To exit interface configuration mode and return to global configuration mode, enter the exit command.

    Command Purpose Router(config)# interface type number Specifies the interface to be configured, and enters interface configuration mode.

Popular Tags:

Click here to load reader

Reader Image
Embed Size (px)