Cisco IOS
Cisco Internetwork Operating System (IOS) is a family of network operating systems used on many Cisco Systems routers and current Cisco network switches
Basic commands
show version
orsh ver
(includes uptime information)show clock
Interfaces
show interface
show interface link
show interface status
(enable or disabled)show interface stats
show interface summary
show interface trunk
show interfaces switchport
. To display the administrative and operational status of a switching (nonrouting) port, including VLANs. and switchport mode
show configuration
orsh conf
show running-config
orsh run
An enable mode command that displays the current configurationconfigure terminal
orconf t
Logs you into configuration mode
switchport mode access|trunk
- interface Te1/0/1
show mac address-table interface <switchport>
show ip [OPTION]
show ip interface
show ip interface brief
orsh ip int br
enable
Logs into enable mode. Also known as user exec mode or privileged mode. See also:show privilege
enable 5
Change to level 5no enable password
show ip traffic
show tcp brief
show archive log config all
no shutdown
. Enables an interface (brings it up).
show process
ip domain lookup
no ip domain lookup
ip domain-lookup
no ip domain-lookup
ip host HOSTNAME xx.xx.xx.xx
(Similar to/etc/hosts
)
- [no]
ip forward-protocol nd
ip route-cache
no ip route-cache
include
, similar togrep
linux command
VLAN
show vlan [brief | id <vlan-id> | name <name> [ifindex] | <ifindex>]
show vlan
show vlan brief
orsh vlan br
show vlan summary
orsh vlan s
show vtp status
show ip
Users
show privilege
username
Create and delete usersshow users
HTTP Server
sh ip http server all
R1(config)#ip http server
R1(config)#ip http authentication local
R1(config)#ip http secure-server
DHCP Server
show ip dhcp binding
Configuration Guides
Activities
- Read Cisco IOS command reference: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/fundamentals/command/Cisco_IOS_Configuration_Fundamentals_Command_Reference.pdf
- Read Cisco IOS Cheat Sheet: https://www.netwrix.com/cisco_commands_cheat_sheet.html
- Configure a user with public key access Configure public RSA key authentication
- Associate a user with default higher privileges using
username
command - Create a new VLAN
See also
- Cisco IOS: Cisco IOS XE, Config (mode), VLANs, Cisco IOS logging, VTP, ACLs,
show logging
,show logging history
,show interface status
,debug
,archive
,show archive
,conf t
,int
,ip http server
,ip ssh
,ip address
, vty,show mac address-table
,show access-list
, Access-list,ip access-group
,admin
- Networking: bandwidth, latency, Jitter, Ethernet, UPnP, MPLS, Frame Relay, ATM, TCP/IP, ARP, WiFi, BGP, Networking timeline, Router, Proxy ARP, Services & Networking, Traffic shapper
- Cisco IOS, PAN-OS, Junos OS, FortiOS
- OS: PAN-OS, FortiOS, SonicOS, IPFire, JunOS
- Cisco, Meraki, Cisco IOS, Cisco NX-OS, Cisco UCS, Cisco ACI, Cisco IOS XE, Cisco SD-access, AppDynamics, CCT, CCNA, CCNP, CCENT, Duo Mobile, Cisco Duo Mobile, Webex
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.Source: https://en.wikiversity.org/wiki/Cisco_IOS
Advertising: