86 CHAPTER 9: VLAN CONFIGURATIONConfiguring BasicVLAN AttributesFollow these steps to configure basic VLAN attributes:n ■ As the default VLAN, VLAN 1 cannot be created or removed.■ You cannot manually create or remove reserved VLANs, which are reserved forspecific functions.■ Dynamic VLANs cannot be removed using the undo vlan command.■ If a VLAN has a QoS policy configured, the VLAN cannot be removed.■ If a VLAN is configured as a remote-probe VLAN for remote port mirroring, itcannot be removed using the undo vlan command unless its remote-probeVLAN configuration is removed.Basic VLAN InterfaceConfigurationHosts of different VLANs cannot communicate directly. That is, routers or Layer 3switches are needed for packets to travel across different VLANs. VLAN interfacesare used to forward VLAN packets on Layer 3.VLAN interfaces are Layer 3 virtual interfaces (which do not exist physically ondevices) used for Layer 3 interoperability between different VLANs. Each VLAN canhave one VLAN interface. Packets of a VLAN can be forwarded on network layerthrough the corresponding VLAN interface. As each VLAN forms a broadcastdomain, a VLAN can be an IP network segment and the VLAN interface can be thegateway to enable IP address-based Layer 3 forwarding.Follow these steps to configure VLAN interface basic attributes:To do… Use the command… RemarksEnter system view system-view -Create VLANs vlan { vlan-id1 [ to vlan-id2 ] |all }OptionalUsing this command cancreate multiple VLANs in abulk.Enter VLAN view vlan vlan-id RequiredIf the specified VLAN does notexist, the command createsthe VLAN and then enters itsview.By default, only the defaultVLAN (that is, VLAN 1) existsin the system.Specify a descriptive string forthe VLANdescription text OptionalVLAN ID used by default, forexample, “VLAN 0001"To do… Use the command… RemarksEnter system view system-view -Create a VLAN interface orenter VLAN interface viewinterface Vlan-interfacevlan-interface-idRequiredThis command leads you toVLAN interface view if theVLAN interface already exists.