Switches, Hubs, and Modems
1753882 Members
7226 Online
108809 Solutions
New Discussion юеВ

Re: MSTP - Simple configuration

 
Alessandro_78
Regular Advisor

MSTP - Simple configuration

Hi all.
I need to configure MSTP on a 2610.
What i would like is that VLAN1 will be carried over trk1 and VLAN2 will be carried over trk2.

I've done the two trunk, but I don't know how to configure MSTP and vlans.

Port 1 to Port 12 needs to be on VLAN 1
Port 13 to Port 24 needs to be on VLAN 2

With this vlan, can I access the switch from every port?
2 REPLIES 2
RicN
Valued Contributor

Re: MSTP - Simple configuration


This could be an example configuration for you:

(Assuming that trk1 and trk2 is already set up. You must also define the trunks on the other switch and define the vlans there.)

vlan 1 untag 1-12, trk1
vlan 2 untag 13-24
vlan 2 tag trk2

(These two following lines must be the same on the other switch at least)

span configuration-name xyz
span configuration-revision 1

(This places the two VLANs into different mstp instances)

span instance 1 vlan 1
span instance 2 vlan 2

(Enable spanning tree.)

span

>With this vlan, can I access the
>switch from every port?

If you have the switchs IP address placed on vlan1 and not ip routing enabled you will only be able to access the switch (through telnet/http) through trk1 and ports 1-12.
Alessandro_78
Regular Advisor

Re: MSTP - Simple configuration

>(Assuming that trk1 and trk2 is already set >up. You must also define the trunks on the >other switch and define the vlans there.)

I know that trunk must be configured on both switches.
So also the vlans must be configured on all switches? If I use GVRP can I configure vlan on a single switch?
I have too many switches to configure :)

> vlan 1 untag 1-12, trk1
> vlan 2 untag 13-24
> vlan 2 tag trk2

This put ports 1 to 12 and trunk trk1 into vlan1
And port 13 to 24 into vlan2.

Why I need to tag trk2 and instead untag like trk1 ?


> (These two following lines must be the
> same on the other switch at least)

> span configuration-name xyz
> span configuration-revision 1

This configure the STP right?


(This places the two VLANs into different mstp instances)

span instance 1 vlan 1
span instance 2 vlan 2


So to enable MSTP with VLANS and trunk I need to create the vlans, put one trunk inside one vlan (and do the same on the other vlans) and then put vlans into a single MSTP istance?

Is correct?

Those line do the job right?
span instance 1 vlan 1
span instance 2 vlan 2


If trk1 in vlan1 in istance1 goes down, the whole vlan1 is carried over trk2 in vlan2?