cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
841
Views
5
Helpful
8
Replies

Spanning tree problem with Voip

kurtdeneef
Level 1
Level 1

Hi,

I have a problem with my Cat4003 with catos 6-3-5

I get regularely these messages in the syslog

This is for one port:

10.1.1.5","23 May 2005 09:00:46 CEST","SPANTREE","6","PORTFWD","Port 3/8 state in VLAN 201 changed to forwarding","*"

"10.1.1.5","23 May 2005 09:00:46 CEST","SPANTREE","6","PORTFWD","Port 3/8 state in VLAN 152 changed to forwarding","*"

"10.1.1.5","23 May 2005 09:00:31 CEST","SPANTREE","6","PORTLEARN","Port 3/8 state in VLAN 201 changed to learning","*"

"10.1.1.5","23 May 2005 09:00:31 CEST","SPANTREE","6","PORTLEARN","Port 3/8 state in VLAN 152 changed to learning","*"

"10.1.1.5","23 May 2005 09:00:16 CEST","SPANTREE","5","PORTLISTEN","Port 3/8 state in VLAN 201 changed to listening","*"

"10.1.1.5","23 May 2005 09:00:16 CEST","SPANTREE","6","PORTBLK","Port 3/8 state in VLAN 201 changed to blocking","*"

"10.1.1.5","23 May 2005 09:00:16 CEST","SPANTREE","5","PORTLISTEN","Port 3/8 state in VLAN 152 changed to listening","*"

"10.1.1.5","23 May 2005 09:00:16 CEST","SPANTREE","6","PORTBLK","Port 3/8 state in VLAN 152 changed to blocking","*"

"10.1.1.5","23 May 2005 09:00:16 CEST","PAGP","5","PORTTOSTP","Port 3/8 joined bridge port 3/8","*"

"10.1.1.5","23 May 2005 09:00:00 CEST","DTP","5","VLAN2PORTON","Port 3/8 has become a vlan2-access port","*"

"10.1.1.5","23 May 2005 08:59:56 CEST","DTP","5","NONVLAN2PORTON","Port 3/8 has become a nonvlan2-access port","*"

"10.1.1.5","23 May 2005 08:59:56 CEST","PAGP","5","PORTFROMSTP","Port 3/8 left bridge port 3/8","*"

These are all ports with an ip phone and pc connected to.

what's happening here?

Here's the config:

.#port channel

set port channel 3/15-18 59

.

#module 1 : 0-port Switching Supervisor

#module 3 : 34-port 10/100/1000 Ethernet

set vlan 89 3/27

set vlan 99 3/33-34

set vlan 200 3/25

set vlan 205 3/4-6,3/10,3/16-17,3/19,3/23,3/28

set vlan 206 3/3,3/9,3/11-13,3/15,3/20,3/22,3/24,3/29-30

set vlan 208 3/14,3/26

set vlan 211 3/32

set vlan 215 3/7-8,3/18

set port auxiliaryvlan 3/8 150

set port speed 3/18,3/22 100

set port duplex 3/18 full

set port name 3/1 trunk-R00-master

set port name 3/2 trunk-R00-slave

set port name 3/14 Axima

set udld enable 3/3-34

set trunk 3/1 on dot1q 1-1005

set trunk 3/2 on dot1q 1-1005

set trunk 3/3 auto dot1q 1-1005

set trunk 3/4 auto dot1q 1-1005

set trunk 3/9 auto dot1q 1-1005

set spantree portfast 3/3-17,3/19-32 enable

set spantree portvlancost 3/1 cost 18

set spantree portvlancost 3/2 cost 18

set spantree portvlancost 3/5 cost 18

set spantree portvlancost 3/6 cost 18

set spantree portvlancost 3/7 cost 18

set spantree portvlancost 3/8 cost 18

anyone who can help? suggestions?

Is it the trunk on those ports? (ex.2/2)

Mail me if you want the whole config.

Thanks for feedback.

Kurt

8 Replies 8

CCampbell_2
Level 1
Level 1

If there is just a phone and a PC hanging off these ports, I would use the port host macro. My CatOS is rusty but I believe it's "set port host 3/8". This should take care of the issue. Also, I don't think you have to explicitly set phone ports to be trunks.

Cliff

asantosp
Level 1
Level 1

Hi Kurt.

I was having the same problem with a CAT3550 and the problem was solved using issuing the bpdguard and bpdufilter command in the ports that have IP Phones connected, but I do not know if this commands are available for CATOS.

Hope this help.

As mentioned in the initial response, Cisco IP phone ports should *not* be set up as trunk ports. Set the native (data) vlan with 'set vlan', set the voice vlan with 'set port auxiliaryvlan x', and use 'set port host' to disable spanning tree. The switches in the IP phones don't participate in STP.

On the 3500s use 'switchport mode access', 'switchport voice vlan x' and 'spanning tree portfast'. Only the 3524 needs to have ports set up as trunks (and unused vlans pruned).

Don

Hey Don and the rest, :)

Thanks for these answers,it seems like you all agree with adding the 'set port host' command.

I will test this.

But can the 'set trunk 3/8 auto dot1q' remain? Or do i have to remove it from the config when adding the 'set port host' command?

Thanks in advance for this last answer...

Kind regards,

Kurt

I don't know if it has an effect or not, since I'm pretty sure the phone will not negotiate a trunk, but I would remove it b/c it's unnecessary.

Don

To all,thanks for the info.

Tested it already and everything worked fine now.

btw,i did remove the old trunk config...

bye

Kurt

Set port host is a macro. It will disable any trunk and channeling configuration as part of that macro.

So you can see what all it does when used, I lifted the output of the command from some page on CCO:

Console> (enable) set port host 2/1,3/1

Warning: Span tree port fast start should only be enabled on ports connected to a single

host. Connecting hubs, concentrators, switches, bridges, etc. to a fast start port can

cause temporary spanning tree loops. Use with caution.

Spantree ports 2/1,3/1 fast start enabled.

Dot1q tunnel feature disabled on port(s) 4/1.

Port(s) 2/1,3/1 trunk mode set to off.

Port(s) 2/1 channel mode set to off.

it looks like the problem is still not solved.

I still get spanning-tree errors. I'm almost out of options here.

Has the channel mode has something to do with it?

Does spanning-tree portfast has to be enabled on ALL the ports?

Any suggestions?

Kurt