Technical Documentation



mode mode;

Hierarchy Level

[edit protocols mstp interface (all | interface-name)],
[edit protocols mstp msti msti-id interface interface-name],
[edit protocols rstp interface (all | interface-name)],
[edit protocols stp interface (all | interface-name)],
[edit protocols vstp vlan vlan-id interface (all | interface-name)]

Release Information

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Statement updated in JUNOS Release 9.4 for EX Series switches to add VSTP support.


For Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), VLAN Spanning Tree Protocol (VSTP), or Multiple Spanning Tree Protocol (MSTP), configure the link mode to identify point-to-point links.


For a full-duplex link, the default link mode is point-to-point. For a half-duplex link, the default link mode is shared.


mode—Link mode:

  • point-to-point—Link is point to point.
  • shared—Link is shared media.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.

Published: 2009-07-28