4

Is the hold time standardized? Is there a standard or reliable recommendation for a timeout? I am well aware that a SOHO non-managed switch requires a shorter timer than a data-center switch.

That was my starting point:

  • IETF: None specified. RFC 826, An Ethernet Address Resolution Protocol: It may be desirable to have table aging and/or timeouts. The implementation of these is outside the scope of this protocol.

Various platforms, various timers:

  • Microsoft: 2 min. TechNet
  • Cisco IOS (version undefined): 4hr. DocWiki, Cisco NX-OS/IOS Default Configuration Differences
  • Cisco NX-OS: 25 min. (see above)
  • Cisco IOS 15M&T: 4 hours: cisco.com, IP Addressing: ARP Configuration Guide
  • Juniper: 20 min. TechLibrary
3
  • correction: IOS arp table is 4hr. (switch mac-address-table is 5min. 30min for nx-os)
    – Ricky
    Jan 26, 2015 at 22:20
  • What does fibre-channel have to do with this?
    – Ricky
    Jan 26, 2015 at 22:20
  • Removed Fibre-Channel interface, changed it data-center switch. Jan 27, 2015 at 7:10

1 Answer 1

5

You answered yourself. No RFC sets a value. Everyone chooses what they think is reasonable. Older IOS (12) has it hard coded to 4hrs; newer (15) can be changed. Linux can be (annoying) anywhere from 15sec to 2min.

In general, routers hold for long periods because they're likely to continue dealing with that host. Individual hosts (windows, linux, etc.) expire their cache quickly to keep it small, and since they are generally talking to the router constantly, that entry stays fresh.

When talking about switches (layer-2), "ARP" means the management plane, and it's just a host at that level. The layer-2 mac forwarding tables are a different animal. From the provided docwiki MAC Table Aging Timer is 30min for NX-OS and 5min for IOS.

1
  • "When talking about switches (layer-2), "ARP" means the management plane, and it's just a host at that level" Well said. This is so often miss-understood.
    – Eddie
    Jan 27, 2015 at 2:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.