VLAN Mapping Cisco Switch Configuration | GPON Solution

VLAN Mapping Cisco Switch Configuration

VLAN Mapping Cisco Switch Configuration:

Today i will show you how to configure VLAN mapping cisco switch.

Here we Map Vlan 10 to VLAN 20 in Gigabit Ethernet port 0/1:

Switch# configure terminal
Switch(config)# interface gigabitethernet 0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport vlan mapping 10 20
Switch(config-if)# switchport vlan mapping 11 21
Switch(config-if)# switchport vlan mapping 12 22
Switch(config-if)# switchport vlan mapping drop default
Switch(config-if)# end
Switch#

So all incoming Vlan 10 of gi0/1 interface is Converted/Translated to Vlan 20. same way Vlan 11, 12 mapping with 21, 22.

VLAN mapping cisco switch

VLAN mapping cisco switch

How to verify the configuration:

Switch# show vlan mapping
or
Switch# show interface gigabitethernet 0/1 vlan mapping

State: enabled

Original VLAN    Translated VLAN
—————-    ——————–

10                                   20

How to enable VLAN translation on a port:

Please follow bellow example:

Switch# configure terminal
Switch(config)# interface gigabitethernet 0/1
Switch(config-if)# switchport vlan mapping enable
Switch(config-if)# end
Switch#

Enable VLAN translation on a port

Enable VLAN translation on a port

email

Shahed

Hi! I am Shahed. I currently work as a Sr. Network Engineer. I want to build up my carrier in Networking field.

Follow Me:
TwitterFacebookLinkedInPinterestGoogle PlusDiggYouTubeRedditDelicious

VLAN Mapping Cisco Switch Configuration was last modified: October 26th, 2015 by Shahed

Comments

comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

error: Content is protected !!