3com 5500-ei pwr Guía De Referencia

Descargar
Página de 1314
 
1-12 
 Please wait... Done. 
port trunk pvid vlan 
Syntax 
port trunk pvid vlan vlan-id 
undo port trunk pvid 
View 
Ethernet port view 
Parameters 
vlan-id: VLAN ID defined in IEEE802.1Q, in the range of 1 to 4094. It is 1 by default.  
Description 
Use the port trunk pvid vlan command to set the default VLAN ID for the trunk port. 
Use the undo port trunk pvid command to restore the default.  
To guarantee the proper packet transmission, the default VLAN ID of the local trunk port must be 
identical with that of the trunk port on the peer switch connected with the local trunk port.  
Related commands: port link-type.  
Examples 
# Set the default VLAN ID of the trunk port GigabitEthernet 1/0/1 to 100.  
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] interface GigabitEthernet 1/0/1 
[Sysname-GigabitEthernet1/0/1] port link-type trunk 
[Sysname-GigabitEthernet1/0/1] port trunk pvid vlan 100 
Protocol-Based VLAN Configuration Commands 
display protocol-vlan interface 
Syntax 
display protocol-vlan interface { interface-type interface-number [ to interface-type interface-number ] 
all } 
View 
Any view 
Parameter 
interface-type interface-number [ to  interface-type interface-number ]: Specifies the port on which 
protocol-based VLAN configuration information is displayed. If you do not use the to keyword, only one 
port is specified. If you use the to keyword, a range of ports are specified. The port number after to must 
be greater than or equal to that before to. The interface-type argument refers to the port type and the 
interface-number argument refers to the port number.