Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
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