beautypg.com

Displaying and maintaining vlans, Configuration guidelines – H3C Technologies H3C SecPath F1000-E User Manual

Page 71

background image

46

Displaying and maintaining VLANs

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

Clear statistics on a port.

reset counters interface vlan-interface
[ vlan-interface-id ]

Available in user view

Configuration guidelines

When you configure VLANs, follow these guidelines:

As the default VLAN, VLAN 1 cannot be created or removed.

You cannot manually create or remove VLANs reserved for special purposes.

H3C recommends that you set the same PVID for local and remote ports.

Make sure that a port is assigned to its PVID. Otherwise, when the port receives frames tagged with
the PVID tag or untagged frames (including protocol packets such as STP BPDUs), the port filters out

these frames.

As shown in

Figure 16

, on the VLAN configuration page, when you type a VLAN range in the VLAN

Range field and then click Select, the page lists information about all the VLANs within this range,
which makes the operation much easier when the firewall contains a large number of VLANs. After

you click Delete, all VLANs within this range will be removed.