CEF の確認
IPv4 または IPv6 CEF テーブルの詳細を表示するには、次のコマンドを使用します。
- show cef {ipv4 address| ipv6 address} hardware egress
IPv4 または IPv6 CEF テーブルを表示します。ネクスト ホップおよび転送インターフェイスがプレフィックスごとに表示されます。show cef コマンドの出力は、場所によって異なります。
Router# show cef 203.0.1.2 hardware egress
203.0.1.2/32, version 0, internal 0x1020001 0x0 (ptr 0x8d7db7f0) [1], 0x0 (0x8daeedf0), 0x0 (0x0)
Updated Nov 20 13:33:23.557
local adjacency 203.0.1.2
Prefix Len 32, traffic index 0, Adjacency-prefix, precedence n/a, priority 15
via 203.0.1.2/32, HundredGigE0/0/0/9, 3 dependencies, weight 0, class 0 [flags 0x0]
path-idx 0 NHID 0x0 [0x8cfc81a0 0x0]
next hop 203.0.1.2/32
local adjacency
-
show cef {ipv4| ipv6} summary
Router#show cef ipv4 summary
Fri Nov 20 13:50:45.239 UTC
Router ID is 216.1.1.1
IP CEF with switching (Table Version 0) for node0_RP0_CPU0
Load balancing: L4
Tableid 0xe0000000 (0x8cf5b368), Vrfid 0x60000000, Vrid 0x20000000, Flags 0x1019
Vrfname default, Refcount 4129
56 routes, 0 protected, 0 reresolve, 0 unresolved (0 old, 0 new), 7616 bytes
13 rib, 0 lsd, 0:27 aib, 1 internal, 10 interface, 4 special, 1 default routes
56 load sharing elements, 24304 bytes, 1 references
1 shared load sharing elements, 432 bytes
55 exclusive load sharing elements, 23872 bytes
0 route delete cache elements
13 local route bufs received, 1 remote route bufs received, 0 mix bufs received
13 local routes, 0 remote routes
13 total local route updates processed
0 total remote route updates processed
0 pkts pre-routed to cust card
0 pkts pre-routed to rp 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 LISP EID prefixes, 0 merged, via 0 rlocs
28 next hops
1 incomplete next hop
0 PD backwalks on LDIs with backup path
-
show cef { ipv4 address| ipv6 address } detail
IPv4 または IPv6 CEF テーブルの詳細を表示します。
Router#show cef 203.0.1.2 detail
203.0.1.2/32, version 0, internal 0x1020001 0x0 (ptr 0x8d7db7f0) [1], 0x0 (0x8daeedf0), 0x0 (0x0)
Updated Nov 20 13:33:23.556
local adjacency 203.0.1.2
Prefix Len 32, traffic index 0, Adjacency-prefix, precedence n/a, priority 15
gateway array (0x8d84beb0) reference count 1, flags 0x0, source aib (10), 0 backups
[2 type 3 flags 0x8401 (0x8d99a598) ext 0x0 (0x0)]
LW-LDI[type=3, refc=1, ptr=0x8daeedf0, sh-ldi=0x8d99a598]
gateway array update type-time 1 Nov 20 13:33:23.556
LDI Update time Nov 20 13:33:23.556
LW-LDI-TS Nov 20 13:33:23.556
via 203.0.1.2/32, HundredGigE0/0/0/9, 3 dependencies, weight 0, class 0 [flags 0x0]
path-idx 0 NHID 0x0 [0x8cfc81a0 0x0]
next hop 203.0.1.2/32
local adjacency
Load distribution: 0 (refcount 2)
Hash OK Interface Address
0 Y HundredGigE0/0/0/9 203.0.1.2
- show adjacency detail
インターフェイスごとのレイヤ 2 情報など詳細な隣接情報を表示します。show adjacency コマンドの出力は、場所によって異なります。
Router#show adjacency detail
-------------------------------------------------------------------------------
0/5/CPU0
-------------------------------------------------------------------------------
Interface Address Version Refcount Protocol
Hu0/5/0/12 (interface) 13 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/30 (interface) 31 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/19 (interface) 20 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/16 (interface) 17 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/23 (interface) 24 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/22 (interface) 23 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/1 (interface) 2 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/6 (interface) 7 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/10 (interface) 11 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/31 (interface) 32 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/28 (interface) 29 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/35 (interface) 36 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/32 (interface) 33 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/15 (interface) 16 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/34 (interface) 35 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/2 (interface) 3 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/26 (interface) 27 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/0/0/9 203.0.1.2 50 2( 0) mpls
00109400000cea285f0b80248847
mtu: 8986, flags 1 0
Hu0/0/0/9 203.0.1.2 49 2( 0) ipv4
00109400000cea285f0b80240800
mtu: 8986, flags 1 0
Hu0/5/0/29 (interface) 30 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/33 (interface) 34 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/20 (interface) 21 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/24 (interface) 25 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/0 (interface) 1 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/4 (interface) 5 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/8 (interface) 9 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/3 (interface) 4 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/27 (interface) 28 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/7 (interface) 8 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/14 (interface) 15 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/11 (interface) 12 1( 0)
(interface entry)
mtu: 1500, flags 1 4
Hu0/5/0/18 (interface) 19 1( 0)
(interface entry)