3Com 10014298 Switch User Manual


 
56 CHAPTER 3: VLAN CONFIGURATION
status of one or more Ethernet ports is UP, the status of the VLAN interface is UP
also, so the VLAN interface is enabled.
Displaying and Debugging a VLAN
After the configuring a VLAN, execute the display command in any view to
display 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 15 VLAN Configuration Example
1 Create VLAN 2 and enter its view.
[SW7750]vlan 2
2 Add Ethernet 1/0/1 and Ethernet 2/0/1 to VLAN2.
[SW7750-vlan2]port Ethernet 1/0/1 Ethernet 2/0/1
3 Create VLAN 3 and enters its view.
[SW7750-vlan2]vlan 3
4 Add Ethernet 1/0/2 and Ethernet 2/0/2 to VLAN3.
[SW7750-vlan3]port Ethernet 1/0/2 Ethernet 2/0/2
Table 51 Displaying and Debugging a VLAN
Operation Command
Display the information about a VLAN
interface
display interface vlan-interface
[ vlan_id ]
Display the information about a VLAN display vlan [ vlan_id | all |
static | dynamic ]
Display the protocol information and protocol
index configured on the specified VLAN
display protocol-vlan vlan_list
Display the protocol information and protocol
index configured on the specified port
display protocol-vlan interface
interface_list
Switch
VLAN2
VLAN3
E1/0/1
E2/0/1 E1/0/2 E2/0/2