3com S7906E Guide De Référence

Page de 2327
 
1-8 
Related commands: display vlan
Examples 
# Enter VLAN 2 view. 
<Sysname> system-view 
[Sysname] vlan 2 
[Sysname-vlan2] 
# Create VLAN 4 through VLAN 100. 
<Sysname> system-view 
[Sysname] vlan 4 to 100 
Please wait............. Done. 
Port-Based VLAN Configuration Commands 
display port 
Syntax 
display port { hybrid | trunk } 
View 
Any view 
Default Level 
1: Monitor level 
Parameters 
hybrid: Displays hybrid ports. 
trunk: Displays trunk ports. 
Description 
Use the display port command to display information about the hybrid or trunk ports on the device, 
including the port names, default VLAN IDs, and allowed VLAN IDs.  
Examples 
# Display information about the hybrid ports in the system. 
<Sysname> display port hybrid 
Interface            PVID  VLAN passing 
GE2/0/2              100   Tagged:  1000, 1002, 1500, 1600-1611, 2000, 
                                    2555-2558, 3000, 4000 
                           Untagged:1, 10, 15, 18, 20-30, 44, 55, 67, 100, 
                                    150-160, 200, 255, 286, 300-302 
# Display information about the trunk ports in the system. 
<Sysname> display port trunk 
Interface            PVID  VLAN passing 
GE2/0/1              2     1-4, 6-100, 145, 177, 189-200, 244, 289, 400, 
                           555, 600-611, 1000, 2006-2008