5.6.13STP Port Commands5.6.13.1Get stp port

Description:

Use this command to display port specific information for the Spanning Tree Protocol, for all ports, or for the specified port.

Command Syntax:

get stp port info portid <portid-val>5.6.13.2 Modify stp port

Description:

Use this command to alter the configuration for the spanning tree protocol.

Command Syntax:

modify stp port info portid <portid-val> [enabledisable] [pcost <pcost-val>] [priority <priority-val>] [pktpriority <pktpriority-val>]

5.6.13.3 Reset stp port stats

Description:

Use this command to reset the STP port stats for a specific interface.

Command Syntax:

reset stp port stats portid <portid-val>

Parameters:

 

 

 

Name

Description

 

 

 

 

 

 

 

 

 

 

portid <portid-val>

The port number of the port for which this entry contains Spanning

 

 

 

 

 

Tree Protocol management information.

 

 

 

 

 

Type : Mandatory

 

 

 

 

 

Valid values: 1 to 386;

 

 

 

 

 

 

 

 

 

 

enabledisable

Spanning Tree Protocol to be enabled on the Port or not

 

 

 

 

 

Type: Optional

 

 

 

 

 

Valid values: enable, disable

 

 

 

 

 

 

 

 

 

 

pcost <pcost-val>

The contribution of this port to the path cost of paths towards the

 

 

 

 

 

spanning tree root, which include this port.

 

 

 

 

 

Type : Optional

 

 

 

 

 

Valid values: 1 - 65535

 

 

 

 

 

 

 

 

 

 

priority <priority-val>

The value of the priority field which is contained in the most

 

 

 

 

 

 

 

 

 

 

 

 

 

 

202

 

 

IDL series User Guide