In-depth introduction to common command modes for vswitch Configuration

Source: Internet
Author: User
Tags cisco switch

In-depth introduction to common command modes for vswitch configuration, FAQs about common commands for vswitch configuration, the following describes common command modes for configuring switches in User EXEC mode, Privileged EXEC mode, VLAN dataBase mode, Global configuration mode, Interface configuration mode, and Line configuration mode.

In common vswitch configuration commands, you can use the "[K] Command Line" item in the preceding configuration menu. The software system used by the Cisco switch is Catalyst IOS. CLI is called "Command-Line Interface", and the Chinese name is called "Command Line Interface". It is a software system mode based on doscommand Line, is case insensitive ).

In this mode, not only switches, routers, and firewalls, but also a series of related commands. However, unlike the doscommand, CLI can be abbreviated as commands and parameters, as long as it contains enough characters to distinguish it from other currently available commands and parameters.

Although vswitches can be configured and managed in multiple ways, you can use command lines and Menu menus in the form of pure characters ), you can also use a graphical Web browser or specialized network management software such as CiscoWorks 2000 ). In comparison, the command line method is more powerful, but more difficult to grasp. The following describes common vswitch configuration commands.

Cisco IOS has six common command modes for Switch configuration: User EXEC mode, Privileged EXEC mode, VLAN dataBase mode, Global configuration mode, Interface configuration mode, and Line configuration mode. In different modes, different prompts are displayed on the CLI interface. Table 1 lists the usage, prompts, access, and exit methods of the six CLI command modes for your convenience.

Common commands for Cisco IOS Switch configuration must be executed in their respective command modes. Therefore, to execute a command, you must first enter the corresponding configuration mode. For example, the "interface type_number" command can only be executed in the "Global configuration" Switch configuration common command mode, the "duplex full-flow-control" command can only be executed in "Interface configuration" Switch configuration common command mode.

In the switch CLI command, there is a basic command, that is, the Help Command "? ", In any command mode, just type "? ", That is, all available commands in this command mode and their usage are displayed. This is the help command of the switch. In addition, you can add "? "To seek help.

For example, if you want to see which commands are available in the "Privileged Exec" mode, you can type them at the "#" prompt "? ", And press Enter. For another example, if you want to continue viewing the "Show" command usage, you only need to type "show? "And press Enter. In addition ,"?

"The local keyword search function is also available. That is to say, if you only remember the first few characters of a command, you can use "? "Let the system list all commands starting with this character or string. But in the last character and "? There must be no space between them. For example, type "c?" in "Privileged Exec" mode? ", The System Displays all commands starting with" c.

Note that Cisco IOS commands support short commands. That is to say, unless you are familiar with typing, you do not need to enter the complete commands and keywords, as long as the characters in the entered command are long enough to distinguish it from other commands. For example, the "show configure" command can be abbreviated as "sh conf", and the "show configure" command can be abbreviated as "sh conf" and then press enter to execute the command. The preceding describes common vswitch configuration commands in the command mode. The configuration process is complex and is not described in detail here.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.