GNS3 Labs - CCNP - CCNA Labs - Cisco Basic Commands List For Beginners - Cisco Command Levels EXEC Modes
GNS3 Labs - CCNP - CCNA Labs - Cisco Basic Commands List For Beginners - Cisco Command Levels EXEC Modes
Home ICND1 and ICND2 Labs | CCENT Sim CCNP Route (300-101 Exam) Labs CCNP Switch (300-115) Practice Labs CCNA 200-125 Labs
Search
O ce 365 Forms Builder Custom S
Ad Create custom forms for SharPoint Search
Online lists using drag&drop User Interface.
Virto Forms Designer
Learn more
Cisco Basic Commands list for beginners | Cisco command levels EXEC Modes
S
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.
S
In privileged EXEC Mode most of command show the status of cisco devices, module and startup, running
S
configurations and configurations of different protocols.
R
Cisco Global Configuration Mode
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. F
to
g
A
L
S
You can access or go to global configuration mode by using command “configure terminal” when you are in V
Privileged EXEC mode. P
R1> fo
R1>enable Entering into Privileged EXEC Mode R
Ad re
R
ip default-network
ip default-gateway
ip route 0.0.0.0 0.0.0.0
How to set Gateway of last resort
How to check all running configurations of Cisco Device:
Show running-config
Sundin
This command will show all the configuration which are configure on Cisco device. You view output of show
running-config
Blog Archive How to check the vlan details on Cisco:
Show Vlan
► 2019 (6)
Click here to see the Outputof show vlan
► 2018 (6) How to check detail of specific interfaces on Cisco:
Show interface <interface name>
► 2017 (7)
Command Example: show interface f0/0 (this command will show the detail of interface fastEthernet 0/0)
► 2016 (6) View output of showinterface f0/0
How to check syslog errors:
▼ 2015 (15)
show logging
► November (2) show logging command displays the state of syslog error and event logging, including host addresses, and whether
► September (1) console logging is enabled. View output of show logging
How to check running process on Cisco Device:
▼ August (8)
show Processes
► Aug 30 (2) This command will displays information about the active processes.
▼ Aug 09 (5) How to check the memory used by running process on Cisco:
GNS3 Tutorials
for beginners
| How to
getting star...
Cisco Basic
Commands list
for beginners
| Cisco co...
Cisco Static
Routing Lab on
GNS3 | Static show Processes memory
Routes w... This command will displays the amount of memory used. See output of Show processes memory.
Cisco CLI How to check Routing table on Cisco Router/Switch:
Password show ip route
Recovery Above command will show all dynamic and static routes on Cisco Device. A output of show ip route.
Steps How to show ip route OSPF
recover t... Command will show all OSPF routes.
Cisco Interface show ip route RIP
and Line Command will show all RIP routes.
Protocol Show ip route EIGRP
Status
This command will show all EIGRP routes.
descripti...
How to check all interfaces details:
► Aug 02 (1) show interfaces
This command displays statistics for the network interfaces. Output of this command include following details
► July (1) i. UP/down state of interface
ii. MAC Address
► January (3)
iii. IP address
► 2014 (28) iv. MTU ,BW Delay, duplex type of interfaces
v. Queueing strategy
► 2013 (16)
vi. Packet send/received
► 2012 (27) Click here to see the Outputof show interfaces
► 2011 (50)
How to check the status of all interfaces on Cisco:
Show ip interface Brief
Subscribe This command will show you the IP addresses, interfaces status (up/down), protocol status (up/down), you can
view output of Show ip interface Brief from here.
Posts Check neighbors detail and routing information | Cisco CDP commands
show cdp interface
Comments
show cdp neighbors [Detail]
show cdp entry Router
Ip domain-Lookup nsap
Show hosts
Some other Examples of show commands:
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
R1(config)#interface f0/1
R1(config-if)#speed 100
Above commands will configure the speed of 100MBs to interface f0/1.
How to set enable password on Cisco:
Router(config)# Enable Password <password>
Enable password Command Example:
Router(config)# Enable Password Cisco
(This will Establishes a enable password to Cisco)
How to set Telnet password on Cisco:
Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password cisco
(Above command will create a Telnet password to Cisco)
Cisco IP routing Commands:
How to set the static routing:
Router(config-router)#ip route [destination_network] [mask] [next-hop_address
Static route command example:
Router(config-router)#ip route 210.22.22.2 255.255.255.0 192.168.0.1
Above command will set a static route for network 210.22.22.0. See static routing on gns3.
How to set the default route on Cisco Router
Router(config)#ip default-network< network number >
Command Example: ip default-network 192.168.1.1
How to configure dynamic routing with Rip on Cisco:
Router(config)#Router rip
Router(config-router)#Network <Network ID>
Router(config-router)#Network 192.168.1.0
See more for configuration command example of RIP in Cisco from here.
How to configure OSPF on Cisco:
Router(config)#Router ospf process ID
Router(config-router)#Network <Network ID> <mask> area <area ID>
Router(config)#Router ospf 1
Router(config-router)#network 10.0.0.0 0.0.0.255 area 0
Above command will advertise the network 10.0.0.0/24 in area 0.
OSPFconfiguration commands example.
How to configure access-list on Cisco:
Access-List <access number> {permit | deny} <IP address to block>
switch(config-if)# switchport trunk allowed vlan < vlan-list>
How to go back to previous command level: (From Global Configuration to privileged EXEC or User mode):
1. You can use command “Exit” or “end” for exiting the current EXEC mode, but if you want to go back to privileged
EXEC Mode from any mode simple hit the “Ctrl+Z” from keyboard.
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.
10 comments:
Reply
Reply
Reply
Reply
Reply
Reply
Reply
Publish Preview
UA-23728446-1