Vlan Mapping Configuration Examples; One-To-One And Many-To-One Vlan Mapping Configuration Example - H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

Step
3.
Configure the link type of the
port.
4.
Assign the port to all SVLANs.
5.
Apply the uplink policy for the
network-side port to outgoing
traffic.

VLAN mapping configuration examples

One-to-one and many-to-one VLAN mapping configuration
example
Network requirements
As shown in
Each home is offered PC, VoD, and VoIP services, connects to a wiring-closet switch through the
home gateway, and obtains the IP address through DHCP.
VLAN 1 is assigned for PC traffic, VLAN 2 is assigned for VoD traffic, and VLAN 3 is assigned for
VoIP service traffic on the home gateways.
Assign one VLAN for each type of traffic from each user on the wiring-closet switches, so that traffic of the
same service type from different homes is isolated.
Perform many-to-one VLAN mapping on the campus switch (Switch C) to transmit the same type of traffic
from different homes in one VLAN: use VLAN 501 for PC traffic, VLAN 502 for VoD traffic, and VLAN
503 for VoIP traffic, so that the VLAN resources are saved.
Packets that PCs send are VLAN untagged. If a PC is directly attached to a wiring-closet switch, configure
the port on the switch as an access or trunk port:
If the port is configured as an access port, assign it to the SVLAN.
If the port is configured as a trunk port, specify the SVLAN as the PVID.
Figure
74:
Command
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
qos apply policy policy-name
outbound
216
Remarks
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.
N/A

Advertisement

Table of Contents
loading

Table of Contents