Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

CEF load sharing question

7204VXR (NPE-G1) c7200-ik9s-mz.123-20.bin

I have 2 default routes and use CEF to load share - I've verified that the traffic is load sharing using Solarwinds.

Why are the packet counters all zero in the output of the show ip cef detail command ?

R01#show ip route 0.0.0.0

Routing entry for 0.0.0.0/0, supernet

Known via "static", distance 1, metric 0, candidate default path

Redistributing via eigrp 100

Advertised by eigrp 100 route-map redistribute_static

Routing Descriptor Blocks:

193.38.171.1

Route metric is 0, traffic share count is 1

* 193.38.171.2

Route metric is 0, traffic share count is 1

R01#show ip cef detail

IP CEF with switching (Table Version 5216396), flags=0x0

1324 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 7

23 instant recursive resolutions, 0 used background process

1324 leaves, 176 nodes, 363384 bytes, 3861253 inserts, 3859929 invalidations

5 load sharing elements, 1680 bytes, 5 references

universal per-destination load sharing algorithm, id 32CC272F

3(0) CEF resets, 1291566 revisions of existing leaves

Resolution Timer: Exponential (currently 1s, peak 1s)

1351539 in-place/0 aborted modifications

refcounts: 47788 leaf, 45312 node

Table epoch: 0 (1324 entries at this epoch)

Adjacency Table has 130 adjacencies

0.0.0.0/0, version 5216346, epoch 0, per-destination sharing

0 packets, 0 bytes

Flow: AS 0, mask 0

via 193.38.171.1, 0 dependencies, recursive

traffic share 1

next hop 193.38.171.1, GigabitEthernet0/2 via 193.38.171.1/32

valid adjacency

via 193.38.171.2, 0 dependencies, recursive

traffic share 1

next hop 193.38.171.2, GigabitEthernet0/2 via 193.38.171.2/32

valid adjacency

0 packets, 0 bytes switched through the prefix

tmstats: external 0 packets, 0 bytes

internal 0 packets, 0 bytes

0.0.0.0/32, version 1, epoch 0, receive

Flow: AS 0, mask 32

2 REPLIES
Cisco Employee

Re: CEF load sharing question

Darren,

Try enabling "ip cef accounting per-prefix" in global configuration mode.

Regards,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

Re: CEF load sharing question

Thank you Mr Ritter - that fixed it.

156
Views
0
Helpful
2
Replies
CreatePlease to create content