Subject: [iproute2] display vlan configuration

From: "Fabien C." <[email-masked]>
Date: Fri, 06 Jul 2012 01:06:17 +0200

Hello, 

it looks like there is no way to show the vlan configuration with iproute (nor with any other tool apparently). 

This can lead to trouble since : 
 # ip link add link eth0 name eth2.333 type vlan id 444

will create an interface that will show up like this with "ip link show" : 
 51: eth2.333@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN

The only hint we have is the interface name, which may not be related to the vlan id we set earlier. 

Is there any way to get that information? 

Thanks, 
Fabien