- What does Load balancing Hash mean in CEF?
- Which commands are use to configure?
- Is it support to other vendors except Cisco?
- If it is not support other vendors? do they have any similar concept?
- Which devices, IOS support for this concept?
What does Load balancing Hash mean in CEF?
The hash is an algorithm that determines which packet takes which path. Typically, it uses the source and destination IP addresses, but you can change which algorithm is used in order to modify the behavior. This is proprietary, so you really do not have the details. CEF has a few algorithms, but you should only change the algorithm with the
ip cef load-sharing algorithm command if you really know what you are doing.
Which commands are use to configure?
You enable CEF with the
ip cef command, and there is an optional
distributed keyword for routers that can distribute it across multiple slots or processors. On the interfaces, you can use the
ip load-sharing per-destination or
ip load-sharing per-packet commands. Per-packet load sharing is not appropriate for everything, and it should only be used if you know that your traffic can handle it, but it will kill real-time traffic, e.g. VoIP.
Is it support to other vendors except Cisco? If it is not support other vendors? do they have any similar concept?
CEF is proprietary to Cisco, but other vendors may (or may not) have their own similar forwarding schemes.
Which devices, IOS support for this concept?
Basically, any Cisco router running IOS 12 or later. CEF was introduced on some routers in some IOS 11 versions.
Cisco has various documents explaining CEF. For example, IP Switching Cisco Express Forwarding Configuration Guide.