Cisco IOS Command Reference

peer default ip address – Cisco Command-Line Interface

To specify an IP address, an address from a specific IP address pool, or an address from the Dynamic Host Configuration Protocol (DHCP) mechanism to be returned to a remote peer connecting to this interface, use the peer default ip address command in interface configuration mode. To disable a prior peer IP address pooling configuration on [...]

Line Configuration Mode – Cisco Command-Line Interface

Line configuration commands modify the operation of a terminal line. Line configuration commands always follow a line command, which defines a line number. Use these commands to change terminal parameter settings line-by-line or for a range of lines. Use the line vty line_number [ending_line_number] command to enter line configuration mode. The new prompt means line configuration [...]

VLAN Configuration Mode -Cisco Command-Line Interface

You can use the VLAN configuration commands to create or modify VLAN parameters for VLAN IDs 1 to 1005. Enter the vlan database privileged EXEC command to access VLAN configuration mode: Switch# vlan database Switch(vlan)# The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, [...]

config-vlan Mode – Cisco Command-Line Interface

Use this mode to configure normal-range VLANs (VLAN IDs 1 to 1005) or, when VTP mode is transparent, to configure extended-range VLANs (VLAN IDs 1006 to 4094). When VTP mode is transparent, the VLAN and VTP configuration is saved in the running configuration file, and you can save it to the switch startup configuration file [...]

Interface Configuration Mode – Cisco Command-Line Interface

Interface configuration commands modify the operation of the interface. Interface configuration commands always follow a global configuration command, which defines the interface type. Use the interface interface-id command to access interface configuration mode. The new prompt means interface configuration mode. Switch(config-if)# The supported commands can vary depending on the version of software in use. To display [...]

Global Configuration Mode – Cisco Command-Line Interface

Global configuration commands apply to features that affect the device as a whole. Use the configure privileged EXEC command to enter global configuration mode. The default is to enter commands from the management console. When you enter the configure command, a message prompts you for the source of the configuration commands: Switch# configure Configuring from terminal, memory, [...]

Privileged EXEC Mode – Cisco Command-Line Interface

Because many of the privileged commands configure operating parameters, privileged access should be password-protected to prevent unauthorized use. The privileged command set includes those commands contained in user EXEC mode, as well as the configure privileged EXEC command through which you access the remaining command modes. If your system administrator has set a password, you [...]

User EXEC Mode – Cisco Command-Line Interface

After you access the device, you are automatically in user EXEC command mode. The EXEC commands available at the user level are a subset of those available at the privileged level. In general, use the user EXEC commands to temporarily change terminal settings, perform basic tests, and list system information. The supported commands can vary [...]

How to Display Interface States in Cisco Router

To view information about a particular interface, use the show interface command. The show interface command provides the following list of important information: Interface State (e.g. UP, DOWN, LOOPED) Protocol addresses Bandwidth Reliability and Load Encapsulation type Packet Rates Error Rates Signaling Status (i.e. DCD,DSR,DTR,RTS,CTS) The following is an example of a “show interface serial0″ [...]

How to Display Software Version on the Cisco router

The show version command provides a lot of information in addition to the version of software that is running on the router. The following information can be collected with the show version command: Software Version – IOS software version (stored in flash) Bootstrap Version – Bootstrap version (stored in Boot ROM) System up-time – Time [...]

How to Display Configuration in Cisco IOS

To display the running-configuration, type the following command in privileged EXEC mode: Router#show running-config To display the startup-configuration that is stored in NVRAM, type the following command in privileged EXEC mode: Router#show startup-config The following is the show running-config output from the example used in the Router Configuration section. Current configuration: ! version 11.2 ! hostname [...]

How to Save Configuration in Cisco IOS

A Cisco IOS router stores configurations in two locations – RAM and NVRAM. The running configuration is stored in RAM and is used by the router during operation. Any configuration changes to the router are made to the running-configuration and take effect immediately after the command is entered. The startup-configuration is saved in NVRAM and [...]

Cisco IOS Command Prompt Summary

To assist users in navigation through IOS CLI, the command prompt will change to reflect the position of a user within the command hierarchy. This allows users to easily identify where within the command structure they are at any given moment. Table 2 is a summary of command prompts and the corresponding location within the [...]

Cisco high-level schematic diagram of some IOS command

Once an EXEC session is established, commands within Cisco IOS are hierarchically structured. In order to successfully configure the router, it is important to understand this hierarchy. To illustrate this hierarchy, Figure 1 provides a simple high-level schematic diagram of some IOS commands.

antenna – Cisco IOS Command Reference

To configure the radio receive or transmit antenna settings, use the antenna command in interface configuration mode. To reset the receive or transmit antenna to its default setting, use the no form of this command. antenna {receive | transmit} {diversity | left | right} no antenna Syntax Description receive Specifies the antenna that the access point uses to [...]