interface (Spanning Tree)
Syntax
interface interface-name { bpdu-timeout-action { alarm; block; } cost cost; edge; mode (p2p | shared); no-root-port; priority interface-priority; }
Syntax
interface interface-name { arp-on-stp; bpdu-timeout-action block; log; cost cost; disable; edge; mode mode; no-root-port; priority priority; }
Hierarchy Level
[edit logical-systems logical-system-name protocols (mstp | rstp | vstp)], [edit logical-systems logical-system-name protocols vstp vlan vlan-id], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols (mstp | rstp | vstp)], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols vstp vlan vlan-id],
[edit protocols (mstp | rstp | vstp)], [edit protocols vstp vlan vlan-id],
[edit protocols (mstp | rstp | vstp)], [edit protocols vstp vlan vlan-id], [edit protocols vstp vlan-group group group-name vlan (vlan-id | vlan-range |open-set-of-values)
[edit routing-instances routing-instance-name protocols (mstp | rstp | vstp)], [edit routing-instances routing-instance-name protocols vstp vlan vlan-id]
Description
Configures the interface to participate in the RSTP, MSTP, or VSTP instance.
The edge, mode, and no-root-port options are not available at the [edit protocols mstp msti msti-id] hierarchy level.
Options
interface-name—Name of a Gigabit Ethernet or 10-Gigabit Ethernet interface.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.4.
Statement updated in Junos OS Release 9.4 for EX Series switches to add VSTP support.
Support for logical systems added in Junos OS Release 9.6.
Statement updated in Junos OS Release 15.1 for EX Series switches to support configuration of spanning tree parameters globally on all interfaces.
You cannot disable spanning tree parameters globally on all interfaces.