Sie sind auf Seite 1von 9

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 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

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

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

Displays detailed file directory information per partition, including file length, address, name,
show flash detailed 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.

Displays detailed information on TCP and BGP connections for the specified neighbor
show ip bgp neighbors <IP Address>
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

This command is to enter into the Vlan mode without specifying any Vlan number. The
Vlan database
vlan_database_en.py script file is used.
To show the details of the specified Vlan name. The script file used for this command is
show vlan name [WORD]
show_vlan_name_en.py.
To show the details of the specified Vlan id. The script file used for this command is
show vlan [vlan-id]
show_vlan_number_en.py
To show the details of all the configured Vlans. The script file used for this command is
show vlan
show_vlan_en.py.
This file is to show the details of VLan Interface configured. The script file used for this
Show vlan brief
command is show_vlan_brief_en.py
To show the VTP status for the Vlan in the device. The script file used for this command is
show vtp status
show_vtp_status_en.py.
To show the VTP Counters for the Vlan in the device. The script file used for this command is
show vtp counters
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

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


show startup config
show_startup_config_en.py
This command's output needs to be changed with Vlan configuration.
show running config
show_running_config_en.py.
To add the Neighbor address to the EIGRP routing mode. The script file used for this command
show ip eigrp interface
is eigrp_neighbor_router.py
To add the Neighbor address to the EIGRP routing mode. The script file used for this command
show ip eigrp neighbours
is eigrp_neighbor_router.py.
To add the Neighbor address to the EIGRP routing mode. The script file used for this command
show ip eigrp traffic
is eigrp_neighbor_router.py.
To add the Neighbor address to the EIGRP routing mode. The script file used for this command
show ip protocols
is eigrp_neighbor_router.py.
To add the Neighbor address to the EIGRP routing mode. The script file used for this command
show running-config
is eigrp_neighbor_router.py
To add the Neighbor address to the EIGRP routing mode. The script file used for this command
show startup-config
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

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


no cdp holdtime
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]
Sets an alarm on any MIB object based on the inputs provided in the command .
falling-threshold value [event-number] [owner string]

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.

Adds an event in the RMON event table that is associated with an RMON event number, use the
rmon event number description <string> owner <string> trap <community> log
#rmon event in global configuration command

Sets up the community access string to permit access to the Simple Network Management
snmp-server community <community name>
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

To enable EIGRP routing. This command is added into the 'basedata' database with
router eigrp 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
This command is used to enter the Vlan name with specifying the Vlan id in Config mode. The
vlan vlan-id name vlan-name
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
vlan vlan-id name vlan-name mtu mtu-size
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
vlan vlan-id mtu mtu-size name vlan-name
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 vlan-id mtu mtu-size
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
vlan [vlan-id]
file is used.
To show the details of the specified Vlan id. The script file used for this command is
show current [vlan-id]
show_current_vid_vlan.py.
To show the details of all the configured Vlans. The script file used for this command is
show current
show_current_vlan.py.
To show the details of all the configured Vlans. The script file used for this command is
Show proposed
show_proposed_vlan.py.
To show the details of all the configured Vlans. The script file used for this command is
Show proposed [vlan-id]
show_proposed_vid_vlan.py.
To exit from the Vlan mode to Config mode. The script file used for this command is
exit
vlan_exit.py.
apply 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 vlan-id
no_vlan_vid_vlan.py
To remove the Vlan name for the Vlan configuration from the device. The script file used for this
no vlan [vlan id] name
command is no_vlan_name_vlan.py.
To remove the Vlan MTU value for the Vlan configuration from the device. The script file used
no vlan mtu
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
vtp server
set_vtp_mode_vlan.py.
To change the VTP mode of Vlan configuration. The script file used for this command is
vtp client
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.
To disable the VTP Client mode of Vlan configuration. The mode has been changed into
no vtp client
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
no vtp transparent
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

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

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

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

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

To add the Neighbor address to the EIGRP routing mode. The script file used for this command
timers active-time <timer in minutes>
is eigrp_neighbor_router.py

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

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

To add the Neighbor address to the EIGRP routing mode. The script file used for this command
exit
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

Das könnte Ihnen auch gefallen