Date: Wed, 18 Jan 2012 11:14:45 +0100 From: Milan Obuch <freebsd-net@dino.sk> To: freebsd-net@freebsd.org Subject: Re: How to change vlan id without destroy and recreate a new vlan Message-ID: <20120118111445.7c131376@atom.dino.sk> In-Reply-To: <4E06CB69D1F4FE48911C9CAB689E2B01025F8219@CNBEEXC006.nsn-intra.net> References: <20120117190847.GA1255@tiny> <4E06CB69D1F4FE48911C9CAB689E2B01025F8219@CNBEEXC006.nsn-intra.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Jan 2012 17:36:04 +0800 "Chen, Kang (NSN - CN/Hangzhou)" <kang.chen@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120118111445.7c131376>