Re: [PATCH] CDP handler for linux

Bjoern A. Zeeb (bzeeb+linuxkernel@zabbadoz.net)
Tue, 14 Aug 2001 23:07:44 +0200 (CEST)


On Tue, 14 Aug 2001, Chris Crowther wrote:

> Hmm, looking at CDP there isn't really any reason to put it in
> userspace either, it doesn't need to be configured, it doesn't pass

That's wrong:

cisco-switch(config)#cdp ?
advertise-v2 CDP sends version-2 advertisements
holdtime Specify the holdtime (in sec) to be sent in packets
timer Specify the rate at which CDP packets are sent (in sec)
run

it can be enabled/disables on a per interface base.

There are also some different output possibilitites on cisco:
sh cdp
and:
sh cdp run
sh cdp timer
sh cdp traffic
and (no the interesting parts within here):
sh cdp neigh <detail>
sh cdp entry <*> <WORD>
sh cdp interface ..

> at the neighbor summary. I can't see any real advantages of running it as
> a daemon as opposed to a kernel component.

portability ? linux is not the only OS in world. Think about running
on *BSD, Solaris, AIX, HPUX, ...

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/