209Configuring the network-side portStep Command Remarks1. Enter system view. system-view N/A2. Enter interface view or portgroup view.• Enter Layer 2 Ethernet interfaceview:interface interface-typeinterface-number• Enter port group view:port-group manualport-group-name• Enter Layer 2 aggregateinterface view:interface bridge-aggregationinterface-numberN/A3. Configure the link type of theport.• Configure the port as a trunkport:port link-type trunk• Configure the port as a hybridport:port link-type hybridUse one of the commands.The default link type of an Ethernetport is access.4. Assign the port to all SVLANs.• Assign the trunk port to VLANs:port trunk permit vlan { vlan-list| all }• Assign the hybrid port to VLANsas a tagged member:port hybrid vlan vlan-listtaggedUse one of the commands.By default:• A trunk port is assigned only toVLAN 1.• A hybrid port is an untaggedmember of VLAN 1.Configuring many-to-one VLAN mappingCAUTION:Before changing VLAN mappings on a port, clear all DHCP snooping entries by using the resetdhcp-snooping command (seeLayer 3—IP Services Command Reference).Perform many-to-one VLAN mapping on campus switches (see Figure 68) to transmit the same type oftraffic from different users in one VLAN.Perform these tasks to configure many-to-one VLAN mapping:Task DescriptionEnabling DHCP snooping Enables DHCP snooping globally (required).Enabling ARP detection in SVLANs Enables ARP detection in all SVLANs (required).Configuring an uplink policy Configures an uplink policy for the customer-side port (required).Configuring the customer-side port Configures VLAN and other settings required for many-to-oneVLAN mapping (required).