Ethernet Switching
Reply
Visitor
helix
Posts: 6
Registered: ‎11-13-2008
0

VSTP example needed

Hi out there,

 

i am trying to get VSTP up and running but still have not figured out how to configure it correctly.

I have two VLANs on my EX4200.

The other connected Switches from another vendor are running PVST+ and are connected to two port to my EX4200.

Here is a summary of my config:


interfaces {

    ge-0/0/1 {

        description "Uplink Switch1";

        unit 0 {

            family ethernet-switching {

                port-mode trunk;

                vlan {

                    members [ VLAN5 VLAN6 ];

                }

                native-vlan-id 757;

            }

        }

    }

    ge-0/0/2 {

        description "Uplink Switch2";

        unit 0 {

            family ethernet-switching {

                port-mode trunk;

                vlan {

                    members [ VLAN5 VLAN6 ];

                }

                native-vlan-id 757;

            }

        }

    }

protocols {

    lldp {

        interface all;

    }

    rstp {

        disable;

    }

    mstp {

        disable;

    }

    vstp {

        vlan VLAN5 {

            bridge-priority 40k;

        }

    }

}

vlans {

    VLAN5 {

        description "VLAN5";

        vlan-id 5;

    }

    VLAN6 {

        description "VLAN6";

        vlan-id 6;

    }

    STANDARD {

        description "VLANSTANDARD";

        vlan-id 757;

    }

 

 

Any hints on what i am doing wrong here ?

 

 

Best Regards, 

Contributor
dclarkjr1122
Posts: 27
Registered: ‎11-24-2009
0

Re: VSTP example needed

[ Edited ]

under edit

delete protocols rstp

delete protocols mstp

set vstp vlan 6

set vstp vlan XXX (where XXX is a vlan defined on the switch - this must be done for all vlans)

 

I also like to mark the edge ports

set vstp vlan 6 interface ge-0/0/0 edge (make sure that ge-0/0/0 is in vlan 6)

 

You should be good.

 

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.