Operation Manual – VLANH3C S3610&S5510 Series Ethernet Switches Chapter 1 VLAN Configuration1-9To do… Use the command… RemarksAdd the current Accessport to a specified VLAN port access vlan vlan-idOptionalBy default, all Accessports belong to VLAN 1.Note:To add an Access port to a VLAN, make sure the VLAN already exists.1.4.3 Configuring a Trunk-Port-Based VLANA Trunk port may belong to multiple VLANs, and you can only perform this configurationin Ethernet port view or port group view.Follow these steps to configure the Trunk-port-based VLAN:To do… Use the command… RemarksEnter system view system-view —EnterEthernetport viewinterface interface-typeinterface-numberEnterEthernetport viewor portgroup view Enter portgroup viewport-group { manualport-group-name |aggregation agg-id }Use either commandIn Ethernet port view, thesubsequent configurationsonly apply to the currentport; in port group view, thesubsequent configurationsapply to all ports in the portgroup.Configure the port linktype as Trunk port link-type trunk RequiredAllow the specifiedVLANs to pass throughthe current Trunk portport trunk permit vlan{ vlan-id-list | all }RequiredBy default, all Trunk portsonly allow packets of VLAN1 to pass.Configure the defaultVLAN for the Trunk portport trunk pvid vlanvlan-idOptionalVLAN 1 is the default bydefault.