HP 8/40 Converged Enhanced Ethernet Command Reference v6.4.0 (53-1001762-01, J - Page 70
switchport trunk
View all HP 8/40 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 70 highlights
3 switchport trunk DRAFT: BROCADE CONFIDENTIAL switchport trunk Synopsis Operands Defaults Command Modes Description Usage Guidelines Examples See Also Adds or removes tagged VLANs on a Layer 2 interface. switchport trunk allowed vlan {add vlan_id | all | except vlan_id | none | remove vlan_id} no switchport trunk allowed vlan add vlan_id all except vlan_id none remove vlan_id Sets the VLANs that will transmit and receive through the Layer 2 interface. Adds a VLAN to transmit and receive through the Layer2 interface. The range of valid values is 2-3583. Allows all VLANs to transmit and receive through the Layer 2 interface. Allows all VLANs except the VLAN ID to transmit and receive through the Layer 2 interface. The range of valid values is 2-3583. Allows no VLANs to transmit and receive through the Layer 2 interface. Removes a VLAN that transmits and receives through the Layer 2 interface. The range of valid values is 2-3583. There are no default configurations for this command. Interface configuration mode Use this command to add or remove tagged VLANs on a Layer 2 interface. There are no usage guidelines for this command. To set the tagged VLAN on an interface to 100: switch(conf-if-te-0/19)#switchport truck allowed vlan add 100 To remove the tagged VLAN 100 from the interface: switch(conf-if-te-0/19)#switchport truck allowed vlan remove 100 show vlan brief, show interface switchport, switchport mode, switchport trunk 52 Converged Enhanced Ethernet Command Reference 53-1001762-01