From owner-freebsd-net@FreeBSD.ORG Tue Jan 14 09:32:09 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EBEA48A for ; Tue, 14 Jan 2014 09:32:09 +0000 (UTC) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 21C4F1184 for ; Tue, 14 Jan 2014 09:32:08 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 86F1725D3892; Tue, 14 Jan 2014 09:32:06 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 8A132C22C53; Tue, 14 Jan 2014 09:32:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id CW7irhEAGJKa; Tue, 14 Jan 2014 09:32:03 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4410:e9aa:93d8:3e34:3fa2] (unknown [IPv6:fde9:577b:c1a9:4410:e9aa:93d8:3e34:3fa2]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 836A8C22C11; Tue, 14 Jan 2014 09:32:01 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Showing CDP info in ifconfig? From: "Bjoern A. Zeeb" In-Reply-To: <52D50065.8060907@fsn.hu> Date: Tue, 14 Jan 2014 09:31:40 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <52D50065.8060907@fsn.hu> To: Attila Nagy X-Mailer: Apple Mail (2.1827) Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 09:32:09 -0000 On 14 Jan 2014, at 09:16 , Attila Nagy wrote: > Hi, >=20 > Anybody thought about how useful would be showing CDP info in ifconfig = output? No. Neither would lldp or other protocols. That=92s what a higher = level management user interface is for. I=92d be happy to finally see = someone do this in an abstracted way so it could be a cli, a Web = interface, or some xml-rpc thingy or whatever is the standard of the = day. ifconfig is not the place, especially since it would have to query a = daemon running somewhere else anyway. Otherwise we=92ll end up with = ndp, ospf, isis, bgp, ipsec, and the apache, varnish, and squid status = there as well. Just my 2cts. > Something like this: > # ifconfig igb2 > igb2: flags=3D8843 metric 0 = mtu 1500 > = options=3D401bb > ether ac:16:2d:9a:18:ce > inet6 fe80::ae16:2dff:fe9a:18ce%igb2 prefixlen 64 tentative = scopeid 0x3 > inet 10.0.2.2 netmask 0xffffff00 broadcast 10.0.2.255 > nd6 options=3D29 > media: Ethernet autoselect (1000baseT ) > status: active > neighbor id: DP1106-A05-11-N5K(SSI3235613KZ) > neighbor ip: 172.28.2.24 > neighborport-id: Ethernet109/1/47 >=20 > And maybe some other info (like VLAN tags, MTU etc). > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" =97=20 Bjoern A. Zeeb ????????? ??? ??????? ??????: '??? ??? ???? ?????? ??????? ?? ?? ??????? ??????? ??? ????? ????? ???? ?????? ?? ????? ????', ????????? ?????????, "??? ????? ?? ?????", ?.???