Beruflich Dokumente
Kultur Dokumente
This article has basic Cisco commands, for more commands and details you can visit Cisco.com.
What are Cisco command levels EXEC Mode and how to access them:
With Cisco command levels EXEC Mode you can control user privileges. These user privilege controls can be given through
password. There are three command levels in all Cisco IOS devices. In each command level you have specific privileges and
control. These commands Level are as under:
User
Mode
In user EXEC modeyou can execute limited array of show commands, basic reachability tests, such as ping and traceroute, as
well as other ways of viewing configurations and status info of a Cisco device without the ability to make changes. This command
level is represented by symbol >, by using command you can enable you can go to next mode i.e. privileged EXEC mode.
This mode is for users that have been some admin privileges and need to make changes, but in this mode most of commands are
related to view/show configurations and debugs.
In privileged EXEC Mode most of command show the status of cisco devices, module and startup, running configurations and
configurations of different protocols.
This mode is for administrator and power user, from this mode you can configure your Cisco device can configure different
Protocols. Some of common commands for configurations of this mode are as under.
You can access or go to global configuration mode by using command configure terminal when you are in Privileged EXEC
mode.
R1>
R1>enableEntering intoPrivileged EXECMode
R1#configure terminalEntering intoGlobal Configuration Mode
R1(config)#
Note: In this article all Cisco commands are represented with purple color.
R1#Show Version
Show version command will displays the configuration of the system hardware, the IOS version, and the names and sources of
configuration files and the boot images. This command also displays information about how the system was last started and how
long the router has been running since that start.
Show running-config
This command will show all the configuration which are configure on Cisco device. You viewoutput of show running-config
show logging
show logging command displays the state of syslog error and event logging, including host addresses, and whether console logging
is enabled. Viewoutput of show logging
show Processes
This command will displays information about the active processes.
show Processesmemory
This command will displays the amount of memory used. Seeoutput of Show processes memory.
show ip route
Above command will show all dynamic and static routes on Cisco Device. Aoutput of show ip route.
show ip routeOSPF
Command will show all OSPF routes.
show ip routeRIP
Command will show all RIP routes.
Show ip route EIGRP
This command will show all EIGRP routes.
show interfaces
This command displays statistics for the network interfaces. Output of this command include following details
i. UP/down state of interface
ii. MAC Address
iii. IP address
iv. MTU ,BW Delay, duplex type of interfaces
v. Queueing strategy
vi. Packet send/received
Click here to see theOutputof show interfaces
Following are some others show command which are self-explanatory you can try these command on your Cisco device and view
their output.
Show clock
Show controllers
Show mac-address-table
Show memory
Show privilege
Show protocols
Show startup-config
Show Flash
Show spanning-tree
To enter in Global configuration mode type: config terminal. Global configuration mode is often used to configure the network
Commands.
Interface console type the following commands for configuring interface speed.
switch(config-if)#speed{10|100|auto
R1(config)#interface f0/1
R1(config-if)#speed 100
Above commands will configure the speed of 100MBs to interface f0/1.
Router(config-line)#login
Router(config-line)#password cisco
(Above command will create a Telnet password to Cisco)
Cisco IP routingCommands:
Router(config)#Router rip
Router(config-router)#Network <Network ID>
Router(config-router)#Network 192.168.1.0
See more for configuration command example ofRIPin Ciscofrom here.
switch(config-if)#switchporttrunkallowedvlan< vlan-list>
You
In this article I have combine some of common and basic commands, if you think that there are some basic/important commands
are missing here then please comment & I will update it accordingly. Thank you for reading it.