643

Use the undo port trunk permit vlan command to remove the Trunk port from a specified VLAN, a selection of VLANs, or all VLANs.

The Trunk port can allow multiple VLANs to pass. Repetitive execution of the port trunk permit vlan command will yield a set of vlan-id-list, to which the Trunk port belongs.

Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group.

Refer to “Link Aggregation Configuration Commands” on page 473 for information about port groups.

Related command: port link-type.

Example # Add the Trunk port Ethernet 1/0 to VLAN 2, VLAN 4, and the range of VLANs from VLAN 50 to VLAN 100.

<Sysname> system-view [Sysname] vlan all Please wait... Done.

[Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] port link-type trunk

[Sysname-Ethernet1/0] port trunk permit vlan 2 4 50 to 100 Please wait........... Done.

port trunk pvid vlan

Syntax port trunk pvid vlan vlan-id

undo port trunk pvid

View Ethernet interface view, port group view

Parameter vlan-id : VLAN ID, in the range of 1 to 4,094

Description Use the port trunk pvid vlan command to configure the default VLAN ID for the Trunk port.

Use the undo port trunk pvid command to restore the default.

By default, the default VLAN on a Trunk port is VLAN 1.

Execution of the undo vlan command on a Trunk port to remove a default VLAN does not affect the default VLAN configurations. That is to say, a non-existent VLAN can still be the default VLAN.

Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group.

Page 643
Image 643
3Com MSR 50, MSR 30 manual Port trunk pvid vlan, Syntax port trunk pvid vlan vlan-id Undo port trunk pvid, 643