D-Link DGS-3130 Emulator - Page 894
switchport vlan mapping
![]() |
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 894 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline An 802.1Q tunnel port behaves as an UNI port of a service VLAN. The trunk ports which are tagged members of the service VLAN behave as the NNI ports of the service VLAN. Only configure the 802.1Q tunneling Ethernet type on ports that are connected to the provider bridge network, which receives and transmits the service VLAN tagged frames. If the tunnel Ethernet type is configured, the specified value will be the TPID in the outer VLAN tag of the transmitted frames out of this port. The specified TPID is also used to identify the service VLAN tag for the received frame on this port. Example This example shows how to configure the 802.1Q tunneling TPID on ethernet 1/0/1 to 0x88a8. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# dot1q tunneling ethertype 0x88a8 Switch(config-if)# 90-4 switchport vlan mapping This command is used to specify the VLAN translation entry for a trunk port or to specify the service VLAN mapping entry for a dot1q tunnel port. Use the no form of this command to remove the VLAN translation entry or the service VLAN mapping entry. switchport vlan mapping original-vlan ORIGINAL-VLAN [, | -] {[ORIGINAL-INNER-VLAN] resultant-vlan RESULTANT-VLAN [RESULTANT-INNER-VLAN] | dot1q-tunnel DOT1Q-TUNNEL-VLAN} [priority COSVALUE] no switchport vlan mapping original-vlan ORIGINAL-VLAN [, | -] [ORIGINAL-INNER-VLAN] Parameters ORIGINAL-VLAN ORIGINAL-INNER-VLAN RESULTANT-VLAN RESULTANT-INNER-VLAN DOT1Q-TUNNEL-VLAN COS-VALUE , Specifies the original VLAN ID that will be matched for incoming packets. The range is from 1 to 4094. (Optional) Specifies that the original inner VLAN is used to match the inner VID for incoming packets on the trunk mode port. The range is from 1 to 4094. Specifies the translated service VLAN ID. The range is from 1 to 4094. The service VLAN will replace the original VLAN for matched packets. (Optional) Specifies the new inner VLAN that will replace original inner VLAN on trunk mode port. Specifies the service VLAN ID that will be added for matched packets on the dot1q-tunnel mode port. (Optional) Specifies the priority for the rule. If not specified, the priority of the service VLAN tag will be set to 0. (Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No space is allowed before and after the comma. 890
![](/manual_guide/products/dlink-dgs3130-emulator-9c3be7f/894.png)