Cisco Commands Cheat Sheet
Cisco Commands Cheat Sheet
Almost all Cisco devices use Cisco IOS to operate and Cisco CLI to be managed. The basic CLI
commands for all of them are the same, which simplifies Cisco device management. Here is a
Cisco commands cheat sheet that describes the basic commands for configuring, securing and
troubleshooting Cisco network devices.
Command Purpose
show ip interface [type number] Displays the usability status of interfaces that
are configured for IP
Troubleshooting Commands
ping {hostname | system-address} Used in enable mode to diagnose basic
[source source-address] network connectivity
speed {10 | 100 | 1000 | auto} An interface mode command that manually
sets the speed to the specified value or
negotiates it automatically
show vtp status Lists the current VTP status, including the
current mode
ip nat inside source static local-ip global-ip A configuration mode command to establish a
static translation between an inside local
address and an inside global address
switchport access vlan Sets the VLAN that the interface belongs to.
switchport trunk {encapsulation { dot1q } Sets the trunk characteristics when the
interface is in trunking mode. In this mode, the
switch supports simultaneous tagged and
untagged traffic on a port.
DHCP Commands
Security Commands
username name password pass-value A global command that defines one of possibly
multiple user names and associated passwords
used for user authentication. It is used when
the login local line configuration command has
been used.
show port security [interface interface-id] Displays information about security options
configured on the interface
Support
Renew Maintenance
Submit a Ticket
Online Documentation
Customer Portal
Supported Versions
Company
About Us
Careers
Management Team
Customers
Analyst Coverage
News
Events
Contact Us
Go Up ›