Switch 7700 Configuration Guide

40 CHAPTER 3: VLAN CONFIGURATION
Perform the following configuration in VLAN interface view.
The operation of shutting down or enabling the VLAN interface has no effect on
the status of the Ethernet ports on the local VLAN.
By default, when all the Ethernet ports belonging to a VLAN are down, this VLAN’s
interface is also down and this VLAN interface is shut down. When there is one or
more Ethernet ports enabled, the VLAN’s interface is also enabled, and the VLAN
interface is enabled.
Display and Debug
VLAN
After the configuring the VLAN, execute the display command in all views to
display the running of the VLAN configuration, and to verify the effect of the
configuration.
Example: VLAN
Configuration
Create VLAN2 and VLAN3. Add Ethernet 1/0/1 and Ethernet 2/0/1 to VLAN2 and
add Ethernet 1/0/2 and Ethernet 2/0/2 to VLAN3.
Figure 1 VLAN Configuration Example
1 Create VLAN 2 and enters its view.
[SW7700] vlan 2
2 Add Ethernet 1/0/1 and Ethernet 2/0/1 to VLAN2.
Tab le 7 Shut Down or Enable a VLAN interface
Operation Command
Shut down the VLAN interface shutdown
Enabling the VLAN interface undo shutdown
Tab le 8 Display and Debug VLAN
Operation Command
Display the related information
about VLAN
display interface VLAN-interface [ vlan_id ]
Display the related information
about VLAN
display vlan[ vlan_id | all | static | dynamic ]
Switch
VLAN2
VLAN3
E1/0/1
E2/0/1 E1/0/2 E2/0/2