The operation of enabling/disabling a VLAN's VLAN interface does not influence the physical status of
the Ethernet ports belonging to this VLAN.
Displaying VLAN Configuration
To do...
Display the VLAN interface
information
Display the VLAN information
Configuring a Port-Based VLAN
Port-Based VLAN Configuration Task List
Complete these tasks to configure a port-based VLAN:
Configuring the Link Type of an Ethernet Port
Assigning an Ethernet Port to a VLAN
Configuring the Default VLAN for a Port
Configuring the Link Type of an Ethernet Port
Follow these steps to configure the link type of an Ethernet port:
To do...
Enter system view
Enter Ethernet port view
Configure the port link type
Use the command...
display interface Vlan-interface
[ vlan-id ]
display vlan [ vlan-id [ to vlan-id ] | all |
dynamic | static ]
Task
Use the command...
system-view
interface interface-type
interface-number
port link-type { access |
hybrid | trunk }
7-3
Remarks
Available in any
view.
Remarks
Optional
Required
Optional
Remarks
—
—
Required
The link type of an Ethernet port is
access by default.