User`s manual
72
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring and Managing Ports and VLANs
Conguring a Port Group (continued)
After you congure a port group, you can use the port group name with commands that
change Layer 2 conguration parameters to apply conguration 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 conguration
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 congure 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 conguration change, type the following command:
DWS-1008# show vlan cong
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 congured as a port group, the show vlan cong output lists
the port group name instead of the individual port numbers.
Removing a Port Group
To remove a port group, use the following command:
clear port-group name name
Displaying Port Group Information
To display port group information, use the following command:
show port-group [all | name group-name]
To display the conguration and status of port group server2, type the following command:
DWS-1008# show port-group name server2
Port group: server2 is up
Ports: 3, 5