215Step Command Remarks3. Set the link type of the port.• Configure the port as a trunkport:port link-type trunk• Configure the port as a hybridport:port link-type hybridBy default, the link type of a port isaccess.4. Assign the port to thetranslated VLANs.• port trunk permit vlanvlan-id-list• port hybrid vlan vlan-id-listtaggedBy default:• A trunk port allows only packetsfrom VLAN 1 to pass through.• A hybrid port is an untaggedmember of the VLAN to whichthe port belongs when its linktype is access.5. Configure the port as a DHCPsnooping trusted port. dhcp snooping trustBy default, all ports that supportDHCP snooping are untrusted portswhen DHCP snooping is enabled.6. Configure the port as an ARPtrusted port. arp detection trust By default, all ports are ARPuntrusted ports.7. Configure the port to use theoriginal VLAN tags of themany-to-one mapping toreplace the VLAN tags of thepackets destinated to the usernetwork.vlan mapping nniBy default, the port does notreplace the VLAN tags of thepackets destinated to the usernetwork.Configuring many-to-one VLAN mapping in a network withstatic IP address assignmentNOTE:This feature is supported in Release 2310 and later versions.In a network where IP addresses are statically assigned, configure many-to-one VLAN mapping with ARPsnooping.The switch replaces the SVLAN tag of the downlink traffic with the associated CVLAN tag based on theARP snooping entry lookup.Configuration restrictions and guidelinesWhen you use this method to configure many-to-one VLAN mapping, follow these restrictions andguidelines:• Before you configure many-to-one VLAN mapping, create the original VLANs and the translatedVLAN.• You cannot assign the same IP address to the hosts in different CVLANs.• When an IP address is no longer associated with the MAC address in a VLAN as in the ARPsnooping table, perform one of the following operations: