Configuring the network-side port
Step
1.
Enter system view.
2.
Enter interface view or port
group view.
3.
Configure the link type of the
port.
4.
Assign the port to all SVLANs.
Configuring many-to-one VLAN mapping
CAUTION:
Before changing VLAN mappings on a port, clear all DHCP snooping entries by using the reset
dhcp-snooping command (see
Perform many-to-one VLAN mapping on campus switches (see
traffic from different users in one VLAN.
Perform these tasks to configure many-to-one VLAN mapping:
Task
Enabling DHCP snooping
Enabling ARP detection in SVLANs
Configuring an uplink policy
Configuring the customer-side port
Command
system-view
•
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
•
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
•
Configure the port as a trunk
port:
port link-type trunk
•
Configure the port as a hybrid
port:
port link-type hybrid
•
Assign the trunk port to VLANs:
port trunk permit vlan { vlan-list
| all }
•
Assign the hybrid port to VLANs
as a tagged member:
port hybrid vlan vlan-list
tagged
Layer 3—IP Services Command Reference
Description
Enables DHCP snooping globally (required).
Enables ARP detection in all SVLANs (required).
Configures an uplink policy for the customer-side port (required).
Configures VLAN and other settings required for many-to-one
VLAN mapping (required).
209
Remarks
N/A
N/A
Use one of the commands.
The default link type of an Ethernet
port is access.
Use one of the commands.
By default:
•
A trunk port is assigned only to
VLAN 1.
•
A hybrid port is an untagged
member of VLAN 1.
).
Figure
68) to transmit the same type of