xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
86
config stp ports
loops, however an edge port can lose edge port status if a topology change creates a potential
for a loop. An edge port normally should not receive BPDU packets. If a BPDU packet is
received it automatically loses edge port status.
false
indicates that the port does not have
edge port status.
auto
allows the port to have edge status whenever possible and operate as if
the edge status were true. In auto mode, the bridge will delay for a period of time to become
edge port if no bridge BPDU is received.
p2p [true | false | auto]
–
true
indicates a point–to–point (P2P) shared link. P2P ports are
similar to edge ports however they are restricted in that a P2P port must operate in full–duplex.
Like edge ports, P2P ports transition to a forwarding state rapidly thus benefiting from RSTP. A
p2p value of false indicates that the port cannot have p2p status.
auto
allows the port to have
p2p status whenever possible and operate as if the p2p status were
true
. If the port cannot
maintain this status (for example if the port is forced to half–duplex operation) the p2p status
changes to operate as if the p2p value were
false
. The default setting for this parameter is
auto
.
state [enable | disable]
−
Allows STP to be enabled or disabled for the ports specified in the
port list. The default is
enable
.
restricted_role [ true | false ]
–To decide if this port will be selected as the Root Port. The
default value is false.
restricted_tcn [ true | false ]
–To decide if this port not to propagate topology change. The
default value is false.
lbd [enable | disable]
– When this is enabled, the Switch will temporarily block STP on the port
when a BDPU packet has been looped back. If the Switch detects its own BDPU packet
coming back, it signifies a loop on the network. STP will automatically be blocked and an alert
will be sent to the administrator. The default is
disable
.
fbpdu [enable | disable]
– Enabling this parameter will allow the forwarding of STP BPDU from
other network devices when STP is disabled on the port. The default is
disable
.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure STP with path cost 19, hellotime set to 5 seconds, migration enable, and state enable for ports 1
–
5 of
module 1.
D G S – 3 4 2 6 : 5 # c o n f i g s t p p o r t s 1 : 1 – 1 : 5 e x t e r n a l C o s t 1 9 h e l l o t i m e 5 m i g r a t e y e s
s t a t e e n a b l e
C o m m a n d : c o n f i g s t p p o r t s 1 : 1 – 1 : 5 e x t e r n a l C o s t 1 9 h e l l o t i m e 5 m i g r a t e y e s s t a t e
e n a b l e
S u c c e s s .
D G S – 3 4 2 6 : 5 #
create stp instance_id
Purpose
Used to create a STP instance ID for MSTP.
Syntax
create stp instance_id <value 1–15>
Description
This command is used to create an STP instance ID for the Multiple Spanning Tree
Protocol. There are 16 STP instances on the Switch (one internal CIST, unchangeable)
and the user may create up to 15 instance IDs for the Switch.
Parameters
<value 1–15> –
Enter a value between 1 and 15 to identify the Spanning Tree instance on
the Switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a spanning tree instance 2: