Basic CISCO Commands
| access-enable | Enables the router to create a temporary access list entry in a dynamic access list. |
| access-group | Applies access control lists (ACLs) to an interface. |
| access-list | Defines a standard IP ACL. |
| access-template | Manually places a temporary access list entry on a router to which you are connected. |
| appn | Sends a command to the APPN subsystem. |
| atmsig | Executes ATM signaling commands. |
| b | Boots the operating system manually. |
| bandwidth | Sets a bandwidth value for an interface. |
| banner motd | Specifies a message-of-the-day banner. |
| bfe | Sets manual emergency modes. |
| boot system | Specifies the system image that the router loads at startup. |
| calendar | Manages the hardware calendar. |
| cd | Changes the current device. |
| cdp enable | Enables Cisco Discovery Protocol on an interface. |
| clear | Resets functions. |
| clear counters | Clears the interface counters. |
| clear interface | Resets the hardware logic on an interface. |
| clockrate | Configures the clock rate for the hardware connections on serial interfaces, such as network interface modules and interface processors to an acceptable bit rate. |
| cmt | Starts or stops FDDI connection management functions. |
| config-register | Changes the configuration register settings. |
| configure | Allows you to enter changes to an existing configuration and maintain and store configuration information at a central site. |
| configure memory | Loads configuration information from nonvolatile random-access memory. |
| configure terminal | Configures the terminal manually from the console terminal. |
| connect | Opens a terminal connection. |
| copy | Copies configuration or image data. |
| copy flash tftp | Copies the system image from Flash memory to a tftp server. |
| copy running-config startup-config | Stores the current configuration in RAM into NVRAM. |
| copy running-config tftp | Stores the current configuration in RAM on a network TFTP server. |
| copy tftp flash | Downloads a new image from tftp server to Flash memory. |
| copy tftp runnig-config | Loads configuration information from a network TFTP server. |
| debug | Uses debugging functions. |
| debug dialer | Shows such information as what number the interface is dialing. |
| debug ip rip | Displays RIP routing updates as they are sent and received. |
| debug ipx routing activity | Displays information about Routing Information Protocol (RIP) update packets. |
| debug ipx sap | Displays information about Service Advertising Protocol (SAP) update packets. |
| debug isdn q921 | Displays data link-layer (Layer 2) access procedures that are taking place at the router on the D channel (LAPD) of its Integrated Services Digital Network (ISDN) interface. |
| debug ppp | Displays information on traffic and exchanges in an internetwork implementing Point-to-Point Protocol (PPP). |
| delete | Deletes a file. |
| deny | Sets the conditions for a named IP ACL. |
| dialer idle-timeout | Specifies the idle time before the line is disconnected. |
| dialer map | Configures a serial interface to call one or multiple sites. |
| dialer wait-for-carrier-time | Specifies how long to wait for a carrier. |
| dialer-group | Controls access by configuring an interface to belong to a specific dialing group. |
| dialer-list protocol | Defines a DDR dialer list to control dialing by protocol or by a combination of protocol and ACL. |
| dir | Lists the files on a given device. |
| disable | Turns off privileged commands. |
| disconnect | Disconnects an existing network connection. |
| enable | Turns on privileged commands. |
| enable password | Specifies a password to prevent unauthorized access to the router. |
| enable secret | Specifies an additional layer of security over the enable password command. |
| encapsulation frame-relay | Enables Frame Relay encapsulation. |
| encapsulation novell-ether | Specifies that Novell's unique frame format is used on a network segment. |
| encapsulation ppp | Sets PPP as the encapsulation method used by a serial or ISDN interface. |
| encapsulation sap | Specifies that Ethernet 802.2 frame format is used on a network segment. Cisco's keyword is sap. |
| end | Exits configuration mode. |
| erase | Erases Flash or configuration memory. |
| erase startup-config | Erases the content of NVRAM. |
| exec-timeout | Sets the interval that the EXEC command interpreter waits until user input is detected. |
| exit | Exits any configuration mode, or closes an active terminal session and terminates the EXEC. |
| format | Formats a device. |
| frame-relay local-dlci | Enables the Local Management Interface (LMI) mechanism for serial lines using Frame Relay encapsulation. |
| help | Gets a description of the interactive help system. |
| history | Enables the command history function. |
| hostname | Configures the router with a host name, which is used in prompts and default configuration filenames. |
| interface | Configures an interface type and enters interface configuration mode. |
| interface serial | Selects the interface and enters interface configuration mode. |
| ip access-group | Controls access to an interface. |
| ip address | Assigns an address and a subnet mask and starts IP processing on an interface. |
| ip default-network | Establishes a default route. |
| ip domain-lookup | Enables name-to-address translation in the router. |
| ip host | Makes a static name-to-address entry in the router's configuration file. |
| ip name-server | Specifies the addresses for up to six name servers to use for name and address resolution. |
| ip route | Establishes static routes. |
| ip unnumbered | Enables Internet Protocol (IP) processing on a serial interface without assigning an explicit IP address to the interface. |
| ipx delay | Sets the tick count. |
| ipx ipxwan | Enables the IPXWAN protocol on a serial interface. |
| ipx maximum-paths | Sets the number of equal-cost paths the Cisco IOS software uses when forwarding packets. |
| ipx network | Enables Internetwork Packet Exchange (IPX) routing on a particular interface and optionally selects the type of encapsulation (framing). |
| ipx router | Specifies the routing protocol to use. |
| ipx routing | Enables IPX routing. |
| ipx sap-interval | Configures less frequent SAP updates over slow links. |
| ipx type-20-input-checks | Restricts the acceptance of IPX type 20 propagation packet broadcasts. |
| isdn spid1 | Defines at the router the service profile identifier (SPID) number that has been assigned by the ISDN service provider for the B1 channel. |
| isdn spid2 | Defines at the router the SPID number that has been assigned by the ISDN service provider for the B2 channel. |
| isdn switch-type | Specifies the central office switch type on the ISDN interface. |
| keepalive | Enables the LMI mechanism for serial lines using Frame Relay encapsulation. |
| lat | Opens a LAT connection. |
| line | Identifies a specific line for configuration and starts the line configuration command collection mode. |
| line console | Configures a console port line. |
| line vty | Specifies a virtual terminal for remote console access. |
| lock | Locks the terminal. |
| login | Logs in as a particular user. Enables password checking at login. |
| logout | Exits from EXEC mode. |
| mbranch | Traces down a branch of a multicast tree for a specific group. |
| media-type | Specifies the physical connection. |
| metric holddown | Keeps new IGRP routing information from being used for a certain period of time. |
| mrbranch | Traces up a branch of a multicast tree for a specific group. |
| mrinfo | Requests neighbor and version information from a multicast router. |
| mstat | Shows statistics after multiple multicast traceroutes. |
| mtrace | Traces the path from a source to a destination branch for a multicast distribution tree. |
| name-connection | Names an existing network connection. |
| ncia | Starts/stops the NCIA server. |
| network | Assigns a Network Information Center-based address to which the router is directly connected. |
| network | Assigns a NIC-based address to which the router is directly connected. Associates networks with an IGRP routing process. Enables Enhanced IGRP on a network in IPX router configuration mode. |
| network-number | Specifies a directly connected network. |
| no shutdown | Restarts a disabled interface. |
| pad | Opens an X.29 PAD connection. |
| permit | Sets conditions for a named IP ACL. |
| ping | Sends an echo request; diagnoses basic network connectivity. |
| ping | Sends ICMP echo request packets to another node on the network. Checks host reachability and network connectivity. Diagnoses basic network connectivity. |
| ppp | Starts the IETF Point-to-Point Protocol. |
| ppp authentication | Enables Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP) or both, and specifies the order in which CHAP and PAP authentication are selected on the interface. |
| ppp chap hostname | Creates a pool of dialup routers that all appear to be the same host when authenticating with CHAP. |
| ppp chap password | Configures a password that will be sent to hosts that want to authenticate the router. This command limits the number of username/password entries in the router. |
| ppp pap sent-username | Enables remote PAP support for an interface and uses sent-username and password in the PAP authentication request packet to the peer. |
| protocol | Defines an IP routing protocol, which can be either RIP, Interior Gateway Routing Protocol (IGRP), Open Shortest Path First (OSPF), or Enhanced IGRP. |
| pwd | Displays current device. |
| reload | Halts and performs a cold reset; reloads the operating system. |
| rlogin | Opens an rlogin connection. |
| router | Starts a routing process by first defining an IP routing protocol. For example, router rip selects RIP as the routing protocol. |
| router igrp | Enables an IGRP routing process. |
| router rip | Selects RIP as the routing protocol. |
| rsh | Executes a remote command. |
| sdlc | Sends SDLC test frames. |
| send | Sends a message over tty lines. |
| service password-encryption | Enables the password encryption function. |
| setup | Enters the setup command facility. |
| show access-lists | Displays the contents of all current ACLs. |
| show buffers | Provides statistics for the buffer pools on the network server. |
| show cdp entry | Displays information about a neighbor device listed in the CDP table. |
| show cdp interface | Displays information about the interfaces on which CDP is enabled. |
| show cdp neighbors | Displays the results of the CDP discovery process. |
| show dialer | Displays general diagnostics for serial interfaces configured for DDR. |
| show flash | Displays the layout and content of Flash memory. |
| show frame-relay lmi | Displays statistics about the LMI. |
| show frame-relay map | Displays the current map entries and information about the connections. |
| show frame-relay pvc | Displays statistics about PVCs for Frame Relay interfaces. |
| show hosts | Displays a cached list of host names and addresses. |
| show interfaces | Displays statistics for all interfaces configured on the router or access server. |
| show interfaces serial | Displays information about a serial interface. |
| show ip interface | Displays the status and global parameters associated with an interface. |
| show ip interface | Lists a summary of an interface's IP information and status. |
| show ip protocols | Displays the parameters and current state of the active routing protocol process. |
| show ip route | Displays the contents of the IP routing table. |
| show ip route | Displays the current state of the routing table. |
| show ipx interface | Displays the status of the IPX interfaces configured in the Cisco IOS software and the parameters configured on each interface. |
| show ipx route | Displays the content of the IPX routing table. |
| show ipx servers | Displays the IPX server list. |
| show ipx traffic | Displays the number and type of packets. |
| show isdn active | Displays current call information, including called number, the time until the call is disconnected, AOC charging units used during the call, and whether the AOC information is provided during calls or at the end of calls. |
| show isdn status | Displays the status of all ISDN interfaces or, optionally, a specific digital signal link (DSL) or a specific ISDN interface. |
| show memory | Shows statistics about the router's memory, including memory-free pool statistics. |
| show processes | Displays information about the active processes. |
| show protocols | Displays the configured protocols. This command shows the status of any configured Layer 3 protocol. |
| show protocols | Displays the configured protocols. |
| show running-config | Displays the current configuration in RAM. |
| show spantree | Displays spanning-tree information for a virtual local-area network (VLAN). |
| show stacks | Monitors the stack use of processes and interrupt routines and displays the reason for the last system reboot. |
| show startup-config | Displays the saved configuration, which is the contents of NVRAM. |
| show status | Displays the current status of the ISDN line and both B channels. |
| show version | Displays the configuration of the system hardware, the software version, the names and sources of configuration files, and the boot images. |
| shutdown | Disables an interface. |
| telnet | Logs into a host that supports telnet. |
| term ip | Specifies the format of network masks for the current session. |
| term ip netmask-format | Specifies the format in which network masks are displayed in show command output. |
| timers basic | Controls how often IGRP sends updates. |
| trace | Determines a path that packets will take when traveling to their destination. |
| username password | Specifies the password to be used in CHAP caller identification and PAP. |
| verify | Verifies the checksum of a Flash file. |
| where | Lists active connections. |
| which-route | Does OSI route table lookup and displays results. |
| write | Writes the running configuration to memory, a network, or a terminal. |
| write erase | The erase startup-config command replaces this command. |
| write memory | The copy running-config startup-config command replaces this command. |
| x3 | Sets X.3 parameters on PAD. |
| xremote | Enters XRemote mode. |
en (enable) - enable mode
conf t (conf term) - config mode
int s0
int s1
int e0
int e1
int fddi0/0
int hssi1/0
no ip route 192.231.42.0 255.255.255.0 166.90.118.122 - Network IP /
Subnet / Remote Serial IP no shut - to enable serial interface
no enable secret - to disable enable secret
no ip route-cache -
no fair-queue -
ip classless -
ip subnet-zero - allows use of the first IP block of a subnetted class C,
i.e. 205.158.3.0
ip route xxx.xxx.xxx.xxx 255.255.255.xxx null0 -
ctrl z - end config mode
wr t - display running config to screen without saving changes to nvram
wr (write mem) - write running config / changes to nvram
sho int s0 - show serial interface 0
sho int s1 - show serial interface 1
sho int e0 - show Ethernet interface 0
sho int e1 - show Ethernet interface 1
sho ip route - shows all routes
sho ip route 192.231.42.1 - show where this router learned this IP only
sho ip bgp xxx.xx.xx.x -
sho conf - must be in "enable" mode if telneted into router
sho arp - displays all IP's active on Ethernet interface
sho access-list -
sho controller cx bus -
sho run -
sho start -
sho frame pvc -
sho frame lmi -
sho int s0 - watch "Load 1/255" - input and output que drops,
sho buffers -
sho proc (show processor) - show processor utilage
sho proc mem (show processor memory) - watch available memory when less
then 1MB
sho log - display error log history
sho ntp assoc -
clear counters - clear all counters on every interface
clear counter s4/2 - clear counters only on interface "s4/2"
ping "serial interface IP" -
ping - "target IP" - Repeat count "500" - Datagram
size "750"
ping - "target IP" - Repeat count "3" - Sweep range
of sizes "y" - Sweep max size "1500"
sho flash - display system flash memory size
sho hardware - display IOS ver, Bootstrap ver, DRAM size (i.e.
1024kx1024k=2MB), system flash mem size
sho ver - show version
debug serial interface -
debug serial events -
sho ip eigrp topology -
sho ip eigrp neighbors -
sho ip route eigrp -
ctrl shift 6 - to break ping or traceroute
ctrl break - ??? durring boot up stops router from booting to ???
reload - think it reboots router
erase startup - think this blows away config in nvram
2501 - to handle two T1's... needs to have minimum 4MB flash mem and
2MB DRAM for IP only
2501 - Enterprise needs to have minimum 8MB Flash and 6MB DRAM memory