IOS Commands Supported •
IOS Commands
○
User Mode
○
Enable Mode
○
Config Mode
○
Vlan Mode
○
Configif Mode
○
Router Mode - RIP
○
Router Mode - EIGRP
○
Router Mode - BGP
○
Router Mode - OSPF
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
clock set
<month>
Command Description Sets the Clock with Date and Time in the Router
clock set <month>
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
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
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, 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 show rmon events show snmp show version ping <word>
Display all the active alarms in the rmon alarm table Display all the event in the rmon event table Displays the SNMP status of the CLIagent in the network. Displays the IOS Version and its details of the CLIagent. 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.
including which bank the chip is in,
show vlan
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
Displays detailed information on TCP and BGP connections for the specified neighbor ipaddress.
clear ip bgp
Clear BGP connection.
clear ip bgp
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 <deny/permit>
Creates the standard access list entry
access-list <deny/permit> host
Creates the standard access list entry
access-list <deny/permit> /
Creates the standard access list entry
cdp holdtime
Configure the HoldTime for the CDP service in the network Inteface node.
cdp run
Run the CDP service in the network node.
cdp timer
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 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
Disables the trap specified in the command
no snmp-server host
Removes a specific recipient of the SNMP notification operation
no rmon event
Removes an event in the RMON event table
no rmon alarm
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
Adds an event in the RMON event table that is associated with an RMON event number.
rmon event number description <string> owner <string> trap 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
Sets up the community access string to permit access to the Simple Network Management Protocol(SNMP)
snmp-server contact
Sets the system contact (sysContact) string.
snmp-server enable traps
Enables all the supported trap types
snmp-server enable trap
Enables the trap specified in the command by inserting the data in the database
snmp-server location
Sets up the system location string that describes the system location information.
snmp-server packetsize
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
To change the Password of the User Enable mode in the Router.
ip route
To specify the secondary IP Address for the Interface in the router.
router rip
To change the Mode to Router mode
vlan
To set the Vlan to the device
router bgp
Enable bgp routing process
arp arpa
Configure IP address of ARP entry
no arp
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
To set the vlan name
mtu <mtu size of vlan>
To set the mtu size of vlan
vlan vlan-id name vlan-name vlan vlan-id name vlan-name mtu mtu-size vlan vlan-id mtu mtu-size name vlan-name vlan vlan-id mtu mtu-size vlan [vlan-id] show current [vlan-id] show current Show proposed Show proposed [vlan-id] exit apply no vlan vlan-id no vlan [vlan id] name no vlan mtu vtp server vtp client vtp trasparent
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. 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. 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. 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. This command is to specify the Vlan number in the vlan mdoe. The vlan_number_vlan.py script file is used. To show the details of the specified Vlan id. The script file used for this command is show_current_vid_vlan.py. To show the details of all the configured Vlans. The script file used for this command is show_current_vlan.py. To show the details of all the configured Vlans. The script file used for this command is show_proposed_vlan.py. To show the details of all the configured Vlans. The script file used for this command is show_proposed_vid_vlan.py. To exit from the Vlan mode to Config mode. The script file used for this command is vlan_exit.py. Just print Apply Completed. Write the new script file for this. vlan_apply.py To remove the configured Vlan from the device. The script file used for this command is no_vlan_vid_vlan.py 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. 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 To change the VTP mode of Vlan configuration. The script file used for this command is set_vtp_mode_vlan.py. To change the VTP mode of Vlan configuration. The script file used for this command is set_vtp_mode_vlan.py. To change the VTP mode of Vlan configuration. The script file used for this command is
set_vtp_mode_vlan.py. 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. 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
no vtp client no vtp transparent
Configif Mode
Command Description
cdp enable
Enables the CDP service in the network node.
ip address
Set the ipaddress of an interface
ip mtu
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
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
To enable RIP for the specified network id.
neighbour
To add the Route for the network in the Router
no neighbor
To remove the Route for the network in the Router
no network
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
Specify a network to announce via BGP
neighbor remote-as <1-65535>
Specify a BGP neighbor
neighbor version <2-4>
Set the BGP version to match a neighbor
no network
Disable BGP routing on an IP network
no neighbor
Disable BGP neighbor entry
help
To display the help description
exit
Exit from routing protocol configuration mode
Router Mode - EIGRP
Command Description
network
To add the Network address to the EIGRP routing mode. The script file used for this command is eigrp_network_router.py
neighbor
To add the Neighbor address to the EIGRP routing mode. The script file used for this command is eigrp_neighbor_router.py.
variance
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
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 areaid
Set the ospf areaid
help
To display the help description
exit
Exit from routing protocol configuration mode