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

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.

2 Answers 2

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.