Cisco IOS
Jump to navigation
Jump to search
Cisco Internetwork Operating System (IOS) is a family of network operating systems used on many Cisco Systems routers and current Cisco network switches
Contents
Basic commands[edit]
show versionorsh ver(includes uptime information)show clock
Interfaces[edit]
show interfaceshow interface linkshow interface status(enable or disabled)show interface statsshow interface summaryshow interface trunkshow interfaces switchport. To display the administrative and operational status of a switching (nonrouting) port, including VLANs. and switchport mode
show configurationorsh confshow running-configorsh runAn enable mode command that displays the current configurationconfigure terminalorconf tLogs you into configuration mode
switchport mode access|trunk
- interface Te1/0/1
show mac address-table interface <switchport>
show ip [OPTION]show ip interfaceshow ip interface brieforsh ip int br
enableLogs into enable mode. Also known as user exec mode or privileged mode. See also:show privilegeenable 5Change 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 lookupno ip domain lookup
ip domain-lookupno ip domain-lookup
ip host HOSTNAME xx.xx.xx.xx(Similar to/etc/hosts)
- [no]
ip forward-protocol nd
ip route-cacheno ip route-cache
include, similar togreplinux command
VLAN[edit]
show vlan [brief | id <vlan-id> | name <name> [ifindex] | <ifindex>]show vlanshow vlan brieforsh vlan brshow vlan summaryorsh vlan s
show vtp status
show ip[edit]
Stacking[edit]
Users[edit]
usernameCreate and delete usersCisco IOS: show users
HTTP Server[edit]
sh ip http server all
R1(config)#ip http serverR1(config)#ip http authentication localR1(config)#ip http secure-server
DHCP Server[edit]
Memory[edit]
Configuration Guides[edit]
- IOS: Create a VLAN
- Change vlan configuration:
switchport mode access, switchport access vlan 4545 - Cisco IOS: enable an interface:
conf t,int XXXXXXno shutdown - Cisco IOS DHCP Server configuration
- Configure public RSA key authentication:
ip ssh pubkey-chain - Cisco IOS logging
Activities[edit]
- 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
usernamecommand - Create a new VLAN
- Use ansible:
ansible-galaxy install ansible-network.cisco_ios
Related terms[edit]
See also[edit]
- 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,login - Networking: bandwidth, latency, Jitter, Ethernet, UPnP, MPLS, Frame Relay, ATM, TCP/IP, ARP, WiFi, BGP, Networking timeline, Router, Proxy ARP, Services & Networking, Traffic shapper, Private Leased Line (PLL)
- 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: