Page 466 / 757 Scroll up to view Page 461 - 465
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
462
debug stp show information
Purpose
Used to show the STP debug information.
Syntax
debug stp show information
Description
This command used to display STP detailed information, such as the hardware tables, the
STP state machine, etc.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show STP debug information:
Page 467 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
463
DGS-3627:admin# debug stp show information
Command: debug stp show information
Spanning Tree debug information:
----------------------------------------
Port status in hardware table:
Instance 0:
Port 1 :BLK
Port 2 :BLK
Port 3 :BLK
Port 4 :BLK
Port 5 :BLK
Port 6 :BLK
Port 7 :FOR
Port 8 :BLK
Port 9 :BLK
Port 10:BLK
Port 11:BLK
Port 12:BLK
Instance 1:
Port 1 :BLK
Port 2 :BLK
Port 3 :BLK
Port 4 :BLK
Port 5 :BLK
Port 6 :BLK
Port 7 :FOR
Port 8 :BLK
Port 9 :BLK
Port 10:BLK
Port 11:BLK
Port 12:BLK
--------------------------------------
Root Priority and Times :
Instance 0:
Designated Root Bridge : 32768/00-01-02-03-04-00
External Root Cost
: 0
Regional Root Bridge
: 32768/00-01-02-03-04-00
Internal Root Cost
: 0
Designated Bridge
: 32768/00-01-02-03-04-00
Designated Port
: 0
Message Age
: 0
Max Age
: 20
Forward Delay
: 15
Hello Time
: 2
Instance 1:
Regional Root Bridge : 32769/00-01-02-03-04-00
Internal Root Cost
: 0
Designated Bridge
: 32769/00-01-02-03-04-00
Designated Port
: 0
Remaining Hops
: 20
--------------------------------------
Designated
Prioirty and Times
Instance 0:
Port 1 :
Designated Root Bridge : 0
/00-00-00-00-00-00
External Root Cost
: 0
Regional Root Bridge
: 0
/00-00-00-00-00-00
Internal Root Cost
: 0
Designated Bridge
: 0
/00-00-00-00-00-00
Designated Port
: 0
Message Age
: 0
Max Age
: 20
Forward Delay
: 15
Hello Time
: 2
Instance 1:
Port 1 :
Regional Root Bridge : 0
/00-00-00-00-00-00
Internal Root Cost
: 0
Designated Bridge
: 0
/00-00-00-00-00-00
Designated Port
: 0
Remaining Hops
: 20
Success.
DGS-3627:admin#
Page 468 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
464
debug stp show flag
Purpose
Used to show the per-port STP debug level.
Syntax
debug stp show flag {ports <portlist>}
Description
This command used to display the STP debug level on specified ports.
Parameters
ports <portlist>
- Specifies the STP ports to display
If no parameter is specified, all ports on the switch will be displayed.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To display the debug STP levels on all ports:
DGS-3627:admin# debug stp show flag
Command: debug stp show flag
Global State: Enabled
Port Index Event flag BPDU Flag State Machine Flag
---------- ---------- --------- ------------------
1
Detail
Brief
Disable
2
Detail
Brief
Disable
3
Detail
Brief
Disable
4
Detail
Brief
Disable
5
Detail
Brief
Disable
6
Detail
Brief
Disable
7
Detail
Brief
Disable
8
Detail
Brief
Disable
9
Detail
Brief
Disable
10
Detail
Brief
Disable
11
Detail
Brief
Disable
12
Detail
Brief
Disable
Success.
DGS-3627:admin#
debug stp show counter
Purpose
Used to show the STP counters.
Syntax
debug stp show counter { ports [ < portlist > | all ] }
Description
This command used to display the STP counters.
Parameters
ports <portlist>
- Specifies the STP ports for display..
all
- Display all port’s counters
If no parameter is specified, display the global counters.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show the STP counters for port 9:
Page 469 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
465
DGS-3627:admin#debug stp show counter ports 9
Command: debug stp show counter ports 9
STP Counters
--------------------------------------
Port 9 :
Receive:
Transmit:
Total STP Packets
:32
Total STP Packets
:32
Configuration BPDU
:0
Configuration BPDU
:0
TCN BPDU
:0
TCN BPDU
:0
RSTP TC-Flag
:15
RSTP TC-Flag
:7
RST BPDU
:32
RST BPDU
:32
Discarded:
Total Discard BPDU
:0
Global STP Disable
:0
Port STP Disabled
:0
Invalid Packet Format :0
Invalid Protocol
:0
Config BPDU Length :0
TCN BPDU Length
:0
RST BPDU Length
:0
Invalid Type
:0
Invalid Timers
:0
Success.
DGS-3627:admin#
debug stp clear counter
Purpose
Used to clear STP counters.
Syntax
debug stp clear counter [ports < portlist > | all ]
Description
This command used to clear the STP counters.
Parameters
ports <portlist>
- Specifies the port range.
all
- Clears all port counters.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear all STP counters on the switch:
DGS-3627:admin#debug stp clear counter all
Command : debug stp clear counter all
Success.
DGS-3627:admin#
debug stp state
Purpose
Used to configure the STP debug state.
Syntax
debug stp state [enable | disable]
Description
This command is used to enable or disable the STP debug state.
Page 470 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
466
debug stp state
Parameters
state
- See below:
enable
- Enable the STP debug state.
disable
- Disable the STP debug state.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the STP debug state to enable, and then disable the STP debug state:
DGS-3627:admin#debug stp state enable
Command: debug stp state enable
Success.
DGS-3627:admin# debug stp state disable
Command: debug stp state disable
Success.
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top