This is output from my switch using command "sh run"
Current configuration : 7449 bytes
no service pad
service timestamps debug uptime
service timestamps log uptime
enable secret 5 xxxxxxxxxxxxxxxxxxx.
no aaa new-model
clock timezone MYT 8
system mtu routing 1500
no ip domain-lookup
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
no spanning-tree vlan 1-10
vlan internal allocation policy ascending
switchport access vlan 10
switchport mode access
switchport voice vlan 20
mls qos trust cos
Currently user cannot grab ip from dhcp server. Is it because of "no spanning-tree vlan 1-10" configuration?
If i want to remove "no spanning-tree vlan 10" , how could it be done? I have try using "(config)#spanning-tree vlan 10" but the output is still "no spanning-tree vlan 1-10"
Re: How To Remove "Spanning Tree Vlan" on 2960G switch
8 years 10 months ago #33772
1st of all it is always a bad idea to disable spanning-tree. Even if you think you don't need it, you need it (What happens if one user put a cable between two ports without spanning-tree? LOOP)
Are the users in vlan 10 or in vlan 20? You're switch is still running spanning-tree on vlan 20 but the command "spanning-tree portfast trunk" is not configured. Therefore the vlan 20 will have to wait before going in forwarding state.
Otherwise, to enable again the spanning-tree, your command is fine. Did you do a "write mem" after?
Also, follow Krik's advice. You do NEED spanning-tree!
Oh... and next time, remove the enable password, it's decryptable... just a reminder for next time.
already done that(no spanning tree vlan 1-9)...but still shown no "no spanning tree vlan 1-10"
Before enabling "no spanning tree vlan 1-10", switch log show that "vlan flapping between vlan1 & vlan2 bla bla"...
After activate "no spanning tree vlan 1-10" , the error disappear...Is it because spanning tree have certain limitation such as cannot handle more than 100 vlan?
One more thing, thanks for the reminder Chojin...Maybe you already know my enable password by now ..By the way, if possible would you like to share how to decrypt the level 5 password? Just for knowledge..