
205
Command Syntax: modify stp port info portid <portid-val>
[enable|disable] [pcost <pcost-val>] [priority <priority-val>]
[pktpriority <pktpriority-val>]
8.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;
enable|disable
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 significant 6 bits of the more significant
octet of the (2 octet long) Port ID. The least
significant 2 bits of the more significant octet and
the less significant octet (total 10 bits) of the Port
ID is given by the value of dot1dStpPort.
Type: Optional
Valid values: 0 -255.
pktpriority <pktpriority-
val>
For STP PDUs, this priority shall be used for
choice of traffic class/ Queue on out¦going
interface. In case the bridge port is over an
Aggregated ATM VC, this will also be used to
identify the VC, on which the packet is to be sent.
Type: Modify - Optional
Valid values: 0 - 7
Example
$ modify stp port portid 1 disable pcost 1000 priority 0x10
Output
Verbose Mode On
Port ID : 1 Priority : 0x0
State : Forwarding PortStatus : Enable
Path Cost : 100 Desig Cost : 0
Desig Root:80:00:00:10:5A:6C Desig Bridge:80:00:00:10:5A:6C
Desig Port : 0x8000 Fwd Transitions : 1
STP Status : Enable
Set Done
Port ID : 1 Priority : 0x0
State : Forwarding PortStatus : Enable
Path Cost : 100 Desig Cost : 0
Desig Root:80:00:00:10:5A:6C Desig Bridge:80:00:00:10:5A:6C
Desig Port : 0x8000 Fwd Transitions : 1
STP Status : Enable STP PacketsPrio : 2
Verbose Mode Off
Kommentare zu diesen Handbüchern