Display And Maintenance Commands For Vlan Mapping; Vlan Mapping Configuration Examples; Example: Configuring One-To-One And Many-To-One Vlan Mapping - H3C S6850 Series Configuration Manual

Layer 2, lan switching
Hide thumbs Also See for S6850 Series:
Table of Contents

Advertisement

system-view
2.
Enter interface view.
Enter Layer 2 Ethernet interface view.
interface interface-type interface-number
Enter Layer 2 aggregate interface view.
interface bridge-aggregation interface-number
3.
Set the link type of the port.
port link-type { hybrid | trunk }
By default, the link type of a port is access.
4.
Assign the port to the original VLANs and the translated VLANs.
Assign the trunk port to the original VLANs and the translated VLANs.
port trunk permit vlan vlan-id-list
By default, a trunk port is assigned to VLAN 1.
Assign the hybrid port to the original VLANs and the translated VLANs as a tagged member.
port hybrid vlan vlan-id-list tagged
By default, a hybrid port is an untagged member of the VLAN to which the port belongs
when its link type is access.
5.
Configure a two-to-two VLAN mapping.
vlan mapping tunnel outer-vlan-id inner-vlan-id translated-vlan
outer-vlan-id inner-vlan-id
By default, no VLAN mapping is configured on an interface.
Display and maintenance commands for VLAN
mapping
Execute display commands in any view.
Task
Display VLAN mapping information.

VLAN mapping configuration examples

Example: Configuring one-to-one and many-to-one VLAN
mapping
Network configuration
As shown in
Each household subscribes to PC, VoD, and VoIP services, and obtains the IP address through
DHCP.
On the home gateways, VLANs 1, 2, and 3 are assigned to PC, VoD, and VoIP traffic,
respectively.
Figure
8:
Command
display vlan mapping [ interface
interface-type interface-number ]
13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents