How to change vlan id without destroy and recreate a new vlan
Milan Obuch
freebsd-net at dino.sk
Wed Jan 18 10:25:01 UTC 2012
On Wed, 18 Jan 2012 17:36:04 +0800
"Chen, Kang (NSN - CN/Hangzhou)" <kang.chen at nsn.com> wrote:
> Hello,
>
> As you know, if I want to create a new vlan interface face, I can use
> the following command:
> ifconfig vlan0 vlan 101 vlandev fxp0
> My question is, if I want to change the vlan id 101 to 202, if there
> anyway to do this without destroy it and recreate?
>
Hi,
I did it sometimes with following command sequence:
ifconfig vlan0 -vlandev fxp0
ifconfig vlan0 vlan 202 vlandev fxp0
(writing off top of my head, but generally that's just it)
Regards,
Milan
More information about the freebsd-net
mailing list