Verification, Configuration guidelines, Displaying and maintaining vlan – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 41
31
[Device-Ethernet1/4] port link-type trunk
[Device-Ethernet1/4] port trunk permit vlan 100 200
[Device-Ethernet1/4] quit
3.
Configure AC 2 as you configure AC 1.
Verification
1.
Client 1 can access Server 1 only, and Client 2 can access Server 2 only.
2.
On AC 1 and AC 2, you can see that VLAN 100 is associated with the MAC address of Client 1,
and VLAN 200 is associated with the MAC address of Client 2.
[AC1] display mac-vlan all
The following MAC VLAN addresses exist:
S:Static D:Dynamic
MAC ADDR MASK VLAN ID PRIO STATE
--------------------------------------------------------
000d-88f8-4e71 ffff-ffff-ffff 100 0 S
0014-222c-aa69 ffff-ffff-ffff 200 0 S
Total MAC VLAN address count:2
Configuration guidelines
•
MAC-based VLAN can be configured only on hybrid ports.
•
MAC-based VLAN is usually configured on the downlink ports of access layer devices, and cannot
be configured together with the link aggregation function.
Displaying and maintaining VLAN
Task Command
Remarks
Display VLAN information.
display vlan [ vlan-id1 [ to vlan-id2 ] | all |
dynamic | reserved | static ] [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display VLAN interface
information.
display interface [ vlan-interface ] [ brief
[ down ] ] [ | { begin | exclude | include }
regular-expression ]
display interface vlan-interface
vlan-interface-id [ brief ] [ | { begin | exclude
| include } regular-expression ]
Available in any view
Display hybrid ports or trunk ports
on the device.
display port { hybrid | trunk } [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display MAC address-to-VLAN
entries.
display mac-vlan { all | dynamic |
mac-address mac-address [ mask mac-mask ]
| static | vlan vlan-id } [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display all interfaces with
MAC-based VLAN enabled.
display mac-vlan interface [ | { begin |
exclude | include } regular-expression ]
Available in any view
Clear statistics on a port.
reset counters interface vlan-interface
[ vlan-interface-id ]
Available in user view