0% found this document useful (0 votes)
730 views6 pages

GNS3 Labs - CCNP - CCNA Labs - Cisco Basic Commands List For Beginners - Cisco Command Levels EXEC Modes

gns3

Uploaded by

Dcs John
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
730 views6 pages

GNS3 Labs - CCNP - CCNA Labs - Cisco Basic Commands List For Beginners - Cisco Command Levels EXEC Modes

gns3

Uploaded by

Dcs John
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Higit Pa Bumu

GNS3 Labs | CCNP | CCNA Labs


Blog is related to most famous network simulator i.e. "GNS3", here you can find different Labs, typologies and configuration regarding ICND,
CCNA, CCNP on GNS3.

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

Cisco IOS command level and their Basic Commands:


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
Labels specific privileges and control. These commands Level are as under:

100-101 (2)  User Mode


200-125 (1) Privileged EXEC  Mode
642-813 (6) Global configuration Mode
CCNA lab (10)
CCNP labs (22) Cisco User Mode Cisco:
In user EXEC mode you can execute limited array of show commands, basic reachability tests, such as ping and
Cisco (9)
traceroute, as well as other ways of viewing configurations and status info of a Cisco device without the ability to
Cisco Router (1) make changes. This command level is represented by symbol “>”, by using command you can “enable” you can go
EIGRP (8) to next mode i.e. privileged EXEC mode.
GNS3 (32)
GNS3 1.0 (15)
gns3 appliances (2)
GNS3 IOS (13)
GNS3 Labs (40)
ICND1 lab (4)
ICND2 200-101 (4)
IOS download (12)
ipv6 lab (1)
is-is lab (1)
juniper (8) C
MAC (1)
MPLS Lab (1)
S
networking (1)
ospf labs (8)
Packet Tracer tutorial H
(1) S
Routing labs (20) S
Stream server (1) C
Switch labs (8)
E
b
virtualbox (15) M
vlan (1) Cisco Privileged EXEC Mode
Privileged EXEC mode is represented by symbol “#”.
E
VMware (4) C
vpn (2) H
windows 10 error (1) s
|
windows 8 (11)
C
wireless network (1)

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

Pathfinder Campaign Setting: Planes... - Pathfinder Campaign Setting: Planes of


Power : Paperback : Paizo Publishing,...
Book Depository™ Visit Site

R1#configure terminal                   Entering into Global Configuration Mode


R1(config)#
Followers
Mga sumusubaybay Note: In this article all Cisco commands are represented with purple color.
(296) Susunod Example of Commands in Privileged EXEC Mode:
How to Check the IOS/hardware version of Cisco Device:
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.

How to set Gateway on Cisco router


You can configure or set a default gateway following commands:

 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

Examples of Global configuration Commands:


 To enter in Global configuration mode type: config terminal. Global configuration mode is often used to configure
the network Commands.
Set hostname of Router:
Router(config)#hostname <distinguished name>
Command Example: Router (config)# hostname R1 (This command will set the router name to R1)
How to set banner message:
banner motd <banner start identification> banner message <banner end identification>
Command Example:
banner motd #Unauthorized access to this device is prohibited!#    
Above command with set the banner to "Unauthorized access to this device is prohibited" 
How to set IP address to Cisco interface:
Router(config)#  Interface <port number >
Router(config-int)# ip address <ip address number>
IP address Command Example:
 Router(config)#interface f0/0
Router(config)# ip address 176.16.32.1 255.255.255.0
(This will set the IP address 176.16.32.1/24 to interface f0/0)
How to up/on the Cisco router interface:
Router(config)#interface f0/0
Router(config-int)# no shutdown 
(above command will change the status of interface fo/o to active/up/ON)

How to set the interface speed:


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.
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>

for more details Access list in Cisco

Cisco Switching Commands:


How to crate Vlan on Cisco: 
switch(vlan)# vlan <vlan-num> name <vlan name>
 switch(vlan)# vlan 10 name marking
Above command will create vlan 10 with name marketing.
How to set access port: 
switch# configure teriminal 
switch( config)# interface fo/o
 switch(config-if)# switchport mode access 

How to assign vlan to interface in Cisco:


switch( config)# interface <interface name/number>
switch(config-if)# switchport access vlan <vlan-num> 
 Command Example:
switch( config)# interface  f0/0
switch(config-if)# switchport access vlan 10
Above command will add interface f0/0 to vlan 10.
See vlan Configuration Example.

 How to create trunk port: 


After selecting the interface mode type the following commad.
switch(config-if)# switchport mode trunk 

How to allow the specific Vlans on Trunk Port:

switch(config-if)# switchport trunk allowed vlan < vlan-list>

Cisco Daily used commands:


Cisco Connectivity Test Commands:
Ping host name / IP address    
R1> ping 10.0.0.1
traceroutehostname / IP address of destination
R1# traceroute 192.168.1.1

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:

Horizon computers June 27, 2016 at 3:58 PM


That was a really nice blog buddy, very informative.

Reply

Mohd Sharaf August 29, 2016 at 9:36 PM


thanks...very usefull for beginners

Reply

Sandeep Increidable September 18, 2016 at 6:29 PM

thanx very much,, its very useful


Reply

Anonymous September 22, 2016 at 11:02 AM


Thanks...it's impressive and really useful for beginners like me. :-)

Reply

Vasilis Nikitaras October 14, 2016 at 7:06 AM


Thanks it's impressive and really useful.

Reply

Unknown February 9, 2017 at 10:54 AM

great job...give more commands...


Reply

Sanjay Maurya May 26, 2017 at 6:29 PM


Thanks

Reply

Anonymous June 27, 2017 at 10:54 PM

Thank You So Much... It really helped...


Reply

Anonymous July 7, 2017 at 6:38 PM


good blog

Reply

Ritesh Sharma October 23, 2017 at 3:24 AM


great

Reply

Enter your comment...

Comment as: Google Accoun

Publish Preview

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Travel theme. Powered by Blogger.

UA-23728446-1

You might also like