Configuring Two-To-Two Vlan Mapping; Displaying And Maintaining Vlan Mapping; Vlan Mapping Configuration Examples; One-To-One And Many-To-One Vlan Mapping Configuration Example - HPE FlexFabric 5940 Series Configuration Manual

Layer 2 - lan switching
Hide thumbs Also See for FlexFabric 5940 Series:
Table of Contents

Advertisement

Configuring two-to-two VLAN mapping

Configure two-to-two VLAN mapping on the customer-side port of an edge device that connects two
SP networks, for example, on PE 3 in
different VLANs to communicate at Layer 2 across two service provider networks that use different
VLAN assignment schemes.
Before you configure two-to-two VLAN mapping, create the original VLANs and the translated
VLANs.
To configure two-to-two VLAN mapping:
Step
Enter system view.
1.
Enter Layer 2 Ethernet
2.
interface view or Layer 2
aggregate interface view.
Set the link type of the port.
3.
Assign the port to the original
4.
VLANs and the translated
VLANs.
Configure a two-to-two VLAN
5.
mapping.

Displaying and maintaining VLAN mapping

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

VLAN mapping configuration examples

One-to-one and many-to-one VLAN mapping configuration
example
Network requirements
As shown in
Figure
81:
Figure
75. Two-to-two VLAN mapping enables two sites in
Command
system-view
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
Set the port link type to trunk:
port link-type trunk
Set the port link type to hybrid:
port link-type hybrid
For the trunk port:
port trunk permit vlan
vlan-id-list
For the hybrid port:
port hybrid vlan vlan-id-list
tagged
vlan mapping tunnel outer-vlan-id
inner-vlan-id translated-vlan
outer-vlan-id inner-vlan-id
Command
display vlan mapping [ interface interface-type interface-number ]
245
Remarks
N/A
N/A
By default, the link type of a
port is access.
N/A
By default, no VLAN mapping
is configured on an interface.

Advertisement

Table of Contents
loading

Table of Contents