shell: Suport for VLANs

Fixes #1007
Closes #1009
Reviewed-by: Stef Walter <stefw@redhat.com>