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/