Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The command: show mac address-table gives me me mac address info i like. I'm trying to figure out to get this to dump to a server once a month as a text file. Each time it would dump, the previous file would be overwritten with the new one. Lets say the switch is and computer is Do I need to setup TFTP or SNMP? Could this even be done?

share|improve this question

migrated from Oct 23 '12 at 14:44

This question came from our site for professional and enthusiast programmers.

You could use Kiwi cat tools to schedule running the command and log the output to a file

share|improve this answer

Check if your switch supports the redirect command

Show mac address-table | redirect tftp://

If that is supported you could write a kron to do it monthly ( assuming the switch supports kron )

The kron syntax here might not be exact

Kron policy 1 Cli Show mac address-table | redirect tftp://

Kron schedule 1 in 24 recurring

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.