3Com Switch 7750 Configuration Guide Guide

Configuring a Port-Based VLAN 91
If a VLAN interface is disabled, its status is not determined by the status of its
ports.
Displaying VLAN
Configuration
After the configuration above, you can execute the display command in any view
to display the running status after the configuration, so as to verify the
configuration.
Configuring a
Port-Based VLAN
Configuring a
Port-Based VLAN
Configuration prerequisites
Create a VLAN before configuring a port-based VLAN.
Configuration procedure
c
CAUTION: The commands above are effective for access ports only. If you want to
add trunk ports or hybrid ports to a VLAN, you can use the port trunk permit
vlan command or the port hybrid vlan command only in Ethernet port view. For
the configuration procedure, refer to the Port Basic Configuration part in 3Com
Switch 7750 Family Ethernet Switches - Operation Manual.
Protocol-based VLAN
Configuration Example
Configuration requirements
Create VLAN 2 and VLAN 3 and specify the description string of VLAN 2 as
home;
Add Ethernet1/0/1 and Ethernet1/0/2 to VLAN 2 and add Ethernet1/0/3 and
Ethernet1/0/4 to VLAN 3.
Table 42 Display VLAN configuration
Operation Command Description
Display the VLAN interface
information
display interface
Vlan-interface [ vlan-id ]
You can execute the display
command in any view.
Display the VLAN information
display vlan [ vlan-id [ to
vlan-id ] | all | static |
dynamic ]
Table 43 Configure a port-based VLAN
Operation Command Description
Enter system view system-view -
Enter VLAN view vlan vlan-id -
Add Ethernet ports to the
specific VLAN
port interface-list
Required
By default, all the ports
belong to the default VLAN