netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Fabien C." <kczy1jafrl3jpq1@jetable.org>
To: netdev@vger.kernel.org
Subject: [iproute2] display vlan configuration
Date: Fri, 06 Jul 2012 01:06:17 +0200	[thread overview]
Message-ID: <4FF61DE9.7000507@jetable.org> (raw)

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 

             reply	other threads:[~2012-07-05 23:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05 23:06 Fabien C. [this message]
2012-07-05 23:20 ` [iproute2] display vlan configuration John Fastabend
2012-07-07 16:03   ` Fabien C.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FF61DE9.7000507@jetable.org \
    --to=kczy1jafrl3jpq1@jetable.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).