How to change a vlan ID?

I got info comming in vlan X and that same info I need to forward it as Vlan Y.
Vlan X is comming from external provider and I seem to have the same Vlan X already in use in my internal network. For me would be too difficult to change Vlan X in my internal network.

Thanks
netlachAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Don JohnstonInstructorCommented:
Unless you're trunking, the VLAN ID is not relevant. It's locally significant. Or put another way, when the frame arrives at your switch, there is no VLAN ID on the frame.

Now if the incoming link is a trunk link, then you'll have to change your internal VLAN number.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
larsgaCommented:
What equipment are you using? Higher end provider gear (like Cisco 7600 f.ex.) can do VLAN translation.

If you don't have a switch that can handle VLAN translation, then you might take the VLAN traffic from outside and send it out an access port (in effect removing the VLAN ID) and then take it in an access port that is a member of the VLAN ID that you want to translate it to.
0
killasktoCommented:
What you can do is: plug the cable of your external provider( VLAN X ) in a port with just access to VLAN Y, and you don't need extra configurations.
0
netlachAuthor Commented:
Your Switch A has a  provider  connected  in int Gig9/17. This  provider sends you  data  in  multiple vlans, lets say vlan 10, 11, 12,13, 14 y 15. But  you  are  using  this  Vans  IDs as  well  in your network.
What  you  can do is  "mapping"  the  Vlans  to other numbers. Interface  configuration  would look like this:

int Gigt9/17
 description Provider_MultiVlan
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10-15,310-315
 switchport mode trunk
 switchport nonegotiate
 switchport vlan mapping enable
 switchport vlan mapping 10 310
 switchport vlan mapping 11 311
 switchport vlan mapping 12 312
 switchport vlan mapping 13 313
 switchport vlan mapping 14 314
 switchport vlan mapping 15 315
  no ip address
 load-interval 30
 no cdp enable

You  need  to  create   all vlans first.
Then   to  get the provider's traffic coming  in Vlan 10, config  a  port  in your  switch  to  be in vlan 310 and  so on.
Ex:

interface GigabitEthernet1/8
 description ServerGettingProviderTraffic Vlan 10
 switchport
 switchport access vlan 310
 switchport nonegotiate
 no ip address
 speed 1000
 duplex full
 spanning-tree portfast

I hope  this  helps you.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Operations

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.