8. Configure the interfaces that participate in the VSTP instance.
a. Enable configuration of the interface:
[edit ... protocols vstp vlan vlan-id]
user@host# edit interface interface-name
b. Configure the interface priority:
[edit ... protocols vstp vlan vlan-id interface interface-name]
user@host# set priority interface-priority
c. (Optional) Configure the interface as an edge port:
[edit ... protocols vstp vlan vlan-id interface interface-name]
user@host# set edge
9.
Verify the VSTP configuration:
[edit]
protocols {
vstp {
force-version stp; # Optional.
interface interface-name {
priority interface-priority;
cost interface-link-cost; # Optional.
mode (p2p | shared);
edge; # Optional.
}
vlan vlan-id {
bridge-priority bridge-priority;
max-age seconds;
hello-time seconds;
forward-delay seconds; # Optional.
interface interface-name {
priority interface-priority;
cost interface-link-cost; # Optional.
mode (p2p | shared);
edge; # Optional.
}
}
}
}
}
Related
Documentation
Layer 2 Control Protocol on ACX Series Routers on page 404•
• Configuring Multiple Spanning-Tree Protocol on page 413
• Configuring Rapid Spanning-Tree Protocol on page 411
• Tracing Spanning-Tree Operations on page 421
• Configuring MST Instances on a Physical Interface on page 415
• Disabling MSTP on page 417
419Copyright © 2017, Juniper Networks, Inc.
Chapter 12: Configuring Layer 2 Control Protocol