2-4To do… Use the command… RemarksAdd the current Access port toa specified VLAN port access vlan vlan-idOptionalBy default, all Access portsbelong to VLAN 1.To add an Access port to a VLAN, make sure the VLAN already exists.Configuring a Hybrid-Port-Based VLANA Hybrid port may belong to multiple VLANs, and this configuration can only be performed in Ethernetport view.Follow these steps to configure the Hybrid-port-based VLAN:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure the port link type asHybrid port link-type hybrid RequiredAllow the specified VLANs topass through the current Hybridportport hybrid vlan vlan-id-list{ tagged | untagged }RequiredBy default, all Hybrid ports onlyallow packets of VLAN 1 topass.Configure the default VLAN ofthe Hybrid port port hybrid pvid vlan vlan-id OptionalVLAN 1 is the default by defaultz To configure a Trunk port into a Hybrid port (or vice versa), you need to use the Access port as amedium. For example, the Trunk port has to be configured as an Access port first and then a Hybridport.z Ensure that the VLANs already exist before configuring them to pass through a Hybrid port.z The default VLAN IDs of the Hybrid ports on the local and the peer devices must be the same.Otherwise, packets cannot be transmitted properly.Configuring a Trunk-Port-Based VLANA Trunk port may belong to multiple VLANs, and you can only perform this configuration in Ethernet portview.Follow these steps to configure the Trunk-port-based VLAN: