Cisco Commands

Router Modes The command-line interface or CLI is much more versatile when configuring a router. To enter into the CLI you must enter no in the initial configuration dialog box. You should then see this text. It shows which Interfaces are up and which are down.

Press RETURN to get started!

%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINK-3-UPDOWN: Interface Serial1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down
%LINK-5-CHANGED: Interface Serial0, changed state to administratively down
%LINK-5-CHANGED:
Router>Interface Serial1, changed state to administratively down
%LINK-5-CHANGED: Interface Ethernet0, changed state to administratively down
%SYS-5-RESTART: System restarted –
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-I-L), Version 11.2(7a), RELEASE SOFTWARE (fc1)
Copyright © 1986-1997 by cisco Systems, Inc.
Compiled Tue 01-Jul-97 14:53 by kuong

As talked about before there are several modes that a user can be in while working on a router. First is the user exec mode or user mode. You can only view from this mode. To actually configure the router you must be in privileged exec mode or privileged mode. To get into this mode type enable.
Router>enable
Router#disable
To get back out of privileged mode a user can type disable. Another way is to type exit this will also allow a user to backtrack a mode. Logout is a way to go back a mode also, but the most popular is to hit CNTRL -Z. Notice in the next several commands displayed how to get in and out of different

Router>enable
Router#exit

Router con0 is now available

Press RETURN to get started.

Router>enable
Router#logout

Router con0 is now available

Press RETURN to get started.

In this next example I show how to get into privileged mode by only type en this is a abbreviation for enable. Play with the commands given in the next sections, many times I will use shortcut commands to speed up the configuration. You will also come to use these commands once you get comfortable with a router configuration. In the second command I typed config t this command allows the user to enter global configuration mode. I then did a CNTRL-Z to get out of the mode.

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#^Z
Router#