Examples
The following
sample output is from the
show cef ipv4
hardware command:
RP/0/RP0/CPU0:router# sh cef ipv4 hardware egress detail location 0/6/CPU0
0.0.0.0/0, version 0, proxy default, default route handler, drop adjacency,
internal 0x1001011 0x0 (ptr 0x887e40a8) [1], 0x0 (0x88772098), 0x0 (0x0)
Updated Dec 20 22:22:08.311
Prefix Len 0, traffic index 0, precedence n/a, priority 15
gateway array (0x88534098) reference count 1, flags 0x200, source default (12), 0 backups
[2 type 3 flags 0xa401 (0x885db098) ext 0x0 (0x0)]
LW-LDI[type=3, refc=1, ptr=0x88772098, sh-ldi=0x885db098]
gateway array update type-time 1 Dec 20 22:22:08.311
LDI Update time Dec 20 22:22:08.327
LW-LDI-TS Dec 20 22:22:08.337
via 0.0.0.0/32, 3 dependencies, weight 0, class 0 [flags 0x0]
path-idx 0 NHID 0x0 [0x8778d3c8 0x0]
next hop 0.0.0.0/32
drop adjacency
LEAF - HAL pd context :
sub-type : IPV4, ecd_marked:0, has_collapsed_ldi:0
collapse_bwalk_required:0, ecdv2_marked:0
HW Walk:
LEAF:
Handle: 0x88c40098 type: 0 FEC handle: 0x8894d098
LWLDI:
PI:0x88772098 PD:0x887720d8 rev:1 p-rev:0 ldi type:3
FEC hdl: 0x8894d098 fec index: 0x0(0) num paths:1, bkup: 0
SHLDI:
PI:0x885db098 PD:0x885db118 rev:0 p-rev:0 flag:0x0
FEC hdl: 0x8894d098 fec index: 0x20001001(4097) num paths: 1 bkup paths: 0
Path:0 fec index: 0x20001001(4097) DSP:0x16033037
SP-NHINFO:
PD: 0x8778d438, Trap Port: 0x16033037, Trap handle: (nil), npu_mask: 3f
Load distribution: 0 (refcount 2)
Hash OK Interface Address
0 Y Unknown drop
0.0.0.0/32, version 0, broadcast
Updated Dec 20 22:22:08.365
Prefix Len 32
LEAF - HAL pd context :
sub-type : IPV4, ecd_marked:0, has_collapsed_ldi:0
collapse_bwalk_required:0, ecdv2_marked:0
HW Walk:
LEAF:
Handle: 0x88c404d8 type: 0 FEC handle: 0x88957fe8
LWLDI:
PI:0x887723e8 PD:0x88772428 rev:11 p-rev:8 ldi type:3
FEC hdl: 0x88957fe8 fec index: 0x0(0) num paths:1, bkup: 0
SHLDI:
PI:0x885dc478 PD:0x885dc4f8 rev:8 p-rev:0 flag:0x0
FEC hdl: 0x88957fe8 fec index: 0x20001004(4100) num paths: 1 bkup paths: 0
Path:0 fec index: 0x20001004(4100) DSP:0x16033037
SP-NHINFO:
PD: 0x8778d548, Trap Port: 0x16033037, Trap handle: (nil), npu_mask: 3f
1.75.55.1/32, version 11, internal 0x1000001 0x0 (ptr 0x887e4d50) [1], 0x0 (0x0), 0x0 (0x0)
Updated Dec 20 22:22:24.596
Prefix Len 32, traffic index 0, precedence n/a, priority 3
gateway array (0x88534de0) reference count 3, flags 0x4010, source rib (7), 0 backups
[1 type 3 flags 0x48501 (0x885e45a8) ext 0x0 (0x0)]
LW-LDI[type=0, refc=0, ptr=0x0, sh-ldi=0x0]
gateway array update type-time 1 Dec 20 22:22:24.594
LDI Update time Dec 20 22:22:24.727
via 1.76.0.1/32, 2 dependencies, recursive [flags 0x0]
path-idx 0 NHID 0x0 [0x887e4c78 0x0]
next hop 1.76.0.1/32 via 1.76.0.1/32
LEAF - HAL pd context :
sub-type : IPV4, ecd_marked:0, has_collapsed_ldi:0
collapse_bwalk_required:0, ecdv2_marked:0
HW Walk:
LEAF:
Handle: 0x88c42078 type: 0 FEC handle: 0x88999bc8
REC-SHLDI HAL PD context :
ecd_marked:0, collapse_bwalk_required:0, load_shared_lb:0
RSHLDI:
PI:0x0x885e45a8 PD:0x0x885e4624 rev:0 p-rev:0 flag:0x1
FEC hdl: 0x88999bc8 fec index: 0x20001012(4114) num paths: 1
Path:0 fec index: 0x20001012(4114) DSP:0x16033036
MPLS Encap Handle: (nil) LL Encap Handle: (nil)
TX-NHINFO: INCOMPLETE
Trap Port: 0x16033036 npu_mask: 0
Load distribution: 0 (refcount 1)
Hash OK Interface Address
0 Y MgmtEth0/RP0/CPU0/0 1.76.0.1
1.76.0.0/16, version 8, attached, connected, glean adjacency,
internal 0x3000061 0x0 (ptr 0x887e49f0) [1], 0x0 (0x88773cc0), 0x0 (0x0)
Updated Dec 20 22:22:23.985
Prefix Len 16, traffic index 0, precedence n/a, priority 0
gateway array (0x88534b88) reference count 1, flags 0x0, source rib (7), 0 backups
[2 type 3 flags 0x8401 (0x885e1de8) ext 0x0 (0x0)]
LW-LDI[type=3, refc=1, ptr=0x88773cc0, sh-ldi=0x885e1de8]
gateway array update type-time 1 Dec 20 22:22:23.986
LDI Update time Dec 20 22:22:23.986
LW-LDI-TS Dec 20 22:22:24.179
via MgmtEth0/RP0/CPU0/0, 2 dependencies, weight 0, class 0 [flags 0x8]
path-idx 0 NHID 0x0 [0x8778e3b8 0x0]
glean adjacency
LEAF - HAL pd context :
sub-type : IPV4, ecd_marked:0, has_collapsed_ldi:0
collapse_bwalk_required:0, ecdv2_marked:0
HW Walk:
LEAF:
Handle: 0x88c417f8 type: 0 FEC handle: 0x88983d28
LWLDI:
PI:0x88773cc0 PD:0x88773d00 rev:61 p-rev:60 ldi type:3
FEC hdl: 0x88983d28 fec index: 0x0(0) num paths:1, bkup: 0
SHLDI:
PI:0x885e1de8 PD:0x885e1e68 rev:60 p-rev:0 flag:0x0
FEC hdl: 0x88983d28 fec index: 0x2000100e(4110) num paths: 1 bkup paths: 0
Path:0 fec index: 0x2000100e(4110) DSP:0x16033036
SP-NHINFO:
PD: 0x8778e428, Trap Port: 0x16033036, Trap handle: (nil), npu_mask: 3f
Load distribution: 0 (refcount 2)
Hash OK Interface Address
0 Y MgmtEth0/RP0/CPU0/0 glean
1.76.0.0/32, version 0, broadcast
Updated Dec 20 22:22:24.459
Prefix Len 32
LEAF - HAL pd context :
sub-type : IPV4, ecd_marked:0, has_collapsed_ldi:0
collapse_bwalk_required:0, ecdv2_marked:0
HW Walk:
LEAF:
Handle: 0x88c41c38 type: 0 FEC handle: 0x8898ec78
LWLDI:
PI:0x88774010 PD:0x88774050 rev:65 p-rev:64 ldi type:3
FEC hdl: 0x8898ec78 fec index: 0x0(0) num paths:1, bkup: 0
SHLDI:
PI:0x885e31c8 PD:0x885e3248 rev:64 p-rev:0 flag:0x0
FEC hdl: 0x8898ec78 fec index: 0x20001010(4112) num paths: 1 bkup paths: 0
Path:0 fec index: 0x20001010(4112) DSP:0x16033037
SP-NHINFO:
PD: 0x8778d548, Trap Port: 0x16033037, Trap handle: (nil), npu_mask: 3f
1.76.0.1/32, version 0, internal 0x1020001 0x0 (ptr 0x887e4c78) [2], 0x0 (0x887741b8), 0x0 (0x0)
Updated Dec 20 22:22:24.593
Prefix Len 32, traffic index 0, Adjacency-prefix, precedence n/a, priority 15
gateway array (0x88534ea8) reference count 1, flags 0x0, source internal (11), 0 backups
[2 type 3 flags 0x8401 (0x885e3bb8) ext 0x0 (0x0)]
LW-LDI[type=3, refc=1, ptr=0x887741b8, sh-ldi=0x885e3bb8]
gateway array update type-time 1 Dec 20 22:22:24.594
LDI Update time Dec 20 22:22:24.594
LW-LDI-TS Dec 20 22:22:24.657
via 1.76.0.1/32, MgmtEth0/RP0/CPU0/0, 3 dependencies, weight 0, class 0 [flags 0x0]
path-idx 0 NHID 0x0 [0x87ee71b8 0x0]
next hop 1.76.0.1/32
local adjacency
LEAF - HAL pd context :
sub-type : IPV4, ecd_marked:0, has_collapsed_ldi:0
collapse_bwalk_required:0, ecdv2_marked:0
HW Walk: