xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
435
Example usage:
To create mstp instance:
DGS-3450:admin#create stp instance_id 2
Command: create stp instance_id 2
Warning:There is no VLAN mapping to this instance_id!
Success.
DGS-3450:admin#
delete stp instance_id
Purpose
Used to delete MST Instance.
Syntax
delete stp instance_id <value 1-15>
Description
To delete the specified MST Instance . CIST (Instance 0) can not be deleted and only can
delete one instance at a time.
Parameters
instance_id
- MSTP instance id. Instance 0 represents for default instance, CIST. The DUT
support 16 Instance (0-15) at most.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete mstp instance:
DGS-3450:admin# delete stp instance_id 2
Command: delete stp instance_id 2
Success.
DGS-3450: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: