mode
Syntax
mode (p2p | shared);
Hierarchy Level
[edit logical-systems logical-system-name protocols (mstp | rstp | vstp) interface interface-name], [edit logical-systems logical-system-name protocols vstp vlan vlan-id interface interface-name], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols (mstp | rstp | vstp) interface interface-name], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols vstp vlan vlan-id interface interface-name],
[edit protocols (mstp | rstp | vstp) interface interface-name], [edit protocols vstp vlan vlan-id interface interface-name], [edit protocols mstp interface (all | interface-name) arp-on-stp], [edit protocols mstpmsti msti-id interface interface-name) arp-on-stp], [edit protocols rstp interface (all | interface-name) arp-on-stp],
[edit routing-instances routing-instance-name protocols (mstp | rstp | vstp) interface interface-name], [edit routing-instances routing-instance-name protocols vstp vlan vlan-id interface interface-name] [edit protocols stp interface (all | interface-name)], [edit protocols stp interface (all | interface-name) arp-on-stp], [edit protocols vstp vlan vlan-id interface (all | interface-name) arp-on-stp]
Description
For Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), VLAN Spanning Tree Protocol (VSTP), or Multiple Spanning Tree Protocol (MSTP), configures the link mode to identify point-to-point links.
For EX4300 switches, the interfaces operate in full-duplex mode only.
Default
When the link is configured as full-duplex, the default link mode is p2p. When the link is configured half-duplex, the default link mode is shared.
Options
p2p—The link is point to point.
shared—The link is shared media.
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.