Hot Downloads

Welcome, Guest
Username: Password: Remember me

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

How To Remove "Spanning Tree Vlan" on 2960G switch 6 years 7 months ago #33765

  • apit
  • apit's Avatar
  • Offline
  • Senior Member
  • Posts: 227
  • Karma: 0
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"
The administrator has disabled public write access.

Re: How To Remove "Spanning Tree Vlan" on 2960G switch 6 years 7 months ago #33772

  • krik
  • krik's Avatar
  • Offline
  • Frequent Member
  • Posts: 69
  • Karma: 0
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/
The administrator has disabled public write access.

Re: How To Remove "Spanning Tree Vlan" on 2960G switch 6 years 6 months ago #33805

  • Chojin
  • Chojin's Avatar
  • Offline
  • Senior Member
  • Posts: 251
  • Karma: 0
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
The administrator has disabled public write access.

Re: How To Remove "Spanning Tree Vlan" on 2960G switch 6 years 6 months ago #33808

  • apit
  • apit's Avatar
  • Offline
  • Senior Member
  • Posts: 227
  • Karma: 0
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
The administrator has disabled public write access.
Time to create page: 0.078 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup