R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
183
Ste
p
Command
Remarks
3. Configure the link type of the
port.
• Configure the port as a trunk
port:
port link-type trunk
• Configure the port as a hybrid
port:
port link-type hybrid
Use one of the commands.
The default link type of an Ethernet
port is access.
4. Assign the port to all
CVLANs.
• As a trunk port:
port trunk permit vlan { vlan-list
| all }
• As a hybrid port:
port hybrid vlan vlan-list
tagged
Use one of the commands.
By default:
• A trunk port is assigned to only
VLAN 1.
• A hybrid port is an untagged
member of VLAN 1.
Configuring many-to-one VLAN mapping
Before changing VLAN mappings on a port, clear all DHCP snooping entries by using the reset
dhcp-snooping command (see Layer 3—IP Services Command Reference).
Perform many-to-one VLAN mapping on campus devices (see Figure 65) t
o transmit the same type of
traffic from different users in one VLAN.
Complete the following tasks to configure many-to-one VLAN mapping:
Task Remarks
Enabling 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-one
VLAN mapping (required).
Configuring the network-side port
Configures VLAN and other settings required for many-to-one
VLAN mapping (required).
Configuration prerequisites
Before configuring many-to-one VLAN mapping:
• Make sure all enterprise department users obtain IP addresses through DHCP. For information
about assigning IP addresses through DHCP, see Layer 3—IP Services Configuration Guide.
• Create CVLANs and SVLANs, and plan CVLANs-to-SVLAN mappings.
Enabling DHCP snooping