D-Link DXS-3600 Series Reference Manual page 1214

Dxs-3600 series layer 2/3 managed 10gigabit ethernet switch
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
109-10
switchport vlan mapping profile
This command is used to apply the VLAN mapping rules of a profile to the specified interface. Use the no
form of the command to remove the association.
switchport vlan mapping profile PROFILE-ID
no switchport vlan mapping profile PROFILE-ID
Parameters
PROFILE-ID
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to apply the VLAN mapping profile to the specified interface. The interface can be a
physical port or a port-channel interface which is set to the dot1q tunnel mode.
If a profile is applied on an interface, the switch tests the incoming packets according to the rules of the
profile. If the packets match a rule, the action of the rule will be taken.
Setting the port to a mode other than the dot1q-tunnel mode will lead to the VLAN mapping profile
configuration to be removed.
Example
This example shows how to configure a VLAN mapping profile and apply it to the 802.1Q tunnel port 1.
The customer packets that come from 100.1.1.0/24 will be added to S-VLAN 100 and the packets that go
to 200.1.1.0/24 will be added to S-VLAN 200.
Switch# configure terminal
Switch(config)# vlan mapping profile 1 type ip
Switch(config-vlan-map)# rule 10 match src-ip 100.1.1.0/24 dot1q-tunnel outer-vid 100
Switch(config-vlan-map)# rule 20 match dst-ip 200.1.1.0/24 dot1q-tunnel outer-vid 200
Switch(config-vlan-map)# exit
Switch(config)# interface eth1/0/1
Switch(config-if)# switchport vlan mapping profile 1
Switch(config-if)#
109-11
show dot1q ethertype
This command is used to display TPID settings.
show dot1q ethertype [INTERFACE-ID [- | ,]]
(Optional) Specifies the ID of the VLAN mapping profile.
1214

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-3600-32s

Table of Contents