IOS Commands Supported

 



List of supported IOS commands:

 

User Mode

Command Description

enable

To change the mode from User to Enable mode.

help  

Displays the help description in the Modes.

exit

To log out from the client.

logout

To log out from the client.

show clock

To show the clock time of the CLI agent in the network.

show history

To display the History of the connected terminal.

show snmp  

To show the SNMP status of the agent in the network.

show version

To show the IOS version and its details.

Enable Mode

Command Description

clock set <time>  <month> <day>  

Sets the Clock with Date and Time in the Router

clock set <month> <day>

Sets the Clock with Date and Time in the Router

configure terminal

Change the mode to Configuration Mode

disable

Change the mode to user mode from Enable mode.

exit

To logout from the CLI client.

help

Displays help description in the Mode.

show access-list <number>

Displays the access-list configurations

show cdp

Displays the CDP service in the network node

show cdp entry all  

Displays information about all neighboring devices discovered using CDP .

show cdp entry <name>  

Displays information about a specific neighboring device discovered using CDP.

show cdp interface

Displays information about the interfaces on which Cisco Discovery Protocol (CDP) is enabled

show cdp neighbors

Displays detailed information about all neighboring devices discovered using CDP.

show clock

Display clock time of the CLIAgent in the network.

show flash

Displays the details of the CISCO Flash File Table

show flash all

Displays complete information about Flash memory, including information about the individual ROM devices in Flash memory and the names and sizes of all system  image files stored in Flash memory

show flash chips

Displays information per partition and per chip,                 including which bank the chip is in, plus its code, size and name

show flash detailed

Displays detailed file directory information per partition, including file length, address, name, Flash memory checksum, computer checksum, bytes used, bytes available,  total bytes, and bytes of system Flash memory.

show flash error

Displays write or erase failures in the form of number of retries

show history

Displays the History of the connected terminal.

show ip alias

Displays the IP Alias configured in the CLIAgent in the network.

show rmon alarms

Display all the active alarms in the rmon alarm table

show rmon events

Display all the event in the rmon event table

show snmp

Displays the SNMP status of the CLIagent in the network.

show version

Displays the IOS Version and its details of the CLIagent.

ping  <word>

To ping the device

show ip route static

To show the IP address route for the Interface in the device.

show ip interface brief

To show the brief of the interfaces in the device.

show vlan <Line>

To show the details of VLan configured in the device.

show protocols

Displays the active network routing protocols.

show arp

Displays the ARP table.

show ip access-lists

List of IP access lists.

show ip bgp neighbors

Displays detailed information on TCP and BGP neighbor connections.

show ip bgp neighbors <IP Address>

Displays detailed information on TCP and BGP connections for the specified neighbor ipaddress.

clear ip bgp <IP Address>

Clear BGP connection.

clear ip bgp <AS Number>

Clear BGP connection based on the AS number of the peer.

show ip ospf

Display general information about OSPF routing processes

show ip ospf <processid>

Display general information about OSPF routing process for the specified processid

show startup-config

Displays the contents of startup configuration

show running-config

Displays the current operating configuration

Vlan database

This command is to enter into the Vlan mode without specifying any Vlan number. The vlan_database_en.py script file is used.

show vlan name [WORD]

To show the details of the specified Vlan name. The script file used for this command is show_vlan_name_en.py.

show vlan [vlan-id]

To show the details of the specified Vlan id. The script file used for this command is show_vlan_number_en.py

show vlan

To show the details of all the configured Vlans. The script file used for this command is show_vlan_en.py.

Show vlan brief

This file is to show the details of VLan Interface configured. The script file used for this command is show_vlan_brief_en.py

show vtp status

To show the VTP status for the Vlan in the device. The script file used for this command is show_vtp_status_en.py.

show vtp counters

To show the VTP Counters for the Vlan in the device. The script file used for this command is show_vtp_counters_en.py.

show ip interface brief

This command's output needs to be changed with Vlan configuration. show_ip_ifbrief_en.py

show startup config

This command's output needs to be changed with Vlan configuration. show_startup_config_en.py

show running config

This command's output needs to be changed with Vlan configuration. show_running_config_en.py.

show ip eigrp interface

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py

show ip eigrp neighbours

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py.

show ip eigrp traffic

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py.

show ip protocols

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py.

show running-config

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py

show startup-config

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py

 

 

Config Mode

Command Description

access-list <number> <deny/permit> <any>

Creates the standard access list entry

access-list <number> <deny/permit> host <hostname>

Creates the standard access list entry

access-list <number> <deny/permit> <host name>/<ip address>

Creates the standard access list entry

cdp holdtime <time in sec.>

Configure the HoldTime for the CDP service in the network Inteface node.

cdp run

Run the CDP service in the network node.

cdp timer <time in sec>

To configure the Timer value to the CDP service in the network node.

end

Change the mode from Configuration to Enable mode.

exit

Change the mode from Configuration to Enable mode.

help

Displays help description in the Mode.

hostname <word>

Updates the given value as the host name.

interface ethernet <0-0>

Change the mode from Configuration to Config Interface mode.

no <access-list> number

To remove a specific access-list

no cdp holdtime

Setting cdpGlobalHoldTime to CDP default, if the cdpGlobalRun value is 1/True(default value: 180 seconds.

no cdp run

Stops the CDP service in the network node.

no cdp timer

The node cdpGlobalMessageInterval is set to the default time interval of 60 seconds.

no snmp-server enable traps

Disables all the supported trap types

no snmp-server enable trap <trap type>

Disables the trap specified in the command

no snmp-server host <ip address>

Removes a specific recipient of the SNMP notification operation

no rmon event <number>

Removes an event in the RMON event table

no rmon alarm <number>

Removes an alarm in the RMON alarm table

rmon alarm number variable interval {delta | absolute} rising-threshold value [event-number] falling-threshold value [event-number] [owner string]

Sets an alarm on any MIB object based on the inputs provided in the command .

rmon event number description <string> owner <string> log trap <community>

 Adds an event in the RMON event table that is associated with an RMON event number.

rmon event number description <string> owner <string> trap <community> log

Adds an event in the RMON event table that is associated with an RMON event number, use the  #rmon event in global configuration command

snmp-server community <community name>

Sets up the community access string to permit access to the Simple Network Management Protocol(SNMP)

snmp-server contact <line>

Sets the system contact (sysContact) string.

snmp-server enable traps

Enables all the supported trap types

snmp-server enable trap <trap type>

Enables the trap specified in the command by inserting the data in the database

snmp-server location <line>

Sets up the system location string that describes the system location information.

snmp-server packetsize <byte-count>

Integer byte count from 484 to 8192. The default is 1500 bytes.

snmp-server host [host-addr] [community-string]

To specify the recipients of the SNMP notification operation

enable password <Line>

To change the Password of the User Enable mode in the Router.

ip route <IP Address> <netmask> <gateway>

To specify the secondary IP Address for the Interface in the router.

router rip

To change the Mode to Router mode

vlan <vlan id>

To set the Vlan to the device

router bgp <number>

Enable bgp routing process

arp <IP Address> <hardware address> arpa

Configure IP address of ARP entry

no arp <IP Address>

Removes the arp entry

router ospf <processid>

Enable a routing process

no router ospf <processid>

Removes the ospf process with the specified processid

router eigrp

To enable EIGRP routing. This command is added into the 'basedata' database with ParamName as 'eigrp_as'. The script file used for this command is router_eigrp_autonomous_system_ct.py

Vlan Mode

Command Description

name <vlan name>

To set the vlan name

mtu <mtu size of vlan>

To set the mtu size of vlan

vlan vlan-id name vlan-name

This command is used to enter the Vlan name with specifying the Vlan id in Config mode. The vlan_name_vid_ct.py script file is used.

vlan vlan-id name vlan-name mtu mtu-size

This command is used to enter the Vlan name and MTU value with specifying the Vlan id in Config mode. The vlan_name_mtu_vid.py script file is used.

vlan vlan-id mtu mtu-size name vlan-name

This command is used to enter the MTU value and Vlan name with specifying the Vlan id in Config mode. The vlan_mtu_name_vid.py script file is used.

vlan vlan-id mtu mtu-size

This command is used to enter the MTU size with specifying the Vlan id in Config mode. The vlan_mtu_vid_ct.py script file is used.

vlan [vlan-id]

This command is to specify the Vlan number in the vlan mdoe. The vlan_number_vlan.py script file is used.

show current [vlan-id]

To show the details of the specified Vlan id. The script file used for this command is show_current_vid_vlan.py.

show current

To show the details of all the configured Vlans. The script file used for this command is show_current_vlan.py.

Show proposed

To show the details of all the configured Vlans. The script file used for this command is show_proposed_vlan.py.

Show proposed [vlan-id]

To show the details of all the configured Vlans. The script file used for this command is show_proposed_vid_vlan.py.

exit

To exit from the Vlan mode to Config mode. The script file used for this command is vlan_exit.py.

apply

Just print Apply Completed. Write the new script file for this. vlan_apply.py

no vlan vlan-id

To remove the configured Vlan from the device. The script file used for this command is no_vlan_vid_vlan.py

no vlan [vlan id] name

To remove the Vlan name for the Vlan configuration from the device. The script file used for this command is no_vlan_name_vlan.py.

no vlan mtu

To remove the Vlan MTU value for the Vlan configuration from the device. The script file used for this command is no_vlan_mtu_vlan.py

vtp server

To change the VTP mode of Vlan configuration. The script file used for this command is set_vtp_mode_vlan.py.

vtp client

To change the VTP mode of Vlan configuration. The script file used for this command is set_vtp_mode_vlan.py.

vtp trasparent

To change the VTP mode of Vlan configuration. The script file used for this command is set_vtp_mode_vlan.py.

no vtp client

To disable the VTP Client mode of Vlan configuration. The mode has been changed into Transparent. The script file used for this command is no_vtp_client_vlan.py.

no vtp transparent

To disable the VTP Transparent mode of Vlan configuration. The mode has been changed into Server. The script file used for this command is no_vtp_transparent_vlan.py

 

 

Configif Mode

Command Description

cdp enable

Enables the CDP service in the network node.

ip address <A.B.C.D>

Set the ipaddress of an interface

ip mtu <value>

To specify the MTU value for the network interface node to which the CLI client is connected.

ip ospf transmit-delay <seconds>

Configure Link state transmit delay for OSPF

ip ospf retransmit-interval <seconds>

Configure time between retransmitting lost link state advertisements for OSPF

ip ospf priority <number>

Configure IP OSPF router priority

help

To display the help description

exit

Change the mode from config-if  to Configuration mode.

no cdp enable

Disables the CDP service in the network node for the CLI command.

Router Mode - RIP

Command Description

network <network id>

To enable RIP for the specified network id.

neighbour <network id>

To add the Route for the network in the Router

no neighbor <network id>

To remove the Route for the network in the Router

no network <network id>

To disable RIP for the specified network id

help

To display the help description

exit

Exit from routing protocol configuration mode

Router Mode - BGP  

Command Description

network <IP Address>

Specify a network to announce via BGP

neighbor <IP Address> remote-as <1-65535>

Specify a BGP neighbor

neighbor <IP Address> version <2-4>

Set the BGP version to match a neighbor

no network <IP Address>

Disable BGP routing on an IP network

no neighbor <IP Address>

Disable BGP neighbor entry

help

To display the help description

exit

Exit from routing protocol configuration mode

Router Mode - EIGRP

Command Description

network <network-number>

To add the Network address to the EIGRP routing mode. The script file used for this command is eigrp_network_router.py

neighbor <neighbor address>

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py.

variance <variance number>

To add the Variance value to the EIGRP routing mode. The script file used for this command is eigrp_variance_router.py

timers active-time

To configure the active timer to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py

timers active-time <timer in minutes>

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py

timers active-time disable

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py

help

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py

exit

To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py

 

 

Router Mode - OSPF  

Command Description

network<IP Address> areaid <number>

Set the ospf areaid

help

To display the help description

exit

Exit from routing protocol configuration mode

 

Note:  

 

1. Vlan, VTP support is provided for the following switch devices:

Cisco3750 and Cisco6500 Switches

 

2. EIGRP support is provided for the following Router devices:

Cisco3600 and Cisco1700 Routers.

 

 

Copyright © 2012, ZOHO Corp. All Rights Reserved.
Network Monitoring Software from ManageEngine