From owner-freebsd-net@FreeBSD.ORG Tue Jan 14 09:29:26 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 1B71D3C5 for ; Tue, 14 Jan 2014 09:29:26 +0000 (UTC) Received: from quix.smartspb.net (quix.smartspb.net [217.119.16.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC4C41109 for ; Tue, 14 Jan 2014 09:29:25 +0000 (UTC) Received: from dyr.smartspb.net ([217.119.16.26] helo=[127.0.0.1]) by quix.smartspb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.61 (FreeBSD)) (envelope-from ) id 1W30JI-00011K-9f for freebsd-net@freebsd.org; Tue, 14 Jan 2014 13:29:24 +0400 Message-ID: <52D50371.8000705@smartspb.net> Date: Tue, 14 Jan 2014 13:29:21 +0400 From: Dennis Yusupoff User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: Showing CDP info in ifconfig? References: <52D50065.8060907@fsn.hu> In-Reply-To: <52D50065.8060907@fsn.hu> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 140113-1, 14.01.2014), Outbound message X-Antivirus-Status: Clean 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:29:26 -0000 Only in case of additional command argument. And why proprietary CDP but not LLDP? 14.01.2014 13:16, Attila Nagy пишет: > Hi, > > Anybody thought about how useful would be showing CDP info in ifconfig > output? > > Something like this: > # ifconfig igb2 > igb2: flags=8843 metric 0 mtu > 1500 > options=401bb > > 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=29 > media: Ethernet autoselect (1000baseT ) > status: active > neighbor id: DP1106-A05-11-N5K(SSI3235613KZ) > neighbor ip: 172.28.2.24 > neighborport-id: Ethernet109/1/47 > > 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" > > -- Best regards, Dennis Yusupoff, network engineer of Smart-Telecom ISP Russia, Saint-Petersburg