xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
121
DGS-3120-24TC:admin# create port_group id 2 name group2
Command: create port_group id 2 name group2
Success.
DGS-3120-24TC:admin#
7-9
config port_group
Description
This command is used to add or delete a port list to a port group.
Format
config port_group [id <value 1-64> | name <name 16 >] [add | delete] [<portlist> |all]
Parameters
id
- Specify the port group ID.
<value 1-64>
- Enter the port group ID used here. This value must be between 1 and 64.
name
- Specify the port group name.
<name 16>
- Enter the port group name here. This name can be up to 16 characters long.
add
- Add a port list to this port group.
delete
- Delete a port list from this port group.
<portlist>
- Enter a list of ports used for the configuration here.
all
- Specify that all the ports will be used for this configuration.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
Add port list “1-3” to the port group which ID is “2”:
DGS-3120-24TC:admin# config port_group id 2 add 1:1-1:3
Command: config port_group id 2 add 1:1-1:3
Success.
DGS-3120-24TC:admin#
7-10
delete port_group
Description
This command is used to delete port group.
Format
delete port_group [id <value 1-64> | name <name 16>]