The following
examples show how to configure Layer 3
and Layer 4
load-balancing for the hash algorithm from the
cef
load-balancing fields
command, and how to verify summary information for the
CEF table from the
show cef
summary
command:
Configuring Layer 3
load-balancing
configure
cef load-balancing fields L3
end
!
show cef summary
Router ID is 10.6.6.6
IP CEF with switching (Table Version 0) for node0_RP0_CPU0
Load balancing: L3
Tableid 0xe0000000 (0x9cbb51b0), Flags 0x2031
Refcount 577
300 routes, 0 protected, 0 reresolve, 0 unresolved (0 old, 0 new), 21600 bytes
212 load sharing elements, 62576 bytes, 324 references
19 shared load sharing elements, 5388 bytes
193 exclusive load sharing elements, 57188 bytes
0 route delete cache elements
622 local route bufs received, 1 remote route bufs received, 0 mix bufs received
176 local routes, 0 remote routes
4096 total local route updates processed
0 total remote route updates processed
0 pkts pre-routed to cust card
0 pkts received from core card
0 CEF route update drops, 96 revisions of existing leaves
0 CEF route update drops due to version mis-match
Resolution Timer: 15s
0 prefixes modified in place
0 deleted stale prefixes
82 prefixes with label imposition, 107 prefixes with label information
95 next hops
0 incomplete next hops
0 PD backwalks on LDIs with backup path
Configuring Layer 4
load-balancing
Router ID is 1.10.10.10
IP CEF with switching (Table Version 0) for node0_RP0_CPU0
Load balancing: L4
Tableid 0xe0000000 (0x89bba258), Flags 0x2031
Refcount 16
5 routes, 0 protected, 0 reresolve, 0 unresolved (0 old, 0 new), 680 bytes
5 load sharing elements, 1860 bytes, 0 references
0 shared load sharing elements, 0 bytes
5 exclusive load sharing elements, 1860 bytes
0 route delete cache elements
0 local route bufs received, 1 remote route bufs received, 0 mix bufs received
0 local routes, 0 remote routes
0 total local route updates processed
0 total remote route updates processed
0 pkts pre-routed to cust card
0 pkts received from core card
0 CEF route update drops, 0 revisions of existing leaves
0 CEF route update drops due to version mis-match
Resolution Timer: 15s
0 prefixes modified in place
0 deleted stale prefixes
0 prefixes with label imposition, 0 prefixes with label information
0 next hops
0 incomplete next hops
0 PD backwalks on LDIs with backup path