Re: Catalyst question - off topic

From: Rodgers Moore (rodgers@xxxxxxxxxxxxxx)
Date: Sun Mar 04 2001 - 18:27:07 GMT-3


   
David,

You need to do two things. Enable VTP Pruning, and set the spanning tree port
vlan cost higher on the link you don't want the vlan to cross. The pruning
isn't required unless you really want it removed from the trunk, otherwise the
vlan will traverse both links just one will be put in blocking state by spannin
g
tree.

The commands are: (as I remember them, so I may be off a little)

set vtp prunning enable
set spanning portvlancost <port> <vlan> <cost>

So it might look like this

set vtp prunning enable
set spanning portvlancost 1/1 1 1000
set spanning portvlancost 1/1 2 2000
set spanning portvlancost 1/2 1 2000
set spanning portvlancost 1/2 2 1000

this blocks vlan 2 on trunk 1 and blocks vlan 1 on trunk 2.

Rodgers Moore

David FAHED wrote:

> Hi,
>
> How can I prevent to advertise a VLAN on trunk port?
> My problem :
>
> Catalyst 1-------------Trunk 1-----------------catalyst 2
> --------------Trunk2------------------
> I want to filter some VLAN on the trunk 1. For example I don't want VLAN2 go
> on the trunk 1 but go with trunk2. If trunk2 go down I want that trunk1 let
> pass VLAN2.
> I think it is possible but I don't know how.
>



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:20 GMT-3