Qtech QSW-2910-09T-POE-AC/DC [56/212] Vlan translate

Qtech QSW-2910-09T-POE-AC/DC [56/212] Vlan translate
+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
56
Configure protocol-based VLAN entry, the frame type is Ethernet II, ethernet type is 0x900.
Add VID=5 tag to untagged packets ingress from port 4
QTECH(config)# vlan-protocol table index 0 ethertype 900 protocol
ethernetv2
QTECH(config)#interface ethernet 0/0/4
QTECH(config-if-ethernet-0/0/4)#vlan-protocol table index 0 vlan 5
QTECH(config-if-ethernet-0/0/4)#vlan-protocol
3.8.3 VLAN translate
VLAN translate can be divided into ingress and egress part.
Configure VLAN translate:
Configure it in global configuration mode
vlan-translate { ingress | egress } table <startvid> <endvid> <new vid>
no vlan-translate { ingress | egress } table [<startvid> <endvid>]
Enable VLAN translate:
Configure it in interface configuration mode
[no] vlan-translate { ingress | egress }
For example:
!Translate packet which ingress from port 4 VID 5 to be 8
QTECH(config)#vlan-translate ingress table 5 5 8
QTECH(config)#interface ethernet 0/0/4
QTECH(config-if-ethernet-0/0/4)#vlan-translate ingress
3.8.4 N:1 VLAN
N:1 VLAN is used for: user A, B and C uses VLAN A, B and C. But uplink server uses VLAN D.
So uplink data should translate VLAN A,B,C to be VLAN D; downlink data should translate
VLAN D to be VLAN A,B,C.
Uplink data translate uses vlan-translate egress; downlink data translate can:
1. static configuration: use acl to do VLAN translate according to user's mac and ip;
2. dynamic configuration: enable N:1VLAN of DHCP SNOOPING to get VLAN auto-match;
For example:
!Configure QinQ global TPID to be 0x88a8
QTECH(config)dtag outer-tpid 88A8

Содержание

Скачать