Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Change V-lan ID of Outside Interface

Hi, We have installed ASA 5505 in production and the Outside Interface V-lan ID is 2 with IP address

Now I want to change the V-lan ID and assign 100. So is there any command to change the V-lan ID or do i need to create a new one. If i create a newone then what steps need to be taken? Pl advice.


Re: Change V-lan ID of Outside Interface

u need to creat new one

give it ip address in in diffrent subnet than vlan 2 interface

or delete vlan 2 interface and give it the ip address of vlan 2

steps creat the interface name it with nameif give it the security level give it ip

then if u have routing through that interface configure that rotuing

if u have nating implimite the nating

good luck

hope this helps

New Member

Re: Change V-lan ID of Outside Interface

Hi, Thanks for your answer.

Here, I need to change the V-lan ID remotely as its not possible to do this change manually on Hardware, If I use the above commands then is it possible that I lost the connectivity while changing V-lan ID. Pl confirm. Thanks

Re: Change V-lan ID of Outside Interface

If you are doing this remotely are you coming in through the outside interface or are you doing this from a dial in internal connection. If outside I recommend you write out the commands in a text file and then ftp or tftp it to the box.

You would then continue on to do something similar to these commands.

!-----Begin TEXT configuration---

interface Ethernet0/0.2

no vlan 2

no nameif

no ip address

no interface ethernet 0/0.2

interface Ethernet 0/0.x !***replace x with new vlan id

vlan x !***replace x with new vlan id

nameif outside

ip address x.x.x.x x.x.x.x !***replace with appropriate IP address

no shut

!-----END TEXT configuraiton----

I took some assumptions that your existing configuration is using a subinterface. The other option to do it quick and dirty. This would entail telnetting to the device and just typing in vlan x under the outside interface as long as there is an existing sub interface. I haven't actually tried to do this quick and dirty it should work though. If its on the physical interface I'm not sure the command off the top of my head to change the vlan.

Hope this Helps


New Member

Re: Change V-lan ID of Outside Interface

Thanks for your response. First I would try to do this here then move to Production as I can't take any risk without knowing the output. Another question for you: By default V-lan is assigned to Outside Interface, if I change the V-lan ID of outside ID then is it right step to do as scruity concerned and for enhacements or same functionality will remain whether the V-lan ID be set by defauly or manually assigned. Thanks.

Re: Change V-lan ID of Outside Interface

If your worried about the security concerns by haveing it a vlan vs the physical interface I really don't think there is much of one unless you have multiple interfaces setup on the outside physical interface. If its only that that one vlan is on that interface there is not a concern.


FYI. It's much easier to help people when the snippit of your config is refereced even when its been sanitised.