162
[PE4] interface hundredgige 1/0/1
[PE4-HundredGigE1/0/1] port link-type trunk
# Assign HundredGigE 1/0/1 to VLAN 200.
[PE4-HundredGigE1/0/1] port trunk permit vlan 200
[PE4-HundredGigE1/0/1] quit
# Configure the customer-side port (HundredGigE 1/0/2) as a hybrid port.
[PE4] interface hundredgige 1/0/2
[PE4-HundredGigE1/0/2] port link-type hybrid
# Assign HundredGigE 1/0/2 to VLAN 6 as a tagged member.
[PE4-HundredGigE1/0/2] port hybrid vlan 6 tagged
# Assign HundredGigE 1/0/2 to VLAN 200 as an untagged member.
[PE4-HundredGigE1/0/2] port hybrid vlan 200 untagged
# Configure a one-to-two VLAN mapping on HundredGigE 1/0/2 to add SVLAN tag 200 to
packets from VLAN 6.
[PE4-HundredGigE1/0/2] vlan mapping nest single 6 nested-vlan 200
[PE4-HundredGigE1/0/2] quit
Verifying the configuration
# Verify VLAN mapping information on PE 1.
[PE1] display vlan mapping
Interface HundredGigE1/0/1:
Outer VLAN Inner VLAN Translated Outer VLAN Translated Inner VLAN
5 N/A 100 5
# Verify VLAN mapping information on PE 3.
[PE3] display vlan mapping
Interface HundredGigE1/0/1:
Outer VLAN Inner VLAN Translated Outer VLAN Translated Inner VLAN
100 5 200 6
# Verify VLAN mapping information on PE 4.
[PE4] display vlan mapping
Interface HundredGigE1/0/2:
Outer VLAN Inner VLAN Translated Outer VLAN Translated Inner VLAN
6 N/A 200 6