Operation Manual – VLANH3C S7500 Series Ethernet Switches Chapter 2 VLAN Configuration2-4Follow these steps to configure the Access-port-based VLAN in Ethernet port view:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure the port linktype as Access port link-type accessOptionalThe link type of a port isAccess by default.Add 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.2.2.2 Configuring a Trunk-Port-Based VLANA Trunk port may belong to multiple VLANs, and you can only perform this configurationin Ethernet port view.Follow these steps to configure the Trunk-port-based VLAN:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure the port linktype as Trunk port link-type trunk RequiredAllow the specified VLANsto pass through thecurrent Trunk portport trunk permit vlan{ vlan-id-list | all }RequiredBy default, all Trunk portsonly allow packets ofVLAN 1 to pass.Configure the defaultVLAN for the Trunk portport trunk pvid vlanvlan-idOptionalVLAN 1 is the default bydefault.