3com S7906E インストール手順
1-24
Network diagram
Figure 1-3 Network diagram for one-to-two/two-to-two VLAN mapping configuration
SP 2
VPN 1
VLAN 10
VLAN
10/100
VLAN
10/200
VLAN
30/200
30/200
SP 1
VLAN
30/200
GE2/0/1
Device B
GE2/0/2
GE2/0/1
GE2/0/2
GE2/0/2
GE2/0/1
Device C
Device D
Device A
GE2/0/1
VPN 1
VLAN 30
GE2/0/2
VLAN
10/100
VLAN
10/100
Configuration procedure
1) Configuration on Device A
# Configure an uplink policy nest to add outer VLAN tag 100 to the traffic tagged with VLAN 10.
<DeviceA> system-view
[DeviceA] traffic classifier nest
[DeviceA-classifier-nest] if-match customer-vlan-id 10
[DeviceA-classifier-nest] quit
[DeviceA] traffic behavior nest
[DeviceA-behavior-nest] nest top-most vlan-id 100
[DeviceA-behavior-nest] quit
[DeviceA] qos policy nest
[DeviceA-qospolicy-nest] classifier nest behavior nest
[DeviceA-qospolicy-nest] quit
# Configure GigabitEthernet 2/0/1 to forward the traffic of VLAN 100 with the outer VLAN tag removed.
[DeviceA] interface gigabitethernet 2/0/1
[DeviceA-GigabitEthernet2/0/1] port link-type hybrid
[DeviceA-GigabitEthernet2/0/1] port hybrid vlan 100 untagged
# Enable basic QinQ on GigabitEthernet 2/0/1.
[DeviceA-GigabitEthernet2/0/1] qinq enable
# Apply the uplink policy nest to the inbound direction of GigabitEthernet 2/0/1.
[DeviceA-GigabitEthernet2/0/1] qos apply policy nest inbound
[DeviceA-GigabitEthernet2/0/1] quit
# Configure the uplink port GigabitEthernet 2/0/2 to permit frames of VLAN 100 to pass through.
[DeviceA] interface gigabitethernet 2/0/2
[DeviceA-GigabitEthernet2/0/2] port link-type trunk
[DeviceA-GigabitEthernet2/0/2] port trunk permit vlan 100
2) Configuration on Device B