Difference between revisions of "Cisco IOS"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(12 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
* <code>[[debug (IOS)|debug]]</code>
 
* <code>[[debug (IOS)|debug]]</code>
 
* <code>[[show platform]]</code>
 
* <code>[[show platform]]</code>
 +
* <code>[[show cdp neighbors]]</code>
  
 
== Interfaces ==
 
== Interfaces ==
Line 25: Line 26:
 
* <code>[[show ip interface]]</code>
 
* <code>[[show ip interface]]</code>
 
** <code>show ip interface brief</code> or <code>sh ip int br</code>
 
** <code>show ip interface brief</code> or <code>sh ip int br</code>
* <code>enable</code> Logs into enable mode. Also known as user exec mode or privileged mode. See also: <code>show privilege</code>
+
* <code>[[enable]]</code> Logs into enable mode. Also known as user exec mode or privileged mode. See also: <code>[[show privilege]]</code>
 
** <code>enable 5</code> Change to level 5
 
** <code>enable 5</code> Change to level 5
 
** <code>no enable password</code>
 
** <code>no enable password</code>
Line 90: Line 91:
  
 
== Users ==
 
== Users ==
* <code>show privilege</code>
+
* <code>[[show privilege]]</code>
  
 
* <code>[[username]]</code> Create and delete users
 
* <code>[[username]]</code> Create and delete users
* <code>[[show users]]</code>
+
* <code>[[Cisco IOS: show users]]</code>
  
 
* <code>[[write]]</code>
 
* <code>[[write]]</code>
Line 112: Line 113:
 
== [[DHCP]] Server ==
 
== [[DHCP]] Server ==
 
* <code>[[show ip dhcp binding]]</code>
 
* <code>[[show ip dhcp binding]]</code>
 +
 +
== Memory ==
 +
* <code>[[show memory]]</code>
 +
* <code>[[show memory platform]]</code>
  
 
== Configuration Guides ==
 
== Configuration Guides ==
Line 122: Line 127:
 
# [[Associate a user with default higher privileges]] using <code>[[username]]</code> command
 
# [[Associate a user with default higher privileges]] using <code>[[username]]</code> command
 
# [[IOS: Create a VLAN|Create a new VLAN]]
 
# [[IOS: Create a VLAN|Create a new VLAN]]
 +
# Use ansible: <code>[[ansible-galaxy install ansible-network.cisco_ios]]</code>
 +
 +
== Related terms ==
 +
* [[Secure Gateway OS (SGOS)]]
 +
* [[iOS]]
 +
* [[Cisco NX-OS]]
  
 
== See also ==
 
== See also ==

Latest revision as of 08:39, 17 April 2024

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[edit]

Interfaces[edit]

  • interface Te1/0/1
  • show ip [OPTION]
  • show ip interface
    • show ip interface brief or sh 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 5
    • no enable password
  • show ip traffic
  • show tcp brief





  • 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 to grep linux command

VLAN[edit]

show ip[edit]

Stacking[edit]

Users[edit]


IOS: Access List (ACLs)

HTTP Server[edit]

  • sh ip http server all
  • R1(config)#ip http server
  • R1(config)#ip http authentication local
  • R1(config)#ip http secure-server

DHCP Server[edit]

Memory[edit]

Configuration Guides[edit]

Activities[edit]

  1. 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
  2. Read Cisco IOS Cheat Sheet: https://www.netwrix.com/cisco_commands_cheat_sheet.html
  3. Configure a user with public key access Configure public RSA key authentication
  4. Associate a user with default higher privileges using username command
  5. Create a new VLAN
  6. Use ansible: ansible-galaxy install ansible-network.cisco_ios

Related terms[edit]

See also[edit]


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: