TL-SG3428MP and VLAN mapping
I have next test stand
PC with vlan20 interface ------> ( port 3 ---- TL-SG3428 ---- port 1 ) <---- UPLINK switch
Next config
#
vlan 15
name "test15"
#
vlan 25
name "MGMT"
#
dot1q-tunnel
dot1q-tunnel mapping
#
interface gigabitEthernet 1/0/1
description "uplink"
switchport general allowed vlan 15,25 tagged
no switchport general allowed vlan 1
switchport dot1q-tunnel mode nni
#
interface gigabitEthernet 1/0/3
description "pc_test"
switchport general allowed vlan 15 tagged
no switchport general allowed vlan 1
switchport dot1q-tunnel mode uni
switchport dot1q-tunnel replace 20 15 "rep20_to15"
#
monitor session 1 source interface gigabitEthernet 1/0/1 both
monitor session 1 destination interface gigabitEthernet 1/0/24
(monitor session for Wireshark on another PC)
I see next situation:
When packet direction from PC to UPLINK
PC vlan20 ----> packet with tag 20 -----> TL-SG3428 replaced tag from 20 to 15 ----> packet with TAG 15 going to UPLINK ----->
When packet direction from UPLINK to PC
UPLINK switch -----> packet with TAG 15 -----> TL-SG3428 didn't replace tag 15 to 20 -----> packet still with TAG 15 going to PC ------>
What have I done wrong?
SW#show int swi g 1/0/3
Port Gi1/0/3:
PVID: 1
Acceptable frame type: All
Ingress Checking: Enable
Member in LAG: N/A
Link Type: General
Member in VLAN:
Vlan Name Egress-rule
---- ----------- -----------
15 test15 Tagged
SW#show mac address-table interface g 1/0/3
MAC Address Table
------------------------------------------------------------
MAC VLAN Port Type Aging
--- ---- ---- ---- -----
00:e0:4c:68:01:87 1 Gi1/0/3 dynamic aging
00:e0:4c:68:01:87 15 Gi1/0/3 dynamic aging
Total MAC Addresses for this criterion: 2
SW#show dot1q-tunnel
VLAN-VPN Mode: Enabled
Mapping Mode: Enabled
SW#show dot1q-tunnel interface
Port Type Tpid Use Inner Priority Miss Drop LAG
------- ------- ------- ------------------ ------------------ ---
Gi1/0/1 NNI 0x8100 Disable Disable N/A
Gi1/0/2 NONE 0x8100 Disable Disable N/A
Gi1/0/3 UNI 0x8100 Disable Disable N/A
Gi1/0/4 NONE 0x8100 Disable Disable N/A
Gi1/0/5 NONE 0x8100 Disable Disable N/A
SW#show dot1q-tunnel mapping
Port C-VLAN SP-VLAN Action Name
-------------- ------ ------- --------- -----------
Gi1/0/3 20 15 replace rep20_to15