IOS Commands Supported

  • Upload
    kenzof

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

  • 8/14/2019 IOS Commands Supported

    1/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 Sets the Clock with Date and Time in the Router

  • 8/14/2019 IOS Commands Supported

    2/9

  • 8/14/2019 IOS Commands Supported

    3/9

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

    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 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 databaseThis command is to enter into the Vlan mode without specifying any Vlan number. Thevlan_database_en.pyscript file is used.

    show vlan name [WORD]To show the details of the specified Vlan name. The script file used for this command isshow_vlan_name_en.py.

    show vlan [vlan-id]To show the details of the specified Vlan id. The script file used for this command isshow_vlan_number_en.py

    show vlanTo show the details of all the configured Vlans. The script file used for this command isshow_vlan_en.py.

    Show vlan briefThis file is to show the details of VLan Interface configured. The script file used for thiscommand is show_vlan_brief_en.py

    show vtp statusTo show the VTP status for the Vlan in the device. The script file used for this command isshow_vtp_status_en.py.

    show vtp countersTo show the VTP Counters for the Vlan in the device. The script file used for this command isshow_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 configThis command's output needs to be changed with Vlan configuration.show_startup_config_en.py

    show running configThis command's output needs to be changed with Vlan configuration.show_running_config_en.py.

    show ip eigrp interfaceTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py

    show ip eigrp neighboursTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py.

  • 8/14/2019 IOS Commands Supported

    4/9

    show ip eigrp trafficTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py.

    show ip protocolsTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py.

    show running-configTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py

    show startup-configTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py

    Config Mode Command Descript ion

    access-list Creates the standard access list entry

    access-list host Creates the standard access list entry

    access-list / 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 Updates the given value as the host name.

    interface ethernet Change the mode from Configuration to Config Interface mode.

    no number To remove a specific access-list

    no cdp holdtimeSetting 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

  • 8/14/2019 IOS Commands Supported

    5/9

    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] [ownerstring] Sets an alarm on any MIB object based on the inputs provided in the command .

    rmon event number description owner log trap Adds an event in the RMON event table that is associated with an RMON event number.

    rmon event number description owner trap logAdds 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 ManagementProtocol(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

  • 8/14/2019 IOS Commands Supported

    6/9

    router bgp Enable bgp routing process

    arp arpa Configure IP address of ARP entry

    no arp Removes the arp entry

    router ospf Enable a routing process

    no router ospf 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 isrouter_eigrp_autonomous_system_ct.py

    Vlan Mode Command Description

    name To set the vlan name

    mtu To set the mtu size of vlan

    vlanvlan-idnamevlan-nameThis command is used to enter the Vlan name with specifying the Vlan id in Config mode. Thevlan_name_vid_ct.pyscript file is used.

    vlanvlan-idnamevlan-namemtumtu-sizeThis command is used to enter the Vlan name and MTU value with specifying the Vlan id inConfig mode. The vlan_name_mtu_vid.pyscript file is used.

    vlanvlan-idmtumtu-sizenamevlan-nameThis command is used to enter the MTU value and Vlan name with specifying the Vlan id inConfig mode. The vlan_mtu_name_vid.pyscript file is used.

    vlanvlan-idmtumtu-sizeThis command is used to enter the MTU size with specifying the Vlan id in Config mode. Thevlan_mtu_vid_ct.pyscript file is used.

    vlan [vlan-id]This command is to specify the Vlan number in the vlan mdoe. The vlan_number_vlan.pyscriptfile is used.

    show current [vlan-id]To show the details of the specified Vlan id. The script file used for this command isshow_current_vid_vlan.py.

    show currentTo show the details of all the configured Vlans. The script file used for this command isshow_current_vlan.py.

    Show proposedTo show the details of all the configured Vlans. The script file used for this command isshow_proposed_vlan.py.

    Show proposed [vlan-id]To show the details of all the configured Vlans. The script file used for this command isshow_proposed_vid_vlan.py.

    exitTo exit from the Vlan mode to Config mode. The script file used for this command isvlan_exit.py.

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

    no vlanvlan-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]nameTo remove the Vlan name for the Vlan configuration from the device. The script file used for thiscommand is no_vlan_name_vlan.py.

    no vlanmtuTo remove the Vlan MTU value for the Vlan configuration from the device. The script file usedfor this command is no_vlan_mtu_vlan.py

    vtp serverTo change the VTP mode of Vlan configuration. The script file used for this command isset_vtp_mode_vlan.py.

    vtp clientTo change the VTP mode of Vlan configuration. The script file used for this command isset_vtp_mode_vlan.py.

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

  • 8/14/2019 IOS Commands Supported

    7/9

    set_vtp_mode_vlan.py.

    no vtp clientTo disable the VTP Client mode of Vlan configuration. The mode has been changed intoTransparent. The script file used for this command is no_vtp_client_vlan.py.

    no vtp transparentTo disable the VTP Transparent mode of Vlan configuration. The mode has been changed intoServer. 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 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 Configure Link state transmit delay for OSPF

    ip ospf retransmit-interval 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

  • 8/14/2019 IOS Commands Supported

    8/9

    network Specify a network to announce via BGP

    neighbor remote-as Specify a BGP neighbor

    neighbor version 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 commandis eigrp_network_router.py

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

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

    timers active-timeTo configure the active timer to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py

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

    timers active-time disableTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py

    helpTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py

    exitTo add the Neighbor address to the EIGRP routing mode. The script file used for this commandis eigrp_neighbor_router.py

    Router Mode - OSPF Command Description

  • 8/14/2019 IOS Commands Supported

    9/9

    network areaid Set the ospf areaid

    help To display the help description

    exit Exit from routing protocol configuration mode