Cool scripts

Has anyone got any cool scripts that do things like:

  • Commenting interfaces based on looking up the hostname of what is connected to a port on Bridge → Hosts
  • Graphical thing that uses Bridge → Hosts to build up a diagram of a network

This should be easy to do, but what with:

  • Client do changes, so interface needs to be updated by a schedule and then interface name would change.
  • What if there are multiple clients? (Switch etc)

Schedule sounds fine. Perhaps comma separated of each host, for a switch. That would show what is going to get disconnected if pulling a wire etc.

For switches downstream like other switches in an office, could we do some kind of lookup on the DHCP by MAC address remotely? Sounds complicated.