Showing CDP info in ifconfig?
Attila Nagy
bra at fsn.hu
Tue Jan 14 09:53:06 UTC 2014
On 01/14/14 10:31, Bjoern A. Zeeb wrote:
> On 14 Jan 2014, at 09:16 , Attila Nagy <bra at fsn.hu> wrote:
>
>> Hi,
>>
>> Anybody thought about how useful would be showing CDP info in ifconfig output?
> No. Neither would lldp or other protocols. That’s what a higher level management user interface is for. I’d 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’ll end up with ndp, ospf, isis, bgp, ipsec, and the apache, varnish, and squid status there as well.
>
I'm not sure how this could be done efficiently, without any ill
effects, but yes, it's likely that doing it in userspace is a safer way.
With CDP you have to capture just one packet, parse it and update the
values, with some of the examples, this is not the case. :)
But I got the point.
More information about the freebsd-net
mailing list