2-5To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure the port link type asTrunk port link-type trunk RequiredAllow the specified VLANs topass through the current Trunkportport trunk permit vlan{ vlan-id-list | all }RequiredBy default, all Trunk ports onlyallow packets of VLAN 1 topass.Configure the default VLAN forthe Trunk port port trunk pvid vlan vlan-idOptionalVLAN 1 is the default bydefault.z To convert 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 The default VLAN IDs of the Trunk ports on the local and peer devices must be the same.Otherwise, packets cannot be transmitted properly.Displaying and Maintaining Port-Based VLANTo do… Use the command… RemarksDisplay the hybrid or trunk ports display port { hybrid | trunk } Available in any view.Port-Based VLAN Configuration ExampleNetwork requirementsz As shown in Figure 2-1, Switch A and Switch B each connect to a server and a workstation (Host).z For data security concerns, the two servers are assigned to VLAN 101 with the descriptive stringbeing “DMZ”, and the PCs are assigned to VLAN 201.z The devices within each VLAN can communicate with each other but that in different VLANscannot communicate with each other directly.