23 February, 2017

CEF

Packets that CEF cannot handle: 
- IP Header Options
- Expiring TTL 
- Tunnel int
- Exceed MTU 
- IGMP Redirect

Load Balancing Options
 
- Per-Packets
- Per-Dessession (Session)



IOU1(config)#ip cef load-sharing algorithm universal

CLIENT#traceroute 8.8.8.8 probe 10
Type escape sequence to abort.
Tracing the route to 8.8.8.8
VRF info: (vrf in name/id, vrf out name/id)
  1 1.1.1.1 5 msec 4 msec 1 msec 5 msec 4 msec 9 msec 5 msec 0 msec 2 msec 1 msec
  2 10.12.0.2 9 msec 10 msec 9 msec 9 msec 9 msec 9 msec 9 msec 30 msec 9 msec 9 msec
  3 10.24.0.4 18 msec 17 msec 23 msec 14 msec 17 msec 18 msec 18 msec 17 msec 17 msec 13 msec
  4 10.48.0.8 27 msec 27 msec 26 msec 26 msec 25 msec 26 msec 25 msec 28 msec 26 msec 25 msec
  

IOU1(config)#do show ip cef 8.8.8.8 255.255.255.255 internal
8.8.8.8/32, epoch 0, RIB[I], refcount 5, per-destination sharing
  sources: RIB
  feature space:
   IPRM: 0x00028000
  ifnums:
   Serial2/0(11)
   Serial2/1(12)
  path B1F3A7D8, path list B309782C, share 1/1, type attached nexthop, for IPv4
  nexthop 10.12.0.2 Serial2/0, adjacency IP adj out of Serial2/0 B4F0C268
  path B1F3A848, path list B309782C, share 0/1, type attached nexthop, for IPv4
  nexthop 10.13.0.3 Serial2/1, adjacency IP adj out of Serial2/1 B4F0C138
  output chain:
    loadinfo B22C790C, per-session, 2 choices, flags 0083, 5 locks
    flags: Per-session, for-rx-IPv4, 2buckets
    2 hash buckets
      < 0 > IP adj out of Serial2/0 B4F0C268
      < 1 > IP adj out of Serial2/1 B4F0C138
    Subblocks:
     None


IOU1(config)#ip cef load-sharing algorithm include-ports destination

CLIENT#traceroute 8.8.8.8 probe 10
Type escape sequence to abort.
Tracing the route to 8.8.8.8
VRF info: (vrf in name/id, vrf out name/id)
  1 1.1.1.1 5 msec 5 msec 4 msec 5 msec 5 msec 5 msec 4 msec 4 msec 4 msec 6 msec
  2 10.13.0.3 6 msec
    10.12.0.2 9 msec 8 msec 9 msec 8 msec 8 msec
    10.13.0.3 9 msec
    10.12.0.2 8 msec 8 msec 11 msec
  3 10.36.0.6 17 msec
    10.24.0.4 17 msec 18 msec 17 msec 17 msec
    10.36.0.6 17 msec 14 msec
    10.24.0.4 18 msec 18 msec 17 msec
  4 10.48.0.8 27 msec 26 msec
    10.68.0.8 27 msec
    10.48.0.8 25 msec 26 msec 27 msec
    10.68.0.8 26 msec
    10.48.0.8 25 msec 26 msec 26 msec
 

IOU1#show rib client
Client name          Handle     WalkQ  WalkQ by Owner
IP Static Route        1          0      0
IP Static Default Ne   2          0      0
App Route              3          0      0