Command Manual – VLANH3C S7500E Series Ethernet Switches Chapter 1 VLAN Configuration Commands1-13Examples# Configure Ethernet 2/0/1 to be a Trunk port. system-view[Sysname] interface ethernet 2/0/1[Sysname-Ethernet2/0/1] port link-type trunk# Configure all the ports in the manual port group group1 as Hybrid ports. system-view[Sysname] port-group manual group1[Sysname-port-group manual group1] group-member ethernet 2/0/1[Sysname-port-group manual group1] group-member ethernet 2/0/2[Sysname-port-group manual group1] port link-type hybrid1.2.6 port trunk permit vlanSyntaxport trunk permit vlan { vlan-id-list | all }undo port trunk permit vlan { vlan-id-list | all }ViewEthernet port view, port group viewParametersvlan-id-list: The range of VLANs that the Hybrid ports will be added to, in the format ofvlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, where vlan-id ranges from 1 to 4,094and &<1-10> indicates that you can specify up to 10 parameters.all: Adds the Trunk port to all VLANs.DescriptionUse the port trunk permit vlan command to add a Trunk port to a specified VLAN, aselection of VLANs, or all VLANs.Use the undo port trunk permit vlan command to remove the Trunk port from aspecified VLAN, a selection of VLANs, or all VLANs.The Trunk port can allow multiple VLANs to pass. Repetitive execution of the porttrunk permit vlan command will yield a set of vlan-id-list, to which the Trunk portbelongs.Execution of the above commands in Ethernet port view will apply to the current portonly whereas under port group view will apply to all ports in the port group view.Related commands: port link-type.