Chapter 6: Command line mode
370
NS3550-8T-2S Industrial Managed Switch User Manual
Syntax:
STP Port Edge [<port_list>] [enable|disable]
Parameters:
<port_list>
: Port list or 'all', default: All ports
Enable
: Configure MSTP adminEdge to Edge
Disable
: Configure MSTP adminEdge to Non-edge
Default:
disable
Example:
Enable STP edge function on port1
NS3552-8P-2S:/>
stp port edge 1 enable
STP Port AutoEdge
Description:
Set or show the STP autoEdge port parameter.
Syntax:
STP Port AutoEdge [<port_list>] [enable|disable]
Parameters:
<port_list>
: Port list or 'all', default: All ports
Enable
: Enable MSTP autoEdge
Disable
: Disable MSTP autoEdge
Default:
enable
Example:
Disable STP edge function on port1
NS3552-8P-2S:/>
stp port autoedge 1 disable
STP Port P2P
Description:
Set or show the STP point2point port parameter.
Syntax:
STP Port P2P [<port_list>] [enable|disable|auto]
Parameters:
<port_list>
: Port list or 'all', default: All ports
enable
: Enable MSTP point2point
disable
: Disable MSTP point2point
auto
: Automatic MSTP point2point detection
Default:
auto
Example:
Disable STP P2P function on port1
NS3552-8P-2S:/>
stp port p2p 1 disable
STP Port RestrictedRole
Description: