xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
90
To designate ports 1 to 2 on module 1, with instance ID 0, to have an auto internalCost and a priority of 0:
D G S – 3 4 2 6 : 5 # c o n f i g s t p m s t _ p o r t s 1 : 1 – 1 : 2 i n s t a n c e _ i d 0 i n t e r n a l C o s t a u t o p r i o r i t y
0
C o m m a n d : c o n f i g s t p m s t _ p o r t s 1 : 1 – 1 : 2 i n s t a n c e _ i d 0 i n t e r n a l C o s t a u t o p r i o r i t y 0
S u c c e s s .
D G S – 3 4 2 6 : 5 #
show stp
Purpose
Used to display the Switch’s current STP configuration.
Syntax
show stp
Description
This command displays the Switch’s current STP configuration.
Parameters None.
Restrictions None.
Example usage:
To display the status of STP on the Switch:
Status 1: STP enabled with STP compatible version
D G S – 3 4 2 6 : 5 # s h o w s t p
C o m m a n d : s h o w s t p
S T P B r i d g e G l o b a l S e t t i n g s
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
S T P S t a t u s : E n a b l e d
S T P V e r s i o n : S T P C o m p a t i b l e
M a x A g e : 2 0
H e l l o T i m e : 2
F o r w a r d D e l a y : 1 5
M a x A g e : 2 0
T X H o l d C o u n t : 3
F o r w a r d i n g B P D U : E n a b l e d
L o o p b a c k D e t e c t i o n : E n a b l e d
L B D R e c o v e r T i m e : 6 0
N N I B P D U A d d r e s s : d o t 1 a d
D G S – 3 4 2 6 : 5 #
Status 2 : STP enabled for RSTP
D G S – 3 4 2 6 : 5 # s h o w s t p
C o m m a n d : s h o w s t p
S T P B r i d g e G l o b a l S e t t i n g s
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
S T P S t a t u s : E n a b l e d
S T P V e r s i o n : R S T P
M a x A g e : 2 0
H e l l o T i m e : 2
F o r w a r d D e l a y : 1 5
M a x A g e : 2 0
T X H o l d C o u n t : 3
F o r w a r d i n g B P D U : E n a b l e d
L o o p b a c k D e t e c t i o n : E n a b l e d
L B D R e c o v e r T i m e : 6 0
N N I B P D U A d d r e s s : d o t 1 a d
D G S – 3 4 2 6 : 5 #