
1-5
Field
Description
Description
Description of the VLAN.
Name VLAN
name.
Tagged Ports
Ports out of which packets are sent tagged.
Untagged Ports
Ports out of which packets are sent untagged.
interface Vlan-interface
Syntax
interface Vlan-interface vlan-id
undo interface Vlan-interface
vlan-id
View
System view
Parameters
vlan-id
: Specifies the ID of a VLAN interface, in the range of 1 to 4094.
Description
Use the
interface Vlan-interface
command to create the VLAN interface for a VLAN and enter VLAN
interface view.
Use the
undo interface Vlan-interface
command to delete a VLAN interface.
You can create a VLAN interface only for an existing VLAN and must ensure that the ID of the VLAN
interface is the same as the VLAN ID.
You can use the
ip address
command in VLAN interface view (refer to the
IP Address and Performance
Command
part for the command description) to configure an IP address for this VLAN interface to
enable it to route packets for the devices in the corresponding VLAN.
Related commands:
display interface Vlan-interface
.
Examples
# Create the VLAN interface for VLAN 1 and enter VLAN-interface 1 view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1]
name
Syntax
name text
undo name