On Tue, Dec 22, 2009 at 3:30 AM, Steve Goldthorpe <sun at waistcoat.org.uk> 
wrote:
> We've got a few machines that don't have the correct default-vlan-id set and 
> I'd like to tidy them up.
>
> Can you change the default-vlan-id on an existing vswitch? ?The only way I've 
> found so far is to delete the vswitch and re-create it which is a bit of a 
> pain. ?If not could it be added (delayed reconfig would be OK by me)?
>
> (I'm using Solaris 10 u7/8 & LDoms 1.2).
>
> -Steve Goldthorpe
>
> ? ?vswitch ? ? ( vsw )
> ? ? ? ?add-vswitch [default-vlan-id=<vid>] [pvid=<pvid>] [vid=<vid1,vid2,...>]
> ? ? ? ? ? ? ? ?[mac-addr=<num>] [net-dev=<device>] [mode=<mode>] [mtu=<mtu>]
> ? ? ? ? ? ? ? ?[id=<switchid>] <vswitch_name> <ldom>
> ? ? ? ?set-vswitch [pvid=[<pvid>]] [vid=[<vid1,vid2,...>]] [mac-addr=<num>]
> ? ? ? ? ? ? ? ?[net-dev=<device>] [mode=<mode>] [mtu=[<mtu>]] <vswitch_name>

The answer is given above.

ldm set-vsw pvid=123 <vswitch_name>

> ? ? ? ?remove-vswitch [-f] <vswitch_name>
>
> _______________________________________________
> ldoms-discuss mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
>



-- 
Mike Gerdts
http://mgerdts.blogspot.com/

Reply via email to