Global configuration of Cisco switches: Switch Login

Source: Internet
Author: User
Tags exit config switches

In this article, we show you how to log on and enable privileges on a switch, which is critical for developers, and when Telnet controls the switch, these configurations become the knowledge that must be mastered! Switches are generally user name, password and privileged password (super password), these three kinds once combined together at least eight kinds of situation! As for which eight kinds, here is not much to say, then math problems, I am not very good math! Interested in the guys can do a good calculation Ah! All right, say the point:

Enter global configuration mode: Switch#configure terminal

Host name modification: Switch (config) #hostname host name (optional)

Privileged mode access password: switch (config) #enable secret password (optional)

Remove Privileged Mode password: Switch (config) #no enable secret

Cancel host name setting: Switch (config) #no hostname

Exit configuration mode: Switch (config) #exit

It is important to note that the show command is not available in configuration mode, and if you want to use it, you must add a do and a space, for example: do show *

Specify root switch command: Switch (config) #spanning-tree VLAN Optional (VLAN) root primary

For example: Switch (config) #spanning-tree vlan 1 root Primary

It should be noted that the root switch is set up based on VLAN

Turn off the Spanning Tree Protocol command: Switch (config) #no spanning-tree VLAN AutoShape (VLAN number)

For example: Switch (config) #no spanning-tree VLAN 1

Take good care of yourself and experience, everybody progress together

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Network/jhjs/

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.