User`s manual

72
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring and Managing Ports and VLANs
Conguring a Port Group (continued)
After you congure a port group, you can use the port group name with commands that
change Layer 2 conguration parameters to apply conguration 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 conguration
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 congure 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 conguration change, type the following command:
DWS-1008# show vlan cong
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 congured as a port group, the show vlan cong 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 conguration 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