Blog Viewer

How can I prevent a VLAN from being trunked and causing a bridge-loop?

By Erdem posted 08-11-2015 15:06


The vstp-check-new script prevents a VLAN from inadvertently being trunked and potentially causing a bridge-loop. This works with the new 9.2 style MX trunking/access configs only.


This commit-script ensures that any trunked VLANs (on "xe-*" interfaces in this case) are configured for VSTP and have a bridge-domain associated with it. This script errors if the VLAN is not in VSTP or in a bridge-domain and warns if the VLAN is in VSTP, but does not have a priority associated with it.


See the document vstp-check-new