Page 481 / 757 Scroll up to view Page 476 - 480
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
477
DGS-3627:admin#
delete stp instance_id 2
Command: delete stp instance_id 2
Success.
DGS-3627:admin#
config stp instance_id
Purpose
To map or remove the VLAN range of the specified MST instance for the existed MST
Instances.
Syntax
config stp instance_id <value 1-15> [add_vlan | remove_vlan] <vidlist>
Description
There are 2 different action type to deal with an MST Instance. They are listed as follows:
add_vlan:
to map specified VLAN lists to an existed MST Instance .
remove_vlan:
to delete specified VLAN lists from an existed MST Instance.
Parameters
instance_id
- MSTP instance id . Instance 0 represents for default instance, CIST. The DUT
support 16 Instance (0-15) at most.
add_vlan
- Defined action type to configure an MST Instance.
remove_vlan
- Defined action type to configure an MST Instance.
vidlist
- Specifies a list of VLANs by VLAN ID.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To map vlan id to mstp instance:
DGS-3627:admin#
config stp instance_id 2 add_vlan 1 to 3
Command: config stp instance_id 2 add_vlan 1 to 3
Success.
DGS-3627:admin#
To remove vlan id from mstp instance:
DGS-3627:admin#
config stp instance_id 2 remove_vlan 2
Command: config stp instance_id 2 remove_vlan 2
Success.
DGS-3627:admin#
config stp mst_config_id
Purpose
Used to change the name or revision level of the MST configuration Identification.
Syntax
config stp mst_config_id {name <string> | revision_level <int 0-65535>}
Description
To configure configuration name, revision level in the MST configuration Identification. The
default configuration name is the MAC address of the bridge.
Parameters
name
- The name given for a specified MST region.
revision_level
- The same given name with different revision level also represents for different
MST region.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 482 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
478
Example usage:
To change the name and revision level of the MST configuration Identification:
DGS-3627:admin#
config stp mst_config_id name R&D_BlockG revision_level 1
Commands: config stp mst_config_id name R&D_BlockG revision_level 1
Success.
DGS-3627:admin#
enable stp
Purpose
Used to enable STP globally.
Syntax
enable stp
Description
May be we could modify to allow user enable stp per instance. But CIST should be enabled
first before enable other instances. Current design is when user enable the CIST, all MSTIs
will be enabled automatically if FORCE_VERSION is set to MSTP(3) and there is at least one
vlan mapped to this instance.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable stp:
DGS-3627:admin#
enable stp
Command: enable stp
Success.
DGS-3627:admin#
disable stp
Purpose
Used to disable STP globally.
Syntax
disable stp
Description
To disable STP functionality in every existed instance.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable stp:
DGS-3627:admin#
disable stp
Command: disable stp
Success.
DGS-3627:admin#
Page 483 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
479
config stp version
Purpose
Used to enable STP globally.
Syntax
config stp version [mstp | rstp | stp]
Description
If version is configured as stp or rstp, all currently running MSTIs should be disabled. For
version is configured as mstp, current design is enabled all available MSTIs (assume that
CIST is enabled). Futher discussion needed to decide whether we let user to enable the
MSTIs.
Parameters
version
- To decide to run under which version of STP.
mstp
- Multiple Spanning Tree Protocol.
rstp
- Rapid Spanning Tree Protocol.
stp
- Spanning Tree Protocol.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To config stp version:
DGS-3627:admin#
config stp version mstp
Command: config stp version mstp
Success.
DGS-3627:admin#
To config stp version with the same value of old configuration:
DGS-3627:admin#
config stp version mstp
Command: config stp version mstp
Configure value is the same with current value.
Fail!
DGS-3627:admin#
config stp priority
Purpose
Used to configure the instance priority.
Syntax
config stp priority <value 0-61440> instance_id <value 0-15>
Description
One of the parameters used to select the Root Bridge.
Parameters
priority
- The bridge priority value must be divisible by 4096.
instance_id
- Identifier to distinguish different STP instances.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To config stp instance_id:
Page 484 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
480
DGS-3627:admin#
config stp priority 61440 instance_id 0
Command: config stp priority 61440 instance_id 0
Success.
DGS-3627:admin#
config stp
Purpose
Used to configure the bridge management parameters for CIST (instance_id = 0).
Syntax
config stp {maxage <value 6-40> | maxhops <value 1-40 | hellotime <value 1-10> |
forwarddelay <value 4-30> | txholdcount <value 1-10> | fbpdu [enable(3)|disable(2)] |
lbd [enable(1)|disable(0)] | lbd_recover_timer [<value 0> | <value 60-1000000>] |
nni_bpdu_addr [dot1d | dot1ad]}(1)
Description
This command is used to configure the bridge parameters global settings.
Parameters
maxage
- Used to determine if a BPDU is valid. The default value is 20.
maxhops
- Used to restrict the forwarded times of one BPDU. The default value is 20.
forwarddelay
- The maximum delay time for one BPDU to be transmitted by a bridge and
received from another bridge. The default value is 15.
txholdcount
- Used to restrict the numbers of BPDU transmitted in a time interval (per Hello
Time).
fbpdu
- To decide if the Bridge will flood STP BPDU when STP functionality is disabled.
nni_bdpu_addr
- Used to determine the BPDU protocol address for STP in service provide
site. It can use 802.1d STP address, 802.1ad service provider STP address or an user
defined mutilcast address. The range of the user defined address is 0180C2000000 -
0180C2FFFFFF.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To config stp:
DGS-3627:admin#
config stp maxage 25
Command: config stp maxage 25
Success.
DGS-3627:admin#
config stp ports
Purpose
Used to configure the ports management parameters only at CIST level.
Syntax
config stp ports <portlist> {externalCost [auto | <value 1-200000000>] | hellotime
<value 1-10> | migrate [yes | no] | edge [true | false | auto] | p2p [true | false | auto] |
state [enable | disable] | restricted_role [true |f alse] | restricted_tcn [true | false] | lbd
[enable | disable] | fbpdu [enable | disable]}(1)
Description
This command can configure all the parameters of ports, except for Internal Path Cost and
Port Priority.
Parameters
portlist
- One of CLI Value Type , restrict the input value and format of the ports, refer to
section 1-4 Switch Numerical Ranges.
external_cost
- The path cost between 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
Page 485 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
481
config stp ports
per-Port parameter in MSTP.
migrate
- Operation of management in order to specify the port to send MSTP BPDU for a
delay time.
edge
- To decide 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
- To decide if this port is in Full-Duplex or Half-Duplex mode.
state
- To decide if this port supports the STP functionality.
restricted_role
- To decide if this port not to be selected as Root Port. The default value is
false.
restricted_tcn
- To decide if this port not to propagate topology change. The default value is
false.
fbpdu
- To decide if this port will flood STP BPDU when STP functionality is disabled.
When the state is set to enable, the received BPDU will be forwarded.
When the state is set to disable, the received VPDU will be dropped.
hw_filtering
is an option that is only required by some legacy chipset which cannot support
per L2 protocol packet control. When the state is set to hw_filtering, if STP BPDU is received
by this port, the port will be changed to BPDU hardware filtering mode such that all layer 2
control packets will be dropped by hardware. The default state is disable.
recover_hw_filtering
- When a port is in BPDU hardware filtering mode, it can be recovered
by this option.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To config stp ports:
DGS-3627:admin#
config stp ports 1 external_cost auto
Command: config stp ports 1 external_cost auto
Success.
DGS-3627:admin#
config stp mst_ports
Purpose
Used to configure the ports management parameters at CIST (instance_id = 0) or MSTI
(instance_id = 1) level.
Syntax
config stp mst_ports <portlist> instance_id <value 0-15> {internalCost [ auto | <value
1-200000000> ] | priority <value 0-240>}
Description
Internal Path Cost and Port Priority of a Port in MSTI can be separately configured to
different values from the configuration of CIST (istance_id = 0).
Parameters
mst_ports
- To be distinguished from the parameters of ports only at CIST level.
portlist
- One of CLI Value Type , restrict the input value and format of the ports, refer to
section 1-4 Switch Numerical Ranges.
instance_id
- Instance = 0 represents for CIST , Instance from 1 to 15 represents for MSTI 1 -
MSTI 15.
internal_cost
- Port Path Cost used in MSTP.
priority
- Port Priority.
Restrictions
Only Administrator and Operator-level users can issue this command.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top