From owner-freebsd-net@FreeBSD.ORG Wed Jan 15 06:02:30 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 BE0A232E; Wed, 15 Jan 2014 06:02:30 +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 132411B10; Wed, 15 Jan 2014 06:02:29 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id 67D5E1294221; Wed, 15 Jan 2014 07:02:27 +0100 (CET) X-Bogosity: Unsure, tests=bogofilter, spamicity=0.455723, version=1.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 9.2836] X-CRM114-CacheID: sfid-20140115_07022_009FB2D7 X-CRM114-Status: Good ( pR: 9.2836 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Wed Jan 15 07:02:27 2014 X-DSPAM-Confidence: 0.9930 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 52d62473997771253676042 X-DSPAM-Factors: 27, From*Attila Nagy , 0.00010, >+the, 0.00081, wrote+>, 0.00189, >+>, 0.00323, >+>, 0.00323, From*Attila, 0.00438, looks+like, 0.00500, wrote, 0.00520, References*fsn.hu>, 0.00583, References*freebsd.org>, 0.00748, The+result, 0.00748, can't+find, 0.00748, Received*online.co.hu+[195.228.243.99]), 0.00872, Received*[195.228.243.99]), 0.00872, Looks, 0.00872, Received*online.co.hu, 0.00872, From*Attila+Nagy, 0.00872, like+>, 0.00872, Received*(japan.t, 0.00872, From*Nagy+ Date: Wed, 15 Jan 2014 07:02:25 +0100 From: Attila Nagy MIME-Version: 1.0 To: John Baldwin , freebsd-net@freebsd.org Subject: Re: Showing CDP info in ifconfig? References: <52D50065.8060907@fsn.hu> <201401141104.40813.jhb@freebsd.org> In-Reply-To: <201401141104.40813.jhb@freebsd.org> 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: Wed, 15 Jan 2014 06:02:30 -0000 On 01/14/14 17:04, John Baldwin wrote: > lladvd (for LLDP) implements this by using the information it gleans to set > the optional description field on an interface. The result looks like: > > igb0: flags=8843 metric 0 mtu 1500 > description: connected to someswitch (eth1/1/3) > ... > cxl0: flags=8843 metric 0 mtu 1500 > description: connected to someotherswitch (Eth3) > ... > Looks great, but I can't find it. Could you please give a pointer? Thanks,