Cisco: Configuration save

Paul L. Allen pla at softflare.com
Tue Feb 3 11:36:50 CET 2004


Jim Mozley writes: 

> I think this will only work on the local LAN, not anything beyond a 
> router.

Depends what he means by VLANs.  Also depends which machine he does it
on.  Even if segments of his network are separated by routers, he has
to have at least one machine on each network segment and therefore he can
login to a machine on a network segment and arp -a. 

Since it appeared that he wanted merely to get the MACs once, that would
do the trick.  I can't think of many reasons why he would want that info,
and even fewer reasons why he would want to do it on a regular basis.  The
one reason I can think of for doing it repeatedly is to tie down an IP
address allocated by DHCP to a particular machine so that you can identify
who is doing what. 

If he needs to do it repeatedly and he has diverse network segments then
things get more difficult to automate, but not impossible.  And whatever
tool he uses will probably have the problem of MAC addresses not passing
beyond their local ethernet segment.  So arp -a and some thought about
remote  command execution is about as good as it gets. 

Maybe there's something in SNMP that lets you get at MACs, maybe not.  That
would get the MACs of machines on remote network segments if it allows it
at all.  I'd prefer to figure out how to use arp -a remotely than try to
dig around in SNMP MIBs. 

-- 
Paul Allen
Softflare Support 




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list