Ethernet Switching
Ethernet Switching

Ex3400-48p xSTP:Trying to configure too many interfaces for given protocol

‎10-17-2019 06:08 AM

Hello,

 

I am facing an issue with VSTP on my EX3400 switches Junos version 15.1X53-D58.3.

 

When 100 or more vlans are configured. The following config will result in error.

 

set protocols vstp interface ge-0/0/0 edge
set protocols vstp interface ge-0/0/1 edge
set protocols vstp interface ge-0/0/2 edge
set protocols vstp interface ge-0/0/3 edge
set protocols vstp interface ge-0/0/4 edge
set protocols vstp interface ge-0/0/5 edge
set protocols vstp interface ge-0/0/6 edge
set protocols vstp interface ge-0/0/7 edge
set protocols vstp interface ge-0/0/8 edge
set protocols vstp interface ge-0/0/9 edge
set protocols vstp interface ge-0/0/10 edge
set protocols vstp interface ge-0/0/11 edge
set protocols vstp interface ge-0/0/12 edge
set protocols vstp interface ge-0/0/13 edge
set protocols vstp interface ge-0/0/14 edge
set protocols vstp interface ge-0/0/15 edge
set protocols vstp interface ge-0/0/16 edge
set protocols vstp interface ge-0/0/17 edge
set protocols vstp interface ge-0/0/18 edge
set protocols vstp interface ge-0/0/19 edge
set protocols vstp interface ge-0/0/20 edge
set protocols vstp interface ge-0/0/21 edge
set protocols vstp interface ge-0/0/22 edge
set protocols vstp interface ge-0/0/23 edge
set protocols vstp interface ge-0/0/24 edge
set protocols vstp interface ge-0/0/25 edge
set protocols vstp interface ge-0/0/26 edge
set protocols vstp interface ge-0/0/27 edge
set protocols vstp interface ge-0/0/28 edge
set protocols vstp interface ge-0/0/29 edge
set protocols vstp interface ge-0/0/30 edge
set protocols vstp interface ge-0/0/31 edge
set protocols vstp interface ge-0/0/32 edge
set protocols vstp interface ge-0/0/33 edge
set protocols vstp interface ge-0/0/34 edge
set protocols vstp interface ge-0/0/35 edge
set protocols vstp interface ge-0/0/36 edge
set protocols vstp interface ge-0/0/37 edge
set protocols vstp interface ge-0/0/38 edge
set protocols vstp interface ge-0/0/39 edge
set protocols vstp interface ge-0/0/40 edge
set protocols vstp interface ge-0/0/41 edge
set protocols vstp interface ge-0/0/42 edge
set protocols vstp interface ge-0/0/43 edge
set protocols vstp interface ge-0/0/44 edge
set protocols vstp interface ge-0/0/45 edge
set protocols vstp interface ge-0/0/46 edge
set protocols vstp interface ge-0/0/47 edge
set protocols vstp vlan all interface all
root@test-swj-A1-1npA-2p# commit 
[edit protocols]
  'vstp'
    xSTP:Trying to configure too many interfaces for given protocol
error: configuration check-out failed

When I try different approach:

set protocols vstp vlan all interface ge-0/0/0 edge
set protocols vstp vlan all interface ge-0/0/1 edge
set protocols vstp vlan all interface ge-0/0/2 edge
set protocols vstp vlan all interface ge-0/0/3 edge
set protocols vstp vlan all interface ge-0/0/4 edge
set protocols vstp vlan all interface ge-0/0/5 edge
set protocols vstp vlan all interface ge-0/0/6 edge
set protocols vstp vlan all interface ge-0/0/7 edge
set protocols vstp vlan all interface ge-0/0/8 edge
set protocols vstp vlan all interface ge-0/0/9 edge
set protocols vstp vlan all interface ge-0/0/10 edge
set protocols vstp vlan all interface ge-0/0/11 edge
set protocols vstp vlan all interface ge-0/0/12 edge
set protocols vstp vlan all interface ge-0/0/13 edge
set protocols vstp vlan all interface ge-0/0/14 edge
set protocols vstp vlan all interface ge-0/0/15 edge
set protocols vstp vlan all interface ge-0/0/16 edge
set protocols vstp vlan all interface ge-0/0/17 edge
set protocols vstp vlan all interface ge-0/0/18 edge
set protocols vstp vlan all interface ge-0/0/19 edge
set protocols vstp vlan all interface ge-0/0/20 edge
set protocols vstp vlan all interface ge-0/0/21 edge
set protocols vstp vlan all interface ge-0/0/22 edge
set protocols vstp vlan all interface ge-0/0/23 edge
set protocols vstp vlan all interface ge-0/0/24 edge
set protocols vstp vlan all interface ge-0/0/25 edge
set protocols vstp vlan all interface ge-0/0/26 edge
set protocols vstp vlan all interface ge-0/0/27 edge
set protocols vstp vlan all interface ge-0/0/28 edge
set protocols vstp vlan all interface ge-0/0/29 edge
set protocols vstp vlan all interface ge-0/0/30 edge
set protocols vstp vlan all interface ge-0/0/31 edge
set protocols vstp vlan all interface ge-0/0/32 edge
set protocols vstp vlan all interface ge-0/0/33 edge
set protocols vstp vlan all interface ge-0/0/34 edge
set protocols vstp vlan all interface ge-0/0/35 edge
set protocols vstp vlan all interface ge-0/0/36 edge
set protocols vstp vlan all interface ge-0/0/37 edge
set protocols vstp vlan all interface ge-0/0/38 edge
set protocols vstp vlan all interface ge-0/0/39 edge
set protocols vstp vlan all interface ge-0/0/40 edge
set protocols vstp vlan all interface ge-0/0/41 edge
set protocols vstp vlan all interface ge-0/0/42 edge
set protocols vstp vlan all interface ge-0/0/43 edge
set protocols vstp vlan all interface ge-0/0/44 edge
set protocols vstp vlan all interface ge-0/0/45 edge
set protocols vstp vlan all interface ge-0/0/46 edge
set protocols vstp vlan all interface ge-0/0/47 edge

It is committed without errors. My question is: what is the difference between those configs? Are their equivalent? Why does the first config fails?

 

This is just an example. Maybe you are wondering I have just too much vlans, but the problem is relevant when switches are in stack. With 5 switches in stack the vlan number limit is 20.