Configuring a vlan group, Displaying and maintaining vlans – H3C Technologies H3C S5560 Series Switches User Manual
Page 169
135
Configuring a VLAN group
After you configure a VLAN group on the device, the authentication sever can assign the VLAN group
name to the 802.1X user that passes authentication. The VLAN group name identifies this group of
VLANs. For more information about 802.1X authentication, see Security Configuration Guide.
To configure a VLAN group:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VLAN group and
enter VLAN group view.
vlan-group group-name
By default, no VLAN group exists.
3.
Add VLANs to the VLAN
group.
vlan-list vlan-id-list
By default, no VLAN exists in a
VLAN group.
Displaying and maintaining VLANs
Execute display commands in any view.
Task Command
Display VLAN interface information.
display interface vlan-interface [ interface-number ] [ brief
[ description | down ] ]
Display MAC-to-VLAN entries.
display mac-vlan { all | dynamic | mac-address mac-address
[ mask mac-mask ] | static | vlan vlan-id }
Display all ports that are enabled with the
MAC-based VLAN feature.
display mac-vlan interface
Display information about IP subnet-based
VLANs that are associated with the specified
ports.
display ip-subnet-vlan interface { interface-type
interface-number1 [ to interface-type interface-number2 ] |
all }
Display information about IP subnet-based
VLANs.
display ip-subnet-vlan vlan { vlan-id1 [ to vlan-id2 ] | all }
Display information about protocol-based
VLANs that are associated with the specified
ports.
display protocol-vlan interface { interface-type
interface-number1 [ to interface-type interface-number2 ] |
all }
Display information about protocol-based
VLANs.
display protocol-vlan vlan { vlan-id1 [ to vlan-id2 ] | all }
Display VLAN information.
display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic |
reserved | static ]
Display brief VLAN information.
display vlan brief
Display VLAN group information.
display vlan-group [ group-name ]
Display hybrid ports or trunk ports on the
device.
display port { hybrid | trunk }