3Com Switch 7750 Configuration Guide
Configuring a Port-Based VLAN 97
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 an
Access-Port-Based VLAN
There are two ways to configure Access-port-based VLAN: one way is to configure
in VLAN view, the other way is to configure in Ethernet port view.
Follow these steps to configure the Access-port-based VLAN in VLAN view:
Follow these steps to configure the Access-port-based VLAN in Ethernet port view:
n
To add an Access port to a VLAN, make sure the VLAN already exists.
Table 51 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 ]
To do... Use the command... Remarks
Enter system view system-view -
Enter VLAN view vlan vlan-id Required
If the specified VLAN does not
exist, this command be
created first creates the VLAN
before entering its view.
Add an Access port to the
current VLAN
port interface-list Required
By default, system will add all
ports to VLAN 1.
To do... Use the command... Remarks
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Configure the port link type
as Access
port link-type access Optional
The link type of a port is
Access by default.
Add the current Access port
to a specified VLAN
port access vlan vlan-id Optional
By default, all Access ports
belong to VLAN 1.