DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
153
Examples
To config STP:
D G S - 3 2 0 0 - 1 0 : 4 # c o n f i g s t p m a x a g e 2 5
C o m m a n d : c o n f i g s t p m a x a g e 2 5
S u c c e s s .
D G S - 3 2 0 0 - 1 0 : 4 #
16-14 config stp ports
Purpose
Used to configure the ports management parameters only at CIST level.
Format
config stp ports <portlist> { external_cost [ auto | <value 1-200000000> ] | hellotime <value 1-2> |
migrate [ yes | no ] | edge [ true | false | auto ] | p2p [ true | false | auto ] | state [ enable | disable ] |
restricted_role [true | false ] | restricted_tcn [true | false]| fbpdu [ enable | disable ] }
Description
This command can configure all the parameters of ports, except for Internal Path Cost and Port Priority.
The two parameters (Internal Path Cost and Port Priority) are special cases in MSTP and will need another
command in 47-13 to use.
Parameters
Parameters
Description
portlist
One of the CLI Value Types, restricts the input value and format of the
ports.
external_cost
The path cost between the MST regions from the transmitting Bridge
to the CIST Root Bridge. It is only used at CIST level.
hellotime
The default value is 2 . This is a per-Bridge parameter in RSTP, but it
becomes a per-Port parameter in MSTP.
migrate
Operation of management in order to specify the port to send MSTP
BPDU for a delay time.
edge
Decides if this port is connected to a LAN or a Bridged LAN. In auto
mode, the bridge will delay for a period to become edge port if no
bridge BPUD is received. The default is auto mode.
p2p
Decides if this port is in Full-Duplex or Half-Duplex mode.