Skip to main content

How To Remove "Spanning Tree Vlan" on 2960G switch

More
14 years 8 months ago #33765 by apit
Hi..
This is output from my switch using command "sh run"

Current configuration : 7449 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Cisco-1st-Floor
!
enable secret 5 xxxxxxxxxxxxxxxxxxx.
!
no aaa new-model
clock timezone MYT 8
system mtu routing 1500
ip subnet-zero
!
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
!
interface GigabitEthernet0/1
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"
More
14 years 8 months ago #33772 by krik
Hi,

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?

Christophe Lemaire
www.exp-networks.be/blog/
More
14 years 8 months ago #33805 by Chojin
no spanning tree vlan 1-9 ? :-).

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.

CCNA / CCNP / CCNA - Security / CCIP / Prince2 / Checkpoint CCSA
More
14 years 8 months ago #33808 by apit

no spanning tree vlan 1-9 ? :-).

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..

Thanks
Time to create page: 0.146 seconds