Ethernet Switching
Ethernet Switching

Ex 4300 VSTP no interface all blows up config .. no Interface Range for AE?

‎07-26-2016 07:45 AM

Hey

 

since the EX 4300 uses the ELS, the syntax is a little bit different from what im used to from the ex 2200 and ex 3300 configs.

I want to setup VSTP on a EX4300-32f VC which has 45 LAGS (ae0-ae45) and 75 Vlans configured.

Since i cant use the interface all command - do i really need to configure it explicitly for all vlans and all AEs ?

i know i can do it with wildcard ranges.. but it blows up the config by so much.. isnt there a better way than this?

 

vlan 1 {
bridge-priority 0;
interface ae0;
interface ae1;
interface ae2;

....
interface ae45;

}
vlan 2 {
bridge-priority 0;
interface ae0;
interface ae1;
interface ae2;

...
interface ae45;

...

vlan 75 {
bridge-priority 0;
interface ae0;
interface ae1;
interface ae2;

...
interface ae45;

 

 

i thought about doing it with putting the AEs in an interface range called LAGS .. but seems like i cant put AEs in a member range.. only the physical interfaces?

 

Thanks for suggestions

1 REPLY 1
Highlighted
Ethernet Switching

Re: Ex 4300 VSTP no interface all blows up config .. no Interface Range for AE?

‎07-27-2016 03:37 AM

Hi,

 

 

Maybe you could use groups for this.

Example:

groups {
    vstp {
        protocols {
            vstp {
                vlan <*> {
                    interface ge-0/0/0;
                    interface ge-0/0/1;
                    interface ge-0/0/2;
                    interface ge-0/0/3;
                }
            }
        }
    }
}
protocols {
    vstp {
        apply-groups vstp;
        vlan 1;
        vlan 2;
        vlan 10;
    }
}

Result:

#show protocols vstp | display inheritance no-comments
vlan 1 {
    interface ge-0/0/0;
    interface ge-0/0/1;
    interface ge-0/0/2;
    interface ge-0/0/3;
}
vlan 2 {
    interface ge-0/0/0;
    interface ge-0/0/1;
    interface ge-0/0/2;
    interface ge-0/0/3;
}
vlan 10 {
    interface ge-0/0/0;
    interface ge-0/0/1;
    interface ge-0/0/2;
    interface ge-0/0/3;
}

apply-groups can be applied at different levels and exceptions can also configured.

 

Cheers,

Ashvin