Getting started with Cisco switch configuration

Source: Internet
Author: User
Tags telnet program cisco switch

You want to configure a switch alert. There are two methods:
 
1. Console: You can directly configure the vswitch. 2. Remote Logon (Telnet): Use the TELNET program to remotely configure the vswitch with the configured IP address, generally, this operation can be performed only after the IP address of the vswitch is configured on the Console port.
 
In addition to the above two methods, there are actually two methods:
 
1. WEB configuration method. This method can only be used to configure general simple settings. 2. Applications that come with hardware. Dedicated programs are rarely used.
 
Establish console connection to vswitch
 
Generally, a vswitch comes with a Console line. One end is connected to the Comsole port of the vswitch and the other end is connected to the serial port of the computer. Open a Super Terminal and connect to the vswitch.
 
 
 
In this way, you can connect to the vswitch.
 
After a vswitch is connected, Initialization is required if it is the first time the vswitch is started. Generally, the name and password of the vswitch are set.
 
Because the switch has been initialized, if you want to initialize the switch, you need to enter the Privileged EXEC mode. Enter setup in the command prompt symbol to start the initialization operation.
 
The Privileged EXEC mode is introduced just now. In this case, we need to talk about several modes of machine change. Different modes can execute different operation commands. First, we need to talk about two basic modes.
 
For the sake of security, CISCO divides an operation session into two different access levels: User EXEC level and Privileged EXEC level. You can only use a limited command at the EXEC level, and the Switch displays a Switch> prompt. You cannot configure the Switch. For example, it is in the user EXEC level:
 
AITG_FrontekCoreSW>
 
The Switch # prompt is displayed on the Switch under the EXEC level with special privileges, and various configurations can be performed on the Switch. For example, in the EXEC-level privileged state:
 
Enter en to enter the Privileged EXEC level, and then enter the password to enter the Privileged EXEC level
 
AITG_FrontekCoreSW> en
 
Password:
 
AITG_FrontekCoreSW #
 
The prompt has changed. The user enters enable (or en) at the user EXEC level, and then enters the password to enter the Privileged EXEC level.
 
Enter "?" at the switch prompt, List all commands supported by the vswitch in the corresponding mode.
 
Exit Privileged EXEC-level mode: disable
 
What is the EXEC-level input? Help information:
 
AITG_FrontekCoreSW>?
 
 
 
What about the EXEC-level privileged input? Help information:
AITG_FrontekCoreSW #?
 
In fact, there are several modes as follows:
Global configuration mode: Switch (config) # configure global parameters of the Switch
Interface Configuration Mode: Switch (config-if) # configure the Switch interface, such as the Vlan where an interface belongs, enable or disable the interface, etc.
Line configuration mode: Switch (config-line) # access to the console
VLAN Database Configuration Mode: Switch (Vlan) # configure Vlan Parameters
 
1. Help
 
Directly use "?", You can obtain the list of supported commands in the corresponding mode. If you add letters starting with some commands before the question mark, you can get some commands starting with this letter, such:
 
AITG_FrontekCoreSW # s?
 
* S = show send session set setup
 
Show tables
 
 
Enter "S? ", You can get all the letters starting with S.
 
2. Command help
  
If you are not familiar with the usage of a command, you can also use "?" For more information about the show command, see "show ?"
 
AITG_FrontekCoreSW # show?
3. Display complete commands
 
Add "?" to the end of another part of the command. The output result is displayed, as shown in the following example:
 
AITG_FrontekCoreSW # show interface?
The above are the help options. Let's take a look at other shortcuts:
 
1. Use the TAB key
  
When you enter a part of the command, press the TAB key and the system will automatically enter the remaining letters of the command, such:
 
AITG_FrontekCoreSW # sh --- TAB key
AITG_FrontekCoreSW # show
AITG_FrontekCoreSW # show int --- TAB key
AITG_FrontekCoreSW # show interfaces
 
2. Command abbreviations
  
Some commands do not need to input all the letters completely. Just enter a part of them, for example:
 
AITG_FrontekCoreSW # sh int = show interface
Vlan1 is up, line protocol is up
Hardware is EtherSVI, address is 0019. aa89.dd40 (bia 0019. aa89.dd40)
.........
 
We recommend that you remember all the commands.

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.