Displaying And Maintaining Vlan Mapping; Vlan Mapping Configuration Examples; One-To-One Vlan Mapping Configuration Example - H3C S5560S-EI Series Configuration Manual

Layer 2-lan switching configuration guide
Hide thumbs Also See for S5560S-EI Series:
Table of Contents

Advertisement

Step
4.
Assign the port to the
CVLANs.
5.
Configure the port to allow
packets from the SVLAN to
pass through untagged.
6.
Configure a one-to-two VLAN
mapping.

Displaying and maintaining VLAN mapping

Execute display commands in any view.
Task
Display VLAN mapping information.

VLAN mapping configuration examples

One-to-one VLAN mapping configuration example

Network requirements
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.
To isolate traffic of the same service type from different households, configure one-to-one VLAN
mappings on the wiring-closet switches. This feature assigns one VLAN to each type of traffic from
each household.
Figure
67:
Command
For the trunk port:
port trunk permit vlan
vlan-id-list
For the hybrid port:
port hybrid vlan vlan-id-list
{ tagged | untagged }
For the trunk port:
a. Configure the SVLAN as the
PVID of the trunk port:
port trunk pvid vlan vlan-id
b. Assign the trunk port to the
SVLAN:
port trunk permit vlan
{ vlan-id-list | all }
For the hybrid port:
port hybrid vlan vlan-id-list
untagged
vlan mapping nest { range
vlan-range-list | single vlan-id-list }
nested-vlan vlan-id
Command
display vlan mapping [ interface interface-type interface-number ]
188
Remarks
N/A
N/A
By default, no VLAN mapping
is configured on an interface.
Only one SVLAN tag can be
added to packets from the
same CVLAN. To add
different SVLAN tags to
different CVLAN packets, set
the port link type to hybrid and
repeat this command.

Advertisement

Table of Contents
loading

Table of Contents