From owner-freebsd-net@FreeBSD.ORG Tue Jan 14 09:16:38 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 419EDD84 for ; Tue, 14 Jan 2014 09:16:38 +0000 (UTC) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E0DDD1FEA for ; Tue, 14 Jan 2014 09:16:37 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id 5BA1C12959B1; Tue, 14 Jan 2014 10:16:27 +0100 (CET) X-Bogosity: Unsure, tests=bogofilter, spamicity=0.455051, version=1.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 6.4558] X-CRM114-CacheID: sfid-20140114_10162_360CBF6F X-CRM114-Status: Good ( pR: 6.4558 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Tue Jan 14 10:16:26 2014 X-DSPAM-Confidence: 0.7618 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 52d5006a100956703610498 X-DSPAM-Factors: 27, From*Attila Nagy , 0.00010, From*Attila, 0.00438, inet, 0.00477, this+#, 0.00525, Received*online.co.hu+[195.228.243.99]), 0.00872, Received*[195.228.243.99]), 0.00872, Received*online.co.hu, 0.00872, From*Attila+Nagy, 0.00872, Received*(japan.t, 0.00872, From*Nagy+; Tue, 14 Jan 2014 10:16:25 +0100 (CET) Message-ID: <52D50065.8060907@fsn.hu> Date: Tue, 14 Jan 2014 10:16:21 +0100 From: Attila Nagy MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Showing CDP info in ifconfig? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:16:38 -0000 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).