Beruflich Dokumente
Kultur Dokumente
• IOS Commands
○ User Mode
○ Enable Mode
○ Config Mode
○ Vlan Mode
○ Configif Mode
show clock To show the clock time of the CLI agent in the network.
show snmp To show the SNMP status of the agent in the network.
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
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 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 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 <AS Number> Clear BGP connection based on the AS number of the peer.
show ip ospf <processid> Display general information about OSPF routing process for the specified processid
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
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 timer <time in sec> To configure the Timer value to the CDP service in the network node.
interface ethernet <0-0> Change the mode from Configuration to Config Interface mode.
no cdp timer The node cdpGlobalMessageInterval is set to the default time interval of 60 seconds.
no snmp-server host <ip address> Removes a specific recipient of the SNMP notification operation
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 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.
arp <IP Address> <hardware address> arpa Configure IP address of ARP entry
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
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
no cdp enable Disables the CDP service in the network node for the CLI command.
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
neighbor <IP Address> version <2-4> Set the BGP version to match a neighbor
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