208
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
•
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
N/A
3.
Configure the link type of the
port as hybrid.
port link-type hybrid
By default, the link type of a
port is
access
.
4.
Assign the port to the
CVLANs.
port hybrid vlan vlan-id-list
{
tagged
|
untagged
}
By default, a hybrid port is an
untagged member of the
VLAN to which the port
belongs when its link type is
access
.
5.
Assign the port to the
SVLANs as an untagged
member.
port hybrid
vlan
vlan-id-list
untagged
By default, a hybrid port is an
untagged member of the
VLAN to which the port
belongs when its link type is
access
.
6.
Configure a one-to-two VLAN
mapping.
vlan mapping nest
{
range
vlan-range-list
|
single vlan-id-list
}
nested-vlan
vlan-id
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,
execute this command
multiple times.
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
. Two-to-two VLAN mapping enables two sites 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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
•
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
N/A
Содержание H3C S7500E-X
Страница 70: ...57 ...