Navigation
Supported Platforms
interface (Spanning Tree)
Syntax
interface interface-name {bpdu-timeout-action {alarm;block;}cost cost;edge;mode (p2p | shared);no-root-port;priority interface-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 routing-instances routing-instance-name protocols (mstp | rstp | vstp)],[edit routing-instances routing-instance-name protocols vstp vlan vlan-id]
Release Information
Statement introduced in Junos OS Release 8.4.
Support for logical systems added in Junos OS Release 9.6.
Description
Configure the interface to participate in the RSTP or MSTP instance.
Options
interface-name—Name of a Gigabit Ethernet or 10-Gigabit Ethernet interface.
The remaining statements are explained separately.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.