D-Link DWS-1008 User Manual
Configuring a Port Group
To configure a port group, use the following command:
set port-group name
group-name port-list
mode {on | off}
Enter a name for the group and the ports contained in the group.
Note: Do not use dashes or hyphens in a port group name. MSS will not display or save the port
group.
The mode parameter adds or removes ports for a group that is already configured. To modify a group:
• Adding ports - Enter the ports you want to add, then enter mode on.
• Removing ports - Enter the ports you want to remove, then enter mode off.
To configure a port group named
server1
containing ports 1 through 5 and enable the link, type the
following command:
DWS-1008#
set port-group name server1 1-5 mode on
success: change accepted.
After you configure a port group, you can use the port group name with commands that change Layer
2 configuration parameters to apply configuration changes to all ports in the port group. For example,
Spanning Tree Protocol (STP) and VLAN membership changes affect the entire port group instead of
individual ports. When you make Layer 2 configuration changes, you can use a port group name in
place of the port list. Ethernet port statistics continue to apply to individual ports, not to port groups.
To configure a port group named
server2
containing ports 3 and 5 and add the ports to the
default
VLAN, type the following commands:
DWS-1008#
set port-group name server2 3,5 mode on
success: change accepted.
DWS-1008#
set vlan default port server2
success: change accepted.
To verify the configuration change, type the following command:
DWS-1008#
show vlan config
Admin
VLAN Tunl
Port
VLAN Name
Status
State Affin Port
Tag State
-------------------------------------------------------------------------------------------------
1
default
Up
Up
5
server2
none Up
To indicate that the ports are configured as a port group, the show vlan config output lists the port group
name instead of the individual port numbers.
Summary of Contents for DWS-1008
Page 1: ......