Summary of IOS Features and Commands

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

Summary of IOS features and commands:

User EXEC Mode


Example:- Andre>
enable - Enter Privileged EXEC mode

Privileged EXEC Mode


Example:- Andre#
copy running-config startup-config Copy the active

configuration to NVRAM. copy startup-config running-config Copy the configuration in NVRAM to RAM. erase startupconfiguration - Erase the configuration located in NVRAM. ping ip_address - Ping to that address. traceroute ip_address - Trace each hop to that address. show interfaces - Display statistics for all interfaces on a device. show clock - Show the time set in the router. show version - Display currently loaded IOS version, hardware, and device information. show arp - Display the ARP table of the device. show startup-config - Display the saved configuration located in NVRAM. show running-config - Display the contents of the currently running configuration file. show ip interface - Display IP statistics for interface(s) on a router. show ip protocols - Displays the network(s) you are advertising and shows who are you getting updates from, the protocol is used and its default distance on a router. show cdp neighbors display detailed information about neighboring devices (directly connected). configure terminal - Enter terminal configuration mode. Debug ip *protocol* Used to view Real Time updates on the protocol. show

Terminal Configuration Mode


Example:- Andre(config)#
hostname hostname - Assign a host name to device. enable password password - Set an unencrypted enable password. enable secret password - Set a strongly encrypted enable password. service password-encryption - Encrypt display of all passwords except secret. banner motd# message # - Sets a message-ofthe-day banner. line console 0 - Enter console line configuration mode. line vty 0 4 - Enter virtual terminal (Telnet) line configuration mode. interface Interface_name - Enter interface configuration mode. router rip Enter Rip routing configuration

Line Configuration Mode


Example:- Andre(config-line)#
login - Enable password checking at login. password password - Set line password. logging synchronous - disable log sync.

Interface Configuration Mode


Example:- Andre(config-if)#
ip address ip_address netmask - Set interface IP address and subnet mask. description description - Set interface description. clock rate value - Set clock rate for DCE device. no shutdown - Set interface to up. shutdown - Administratively set interface to down.

Router Configuration Mode


Example:- Andre(config-router)#
Not limited to RIP - redistribute static and default-information originate Ripv1 Configuration

Network *ip address of router* - advertise a network that is known. Passive-interface *fa0/0* - Prevent RIP updates from going out an interface. default-information originate Default static router in the routing process redistribute static used for regular static route.

Ripv2 Ripv2 Configuration

EIGRP Router eigrp 100 config EIGRP Configuration EIGRP Configuration Show ip eigrp neighbors shows neighbors: address, interface and the hold time, uptime for adjacency.

OSPF

You might also like