[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200810071549.16647.denys@visp.net.lb>
Date: Tue, 7 Oct 2008 15:49:16 +0300
From: Denys Fedoryshchenko <denys@...p.net.lb>
To: Milan Kocian <milon@...cz>
Cc: Patrick McHardy <kaber@...sh.net>,
Ben Greear <greearb@...delatech.com>,
Stephen Hemminger <shemminger@...tta.com>,
netdev@...r.kernel.org
Subject: Re: Could you make vconfig less stupid?
On Tuesday 07 October 2008, Milan Kocian wrote:
> hello,
>
> btw. How can I see vlan id on device ?
> After:
> # ip l a l eth0 type vlan id 100
> # ip a
> I see:
>
> 64: vlan0@...0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
> link/ether 00:16:d3:3e:4e:b9 brd ff:ff:ff:ff:ff:ff
>
> No vlan id in interface name ?
>
> # ip -V
> ip utility, iproute2-ss080725
>
> regards,
Use flag -d
rich ip # ./ip -d l show dev vlan0
31: vlan0@...0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 00:1e:8c:89:78:af brd ff:ff:ff:ff:ff:ff
vlan id 100 <REORDER_HDR>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists