Table Of Contents
Cisco Express Forwarding Commands on Cisco IOS XR Software
clear adjacency ipv4
clear adjacency statistics
clear cef ipv4 drops
clear cef ipv4 exceptions
clear cef ipv4 interface bgp-policy-statistics
clear cef ipv4 interface rpf-statistics
clear cef ipv6 drops
clear cef ipv6 exceptions
clear cef ipv6 interface bgp-policy-statistics
clear cef ipv6 interface rpf-statistics
ipv4 bgp policy accounting
ipv4 verify unicast source reachable-via
ipv6 bgp policy accounting
ipv6 verify unicast source reachable-via any
rp mgmtethernet forwarding
show adjacency
show cef ipv4
show cef ipv4 adjacency
show cef ipv4 adjacency hardware
show cef ipv4 drops
show cef ipv4 exact-route
show cef ipv4 exceptions
show cef ipv4 external hardware
show cef ipv4 hardware
show cef ipv4 interface
show cef ipv4 interface bgp-policy-statistics
show cef ipv4 non-recursive
show cef ipv4 resources
show cef ipv4 summary
show cef ipv4 unresolved
show cef ipv6
show cef ipv6 adjacency
show cef ipv6 adjacency hardware
show cef ipv6 drops
show cef ipv6 exact-route
show cef ipv6 exceptions
show cef ipv6 external hardware
show cef ipv6 hardware
show cef ipv6 interface bgp-policy-statistics
show cef ipv6 interface
show cef ipv6 non-recursive
show cef ipv6 resources
show cef ipv6 summary
show cef ipv6 unresolved
show cef mpls adjacency
show cef mpls unresolved
show cef vrf
Cisco Express Forwarding Commands on Cisco IOS XR Software
This chapter describes the commands used to configure and monitor Cisco Express Forwarding (CEF) on Cisco IOS XR software.
For detailed information about CEF concepts, configuration tasks, and examples, see Cisco IOS XR IP Addresses and Services Configuration Guide.
clear adjacency ipv4
To clear the IPv4 CEF adjacency table, use the clear adjacency ipv4 command in EXEC mode.
clear adjacency statistics ipv4 [location node-id]
Syntax Description
location node-id
|
(Optional) Clears the IPv4 CEF adjacency table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
When you issue the clear adjacency statistics ipv4 command, entries in the adjacency table that reside on the route processor (RP) are removed and then repopulated.
If you do not specify a node with the location keyword and node-id argument, this command clears the CEF adjacency table on the interface on the route processor on which the command is issued.
Task ID
Task ID
|
Operations
|
basic-services
|
read, write
|
cef
|
read, write
|
Examples
The following example shows how to clear the IPv4 CEF adjacency table on the RP:
RP/0/RP0/CPU0:router# clear adjacency statistics ipv4
Related Commands
Command
|
Description
|
show adjacency
|
Displays the IPv4 CEF adjacency table.
|
clear adjacency statistics
To clear adjacency packet and byte counter statistics, use the clear adjacency statistics command in EXEC mode.
clear adjacency statistics [ipv4 [nexthop ipv4-address] | mpls | ipv6] [interface-type
interface-instance | location node-id]
Syntax Description
ipv4
|
(Optional) Clears only IPv4 adjacency packet and byte counter statistics.
|
nexthop ipv4-address
|
(Optional) Clears adjacency statistics that are destined to the specified IPv4 nexthop.
|
mpls
|
(Optional) Clears only MPLS adjacency statistics.
|
ipv6
|
(Optional) Clears only IPv6 adjacency statistics.
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
(Optional) Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash mark between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Clears detailed adjacency statistics for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
Supplemented Examples section to include additional show output.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
This command is useful for troubleshooting network connection and forwarding problems.
If you do not specify any of the optional keywords, all adjacency statistics are cleared for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
basic-services
|
read, write
|
cef
|
read, write
|
Examples
The following example displays sample output of the Cisco Express Forwarding (CEF) adjacency table information, and clears the IPv4 CEF adjacency statistics:
RP/0/RP0/CPU0:router# show adjacency detail
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Address Version Refcount Protocol
MgmtEth0/RP1/CPU0/0 (src mac only) 1 1 ipv4
000000000000001193efe8fe0800
MgmtEth0/RP1/CPU0/0 (interface) 2 1
MgmtEth0/RP1/CPU0/0 172.29.52.77 29 2 ipv4
001193efe8e2001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.105 19 2 ipv4
001b2a4e53e5001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.241 18 2 ipv4
001819d18c38001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.173 15 2 ipv4
0015c75f09f8001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.81 9 2 ipv4
001a6c40d89c001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.1 6 2 ipv4
0030f2f21038001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.201 3 2 ipv4
00107b3c6847001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.96 23 2 ipv4
0018ba800c80001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.168 22 2 ipv4
00503ee3dd80001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.152 21 2 ipv4
00503ee3df40001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.180 16 2 ipv4
0015c75f0800001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.28 12 2 ipv4
00127fd6ba09001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.76 7 2 ipv4
001193efe8ea001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.200 4 2 ipv4
00107b3c689f001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.83 26 2 ipv4
001a6c40d89c001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.151 25 2 ipv4
000a41052e01001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.91 17 2 ipv4
0018742c5f40001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.127 14 2 ipv4
0013c4cba200001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.27 11 2 ipv4
00127fd6ba08001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.75 8 2 ipv4
001193efe8e2001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.182 27 2 ipv4
0015c75f0800001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.150 24 2 ipv4
000a41052da1001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.90 20 2 ipv4
001874163f80001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.70 13 2 ipv4
5a5900000201001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.82 10 2 ipv4
00127fd6bc36001193efe8fe0800
MgmtEth0/RP1/CPU0/0 172.29.52.126 5 2 ipv4
0013c4cba548001193efe8fe0800
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Address Version Refcount Protocol
MgmtEth0/RP0/CPU0/0 (src mac only) 2 1 ipv4
0000000000005a59000002010800
MgmtEth0/RP0/CPU0/0 (interface) 1 1
MgmtEth0/RP0/CPU0/0 172.29.52.77 38 2 ipv4
001193efe8e25a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.105 29 2 ipv4
001b2a4e53e55a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.241 28 2 ipv4
001819d18c385a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.173 24 2 ipv4
0015c75f09f85a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.81 19 2 ipv4
001a6c40d89c5a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.13 16 2 ipv4
001079e960385a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.153 15 2 ipv4
00e0b0552cc45a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.121 13 2 ipv4
0012da0b97ff5a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.1 6 2 ipv4
0030f2f210385a59000002010800
257909 packets, 9246567 bytes
MgmtEth0/RP0/CPU0/0 172.29.52.201 4 2 ipv4
00107b3c68475a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.96 32 2 ipv4
0018ba800c805a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.168 31 2 ipv4
00503ee3dd805a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.152 30 2 ipv4
00503ee3df405a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.180 25 2 ipv4
0015c75f08005a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.28 22 2 ipv4
00127fd6ba095a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.76 17 2 ipv4
001193efe8ea5a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.52 14 2 ipv4
0090929c88485a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.148 12 2 ipv4
00b064fce0bb5a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.120 10 2 ipv4
00042892c7ff5a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.200 5 2 ipv4
00107b3c689f5a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.83 35 2 ipv4
001a6c40d89c5a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.151 34 2 ipv4
000a41052e015a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.91 27 2 ipv4
0018742c5f405a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.127 23 2 ipv4
0013c4cba2005a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.27 21 2 ipv4
00127fd6ba085a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.75 18 2 ipv4
001193efe8e25a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.51 11 2 ipv4
00e04f5fe0685a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.71 3 2 ipv4
001193efe8fe5a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.182 36 2 ipv4
0015c75f08005a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.150 33 2 ipv4
000a41052da15a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.90 26 2 ipv4
001874163f805a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.82 20 2 ipv4
00127fd6bc365a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.50 9 2 ipv4
0090929cf8685a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.190 8 2 ipv4
00000c4775e05a59000002010800
MgmtEth0/RP0/CPU0/0 172.29.52.126 7 2 ipv4
0013c4cba5485a59000002010800
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Address Version Refcount Protocol
GigabitEthernet0/6/5/7 (src mac only) 4 1 ipv4
00000000000000000c07fa5e0800
POS0/6/4/0 (interface) 27 1
POS0/6/0/0 (interface) 26 1
GigabitEthernet0/6/5/7 (interface) 25 1
GigabitEthernet0/6/5/1 (src mac only) 6 1 ipv4
00000000000000000c015cb80800
222195 packets, 19973644 bytes
GigabitEthernet0/6/5/2 (src mac only) 5 1 ipv4
00000000000000000c02c9d60800
222251 packets, 19978582 bytes
GigabitEthernet0/6/5/6 (interface) 24 1
GigabitEthernet0/6/5/5 (interface) 23 1
GigabitEthernet0/6/5/4 (interface) 22 1
GigabitEthernet0/6/5/3 (interface) 21 1
GigabitEthernet0/6/5/2 (interface) 20 1
12001 packets, 2155986 bytes
GigabitEthernet0/6/5/1 (interface) 19 1
10803 packets, 1717298 bytes
GigabitEthernet0/6/5/0 (interface) 18 1
POS0/6/0/3 (interface) 32 1
POS0/6/4/2 (interface) 31 1
POS0/6/0/1 (src mac only) 43 1 ipv4
222207 packets, 17752538 bytes
POS0/6/0/1 point to point 42 2 ipv4
POS0/6/0/1 point to point 41 2 mpls
POS0/6/0/2 (interface) 30 1
POS0/6/4/1 (interface) 29 1
POS0/6/0/1 (interface) 28 1
73519 packets, 3019532 bytes
POS0/6/4/6 (src mac only) 48 1 ipv4
222198 packets, 17751798 bytes
POS0/6/4/6 point to point 47 2 ipv4
POS0/6/4/6 point to point 46 2 mpls
POS0/6/4/7 (interface) 40 1
POS0/6/4/6 (interface) 39 1
72915 packets, 2918638 bytes
POS0/6/4/5 (src mac only) 45 1 ipv4
POS0/6/4/5 point to point 44 2 ipv4
POS0/6/4/4 (src mac only) 51 1 ipv4
222198 packets, 17751852 bytes
POS0/6/4/4 point to point 50 2 ipv4
POS0/6/4/4 point to point 49 2 mpls
POS0/6/4/5 (interface) 35 1
66317 packets, 1458970 bytes
POS0/6/4/4 (interface) 34 1
72306 packets, 2799786 bytes
POS0/6/4/3 (interface) 33 1
GigabitEthernet0/6/5/2 10.16.8.6 11 2 mpls
0013c4cba4a200000c02c9d68847
GigabitEthernet0/6/5/2 10.16.8.6 10 2 ipv4
0013c4cba4a200000c02c9d60800
19693 packets, 1143510 bytes
GigabitEthernet0/6/5/1 10.12.20.2 8 2 mpls
00156358bc6c00000c015cb88847
GigabitEthernet0/6/5/1 10.12.20.2 7 2 ipv4
00156358bc6c00000c015cb80800
19806 packets, 1153348 bytes
GigabitEthernet0/6/5/7 10.12.40.2 9 2 ipv4
00156358bc7200000c07fa5e0800
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Address Version Refcount Protocol
Client dll : libsvii_adj_pd.dll
Client completion function : svii_adj_cmpl_adj
SBC2 point to point 2 2 ipv4
Client dll : libsvii_adj_pd.dll
Client completion function : svii_adj_cmpl_adj
MgmtEth0/4/CPU1/0 (interface) 1 1
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Address Version Refcount Protocol
Client dll : libsvii_adj_pd.dll
Client completion function : svii_adj_cmpl_adj
SBC1 point to point 9 2 ipv4
Client dll : libsvii_adj_pd.dll
Client completion function : svii_adj_cmpl_adj
MgmtEth0/4/CPU0/0 (interface) 1 1
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Address Version Refcount Protocol
Bundle-POS24 point to point 119 2 mpls
mtu: 4470, flags 80000001 0 50000000
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28.1 (src mac only) 149 1 ipv4
000000000000001563c0b0f68100001d0800
mtu: 1500, flags 80000001 0 50000001
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28.2 (src mac only) 148 1 ipv4
000000000000001563c0b0f68100001e0800
mtu: 1500, flags 80000001 0 50000001
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28.3 (src mac only) 147 1 ipv4
000000000000001563c0b0f68100001f0800
mtu: 1500, flags 80000001 0 50000001
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28 (src mac only) 146 1 ipv4
000000000000001563c0b0f60800
mtu: 1500, flags 80000001 0 50000001
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-POS24 (src mac only) 121 1 ipv4
mtu: 4470, flags 80000001 0 50000001
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-POS24 point to point 120 2 ipv4
mtu: 4470, flags 80000001 0 50000000
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
GigabitEthernet0/1/5/1 (src mac only) 13 1 ipv4
000000000000001563c0b0f10800
310470 packets, 27909626 bytes
GigabitEthernet0/1/5/2 (src mac only) 12 1 ipv4
000000000000001563c0b0f20800
310468 packets, 27909354 bytes
Bundle-Ether28.1 (interface) 139 1
flags 80000001 0 50001004
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28.2 (interface) 142 1
flags 80000001 0 50001004
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28.3 (interface) 145 1
flags 80000001 0 50001004
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28 (interface) 136 1
flags 80000001 0 50001004
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-POS24 (interface) 118 1
flags 80000001 0 50001004
10627 packets, 2210404 bytes
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
GigabitEthernet0/1/5/7 (interface) 31 1
31063 packets, 3851812 bytes
GigabitEthernet0/1/5/6 (interface) 30 1
31327 packets, 3863692 bytes
GigabitEthernet0/1/5/5 (interface) 29 1
GigabitEthernet0/1/5/4 (interface) 28 1
GigabitEthernet0/1/5/3 (interface) 27 1
GigabitEthernet0/1/5/2 (interface) 26 1
11579 packets, 2315638 bytes
GigabitEthernet0/1/5/1 (interface) 25 1
17686 packets, 3081588 bytes
GigabitEthernet0/1/5/0 (src mac only) 14 1 ipv4
00000000000000000c00393a0800
GigabitEthernet0/1/5/0 (interface) 24 1
POS0/1/0/0 (interface) 19 1
POS0/1/4/0 (interface) 18 1
134452 packets, 7791702 bytes
POS0/1/4/3 (interface) 7 1
POS0/1/0/2 (interface) 22 1
POS0/1/0/1 point to point 95 2 mpls
POS0/1/0/1 (src mac only) 97 1 ipv4
POS0/1/0/1 point to point 96 2 ipv4
POS0/1/4/2 (src mac only) 110 1 ipv4
POS0/1/4/2 point to point 109 2 ipv4
POS0/1/4/2 (interface) 3 1
191172 packets, 2294213 bytes
POS0/1/0/1 (interface) 21 1
103403 packets, 4243616 bytes
POS0/1/4/1 (interface) 20 1
123823 packets, 5581162 bytes
POS0/1/0/3 (interface) 23 1
GigabitEthernet0/1/5/1 10.14.8.4 56 2 mpls
0012da0b9600001563c0b0f18847
GigabitEthernet0/1/5/1 10.14.8.4 17 2 ipv4
0012da0b9600001563c0b0f10800
35523 packets, 2247965 bytes
GigabitEthernet0/1/5/2 10.16.4.6 54 2 mpls
0013c4cba4a1001563c0b0f28847
GigabitEthernet0/1/5/2 10.16.4.6 15 2 ipv4
0013c4cba4a1001563c0b0f20800
35502 packets, 2244864 bytes
Bundle-Ether28.2 10.12.30.2 152 2 ipv4
00156358b9f6001563c0b0f68100001e0800
mtu: 1500, flags 80000001 0 50000000
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28.3 10.12.31.2 151 2 ipv4
00156358b9f6001563c0b0f68100001f0800
mtu: 1500, flags 80000001 0 50000000
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28 10.12.28.2 150 2 ipv4
00156358b9f6001563c0b0f60800
mtu: 1500, flags 80000001 0 50000000
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
Bundle-Ether28.1 10.12.29.2 153 2 ipv4
00156358b9f6001563c0b0f68100001d0800
mtu: 1500, flags 80000001 0 50000000
Client dll : libbundlemgr_cmpl_pi.dll
Client completion function : bma_cmpl_adj
GigabitEthernet0/1/5/0 10.12.16.2 16 2 ipv4
00156358b9f000000c00393a0800
RP/0/RP0/CPU0:router# clear adjacency statistics ipv4
Related Commands
Command
|
Description
|
show adjacency
|
Displays the IPv4 CEF adjacency table.
|
clear cef ipv4 drops
To clear CEF IPv4 packet drop counters, use the clear cef ipv4 drops command in EXEC mode.
clear cef ipv4 drops [location node-id]
Syntax Description
location node-id
|
(Optional) Clears IPv4 packet drop counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command will clear IPv4 CEF drop counters only for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
basic-services
|
read, write
|
cef
|
read, write
|
Examples
The following example shows how to clear IPv4 CEF drop counters for location 0/1/CPU0:
RP/0/RP0/CPU0:router# clear cef ipv4 drops location 0/1/CPU0
Clearing CEF Drop Statistics
Related Commands
clear cef ipv4 exceptions
To clear IPv4 CEF exception packet counters, use the clear cef ipv4 exceptions command in EXEC mode.
clear cef ipv4 exceptions location node-id
Syntax Description
location node-id
|
Clears IPv4 CEF exception packet counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command will clear IPv4 CEF exception packet counters for all nodes.
Task ID
Task ID
|
Operations
|
basic-services
|
read, write
|
cef
|
read, write
|
Examples
The following example shows how to clear IPv4 CEF exception packets for all nodes:
RP/0/RP0/CPU0:router# clear cef ipv4 exceptions location 0/1/CPU0
Clearing CEF Exception Statistics
Related Commands
clear cef ipv4 interface bgp-policy-statistics
To clear CEF IPv4 interface BGP policy statistics, use the clear cef ipv4 interface bpg-policy-statistics command in EXEC mode.
clear cef ipv4 interface type instance bpg-policy-statistics
Syntax Description
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
This command clears the Border Gateway Protocol (BGP) policy accounting counters for the specified interface.
Task ID
Task ID
|
Operations
|
basic-services
|
read, write
|
cef
|
read, write
|
Examples
The following example shows how to clear IPv4 CEF BGP policy statistics:
RP/0/RP0/CPU0:router# clear cef ipv4 interface MgmtEth 0/RP1/CPU0/0 bgp-policy-statistics
Related Commands
clear cef ipv4 interface rpf-statistics
To clear CEF IPv4 interface reverse path forwarding (RPF) statistics, use the clear cef ipv4 interface rpf-statistics command in EXEC mode.
clear cef ipv4 interface type instance rpf-statistics [location node-id]
Syntax Description
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Clears IPv6 packet drop counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The clear cef ipv4 interface rpf-statistics command clears the reverse path forwarding (RPF) counters for the specified interface.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following example shows how to clear IPv4 CEF RPF statistics for location 0/1/CPU0:
RP/0/RP0/CPU0:router# clear cef ipv4 interface pos 0/1/0/0 rpf-statistics location
0/1/CPU0
clear cef ipv6 drops
To clear CEF IPv6 packet drop counters, use the clear cef ipv6 drop command in EXEC mode.
clear cef ipv6 drops [location node-id]
Syntax Description
location node-id
|
(Optional) Clears IPv6 packet drop counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command clears IPv6 CEF drop counters for all nodes.
Task ID
Task ID
|
Operations
|
basic-services
|
read, write
|
cef
|
read, write
|
Examples
The following example shows how to clear IPv6 CEF drop counters for all nodes:
RP/0/RP0/CPU0:router# clear cef ipv6 drops
Related Commands
clear cef ipv6 exceptions
To clear IPv6 CEF exception packet counters, use the clear cef ipv6 exceptions command in EXEC mode.
clear cef ipv6 exceptions location node-id
Syntax Description
location node-id
|
Clears IPv6 CEF exception packet counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The location keyword was made mandatory.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command clears IPv6 CEF exception packet counters for all nodes.
Task ID
Task ID
|
Operations
|
basic-services
|
read, write
|
cef
|
read, write
|
Examples
The following example shows how to clear IPv6 CEF exception packets for all nodes:
RP/0/RP0/CPU0:router# clear cef ipv6 exceptions
Related Commands
clear cef ipv6 interface bgp-policy-statistics
To clear CEF IPv6 interface BGP policy statistics, use the clear cef ipv6 interface bpg-policy-statistics command in EXEC mode.
clear cef ipv6 interface type instance bpg-policy-statistics
Syntax Description
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The clear cef ipv6 interface bgp-policy-statistics command clears the Border Gateway Protocol (BGP) policy accounting counters for the specified interface.
Task ID
Task ID
|
Operations
|
basic-services
|
read, write
|
cef
|
read, write
|
Examples
The following example shows how to clear IPv4 CEF BGP policy statistics:
RP/0/RP0/CPU0:router# clear cef ipv6 interface MgmtEth 0/RP1/CPU0/0 bgp-policy-statistics
clear cef ipv6 interface rpf-statistics
To clear CEF IPv6 interface reverse path forwarding (RPF) statistics, use the clear cef ipv6 interface rpf-statistics command in EXEC mode.
clear cef ipv6 interface type instance rpf-statistics [location node-id]
Syntax Description
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Clears IPv6 packet drop counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The clear cef ipv6 interface rpf-statistics command clears the reverse path forwarding (RPF) counters for the specified interface.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following example shows how to clear IPv4 CEF RPF statistics:
RP/0/RP0/CPU0:router# clear cef ipv6 interface MgmtEth 0/RP1/CPU0/0 rpf-statistics
ipv4 bgp policy accounting
To enable Border Gateway Protocol (BGP) policy accounting, use the ipv4 bgp policy accounting command in interface configuration mode. To disable BGP policy accounting, use the no form of this command.
ipv4 bgp policy accounting {input | output {destination-accounting [source-accounting] |
source-accounting [destination-accounting]}}
no ipv4 bgp policy accounting {input | output {destination-accounting [source-accounting] |
source-accounting [destination-accounting]}}
Syntax Description
input
|
Enables BGP policy accounting policy on the ingress IPv4 unicast interface.
|
output
|
Enables BGP policy accounting policy on the egress IPv4 unicast interface.
|
{destination-accounting [source-accounting] | source-accounting [destination-accounting]}
|
When you specify the ingress or egress interface, you must specify one of the following keywords:
• destination-accounting—Enables accounting policy on the basis of the destination address.
• source-accounting—Enables accounting policy on the basis of the source address.
After specifying destination-accounting you can optionally specify source-accounting, or after specifying source-accounting, you can optionally specify destination-accounting.
|
Defaults
There is no BGP policy accounting.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
When you use the no form of the command, accounting is disabled for both the source and destination. To change accounting on either the destination or source address, reconfigure the ipv4 bgp policy accounting command specifying the destination-accounting or source-accounting keyword. In the following example, you want BGP policy accounting disabled on the source address after enabling source and destination address accounting earlier:
RP/0/RP0/CPU0:router(config-if)# ipv4 bgp policy accounting output destination-accounting
See the Cisco IOS XR Routing Configuration Guide for information about configuring a BGP policy. BGP accounting policy is based on community lists, autonomous system numbers, or autonomous system paths.
For BGP policy propagation to function, you must enable BGP.
To specify the accounting policy, the proper route policy configuration must be in place, matching specific BGP attributes using the set traffic-index command. In BGP router configuration mode, use the table-policy command to modify the accounting buckets when the IP routing table is updated with routes learned from BGP. To display accounting policy information, use the show cef ipv4 interface bgp-policy-statistics, show bgp policy, and show ip route bgp commands.
Task ID
Task ID
|
Operations
|
network
|
read, write
|
Examples
The following example shows how to configure BGP policy accounting:
RP/0/RP0/CPU0:router(config)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-if)# ipv4 bgp policy accounting output source-accounting
Related Commands
Command
|
Description
|
show bgp policy
|
Displays information about BGP advertisements under a proposed policy.
|
show cef ipv4 interface bgp-policy-statistics
|
Displays IPv4 CEF BGP policy statistics.
|
show route bgp
|
Displays the current routes for BGP in the RIB.
|
route-policy
|
Defines a route policy.
|
table-policy
|
Applies a routing policy to routes being installed into the routing table.
|
ipv4 verify unicast source reachable-via
To enable IPv4 unicast Reverse Path Forwarding (RPF) checking, use the ipv4 verify unicast source reachable-via command in interface configuration mode. To disable unicast RPF, use the no form of this command.
ipv4 verify unicast source reachable-via {any | rx} [allow-default] [allow-self-ping]
no ipv4 verify unicast source reachable-via {any | rx} [allow-default] [allow-self-ping]
Syntax Description
any
|
Enables loose unicast RPF checking. If loose unicast RPF is enabled, a packet is not forwarded unless its source prefix exists in the routing table.
|
rx
|
Enables strict unicast RPF checking. If strict unicast RPF is enabled, a packet is not forwarded unless its source prefix exists in the routing table and the output interface matches the interface on which the packet was received.
|
allow-default
|
(Optional) Enables the matching of default routes. This option applies to both loose and strict RPF.
|
allow-self-ping
|
(Optional) Enables the router to ping out an interface.This option applies to both loose and strict RPF.
|
Defaults
IPv4 unicast RPF is disabled.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The strict option information was added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Use the ipv4 verify unicast source reachable-via interface command to mitigate problems caused by malformed or forged (spoofed) IP source addresses that pass through a router. Malformed or forged source addresses can indicate denial-of-service (DoS) attacks based on source IP address spoofing.
When strict unicast RPF is enabled on an interface, the router examines all packets received on that interface. The router checks to make sure that the source address appears in the routing table and matches the interface on which the packet was received.
When loose unicast RPF is enabled on an interface, the router examines all packets received on that interface. The router checks to make sure that the source address can be reached through any of the router interfaces.
Task ID
Task ID
|
Operations
|
ipv4
|
read, write,
|
network
|
read, write
|
Examples
The following example shows how to configure strict RPF on POS interface 0/1/0/0:
RP/0/RP0/CPU0:router(config)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-if)# ipv4 verify unicast source reachable-via rx
The following example shows how to configure loose RPF on POS interface 0/0/0/1.
RP/0/RP1/CPU0:ios(config)# interface pos 0/0/0/1
RP/0/RP1/CPU0:ios(config-if)# ipv4 verify unicast source reachable-via any
Related Commands
ipv6 bgp policy accounting
To enable Border Gateway Protocol (BGP) policy accounting, use the ipv6 bgp policy accounting command in interface configuration mode. To disable BGP policy accounting, use the no form of this command.
ipv6 bgp policy accounting {input | output {destination-accounting [source-accounting] |
source-accounting [destination-accounting]}}
no ipv6 bgp policy accounting {input | output {destination-accounting [source-accounting] |
source-accounting [destination-accounting]}}
Syntax Description
input
|
Enables BGP policy accounting policy on the ingress IPv6 unicast interface.
|
output
|
Enables BGP policy accounting policy on the egress IPv6 unicast interface.
|
{destination-accounting [source-accounting] | source-accounting [destination-accounting]}
|
When you specify the ingress or egress interface, you must specify one of the following keywords:
• destination-accounting—Enables accounting policy on the basis of the destination address.
• source-accounting—Enables accounting policy on the basis of the source address.
After specifying destination-accounting, you can optionally specify source-accounting or, after specifying source-accounting, you can optionally specify destination-accounting.
|
Defaults
There is no BGP policy accounting.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
When you use the no form of the command, accounting is disabled for both the source and destination. To change accounting on either the destination or source address, reconfigure the ipv6 bgp policy accounting command, specifying the destination-accounting or source-accounting keyword. In the following example, you want BGP policy accounting disabled on the source address after enabling source and destination address accounting earlier:
RP/0/RP0/CPU0:router(config-if)# ipv6 bgp policy accounting output destination-accounting
See the Cisco IOS XR Routing Configuration Guide for information about configuring a BGP policy. BGP accounting policy is based on community lists, autonomous system numbers, or autonomous system paths.
For BGP policy propagation to function, you must enable BGP.
To specify the accounting policy, the proper route policy configuration must be in place matching specific BGP attributes using the set traffic-index command. In BGP router configuration mode, use the table-policy command to modify the accounting buckets when the IP routing table is updated with routes learned from BGP. To display accounting policy information, use the show cef ipv4 interface bgp-policy-statistics, show bgp policy, and show ip route bgp commands.
Task ID
Task ID
|
Operations
|
network
|
read, write
|
Examples
The following example shows how to configure BGP policy accounting:
RP/0/RP0/CPU0:router(config)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-if)# ipv6 bgp policy accounting output source-accounting
Related Commands
Command
|
Description
|
show bgp policy
|
Displays information about BGP advertisements under a proposed policy.
|
show cef ipv6 interface bgp-policy-statistics
|
Displays IPv6 CEF BGP policy statistics.
|
show route bgp
|
Displays the current routes for BGP in the RIB.
|
route-policy
|
Defines a route policy.
|
table-policy
|
Applies a routing policy to routes being installed into the routing table.
|
ipv6 verify unicast source reachable-via any
To enable loose IPv6 unicast Reverse Path Forwarding (RPF) checking, use the ipv6 verify unicast source reachable-via any command in interface configuration mode. To disable loose IPv6 unicast RPF checking, use the no form of this command.
ipv6 verify unicast source reachable-via {any | rx} [allow-default] [allow-self-ping]
no ipv6 verify unicast source reachable-via {any | rx} [allow-default] [allow-self-ping]
Syntax Description
any
|
Enables loose unicast RPF checking. If loose unicast RPF is enabled, a packet is not forwarded unless its source prefix exists in the routing table.
|
rx
|
Enables strict unicast RPF checking. If strict unicast RPF is enabled, a packet is not forwarded unless its source prefix exists in the routing table and the output interface matches the interface on which the packet was received.
|
allow-default
|
(Optional) Enables the matching of default routes. This option applies to both loose and strict RPF.
|
allow-self-ping
|
(Optional) Enables the router to ping out an interface.This option applies to both loose and strict RPF.
|
Defaults
Loose IPv6 unicast RPF is disabled.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The keywords any, rx, allow-default, and allow-self-ping were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
network
|
read, write
|
ipv6
|
read, write
|
Examples
The following example shows how to enable loose RPF checking on POS interface 0/1/0/0:
RP/0/RP0/CPU0:router(config)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-if)# ipv6 verify unicast source reachable-via any
Related Commands
rp mgmtethernet forwarding
To enable switching from the line card to the route processor Management Ethernet interfaces, use the rp mgmtethernet forwarding command in global configuration mode. To disable switching from the modular services card to the route processor Management Ethernet interfaces, use the no form of this command.
rp mgmtethernet forwarding
no rp mgmtethernet forwarding
Syntax Description
This command has no arguments or keywords.
Defaults
Switching is disabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
This command is not supported on the Cisco XR 12000 Series Router.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read, write
|
Examples
The following example shows how to enable switching from the modular services card to the RP Management Ethernet interfaces:
RP/0/RP0/CPU0:router(config)# rp mgmtethernet forwarding
show adjacency
To display CEF adjacency table information, use the show adjacency command in EXEC mode.
show adjacency [ipv4 [nexthop ipv4-address] | mpls | ipv6] [interface-type interface-instance]
[remote] [detail] [location node-id]
Syntax Description
ipv4
|
(Optional) Displays only IPv4 adjacencies.
|
nexthop ipv4-address
|
(Optional) Displays adjacencies that are destined to the specified IPv4 nexthop.
|
mpls
|
(Optional) Displays only MPLS adjacencies.
|
ipv6
|
(Optional) Displays only IPv6 adjacencies.
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash mark between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
remote
|
(Optional) Displays only remote adjacencies. A remote adjacency is an internal adjacency used to forward packets between line cards.
|
detail
|
(Optional) Displays detailed adjacency information, including Layer 2 information.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
This command is used to verify that an adjacency exists for a connected device, that the adjacency is valid, and that the MAC header rewrite string is correct.
If you do not specify a node with the location keyword and node-id argument, this command displays the CEF adjacency table for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from show adjacency command with the location keyword specified:
RP/0/RP0/CPU0:router# show adjacency location 0/0/CPU0
Interface Address Version Refcount Protocol
POS0/0/1/2 (src mac only) 6 1 ipv4
POS0/0/1/2 point to point 7 100004
POS0/0/1/2 (interface) 3 1
The following is sample output from the show adjacency command with the detail and location keywords specified:
RP/0/RP0/CPU0:router# show adjacency ipv4 POS 0/0/0/2 detail location 0/0/CPU0
Interface Address Version Refcount Protocol
POS0/0/0/2 point to point 7 100004 ipv4
mtu: 4470, flags 0 0 40000000
The following is sample output from the show adjacency ipv4 nexthop command with the detail and location keywords specified:
RP/0/RP0/CPU0:router: show adjacency ipv4 nexthop 10.10.10.1 detail location 0/3/CPU0
Interface Address Version Refcount Protocol
POS0/3/1/0 10.10.10.1 11 6 ipv4
000c86f33d330800453a21c10800
mtu: 1500, flags 0 0 40000000
Table 9 describes the significant fields shown in the display.
Table 9 show adjacency Field Descriptions
Field
|
Description
|
Interface
|
Outgoing interface associated with the adjacency.
|
Address
|
Address can represent one of these addresses:
• Next hop IPv4 or IPv6 address
• Point-to-Point address
Information in parentheses indicates different types of adjacency.
|
Version
|
Version number of the adjacency. Updated whenever the adjacency is updated.
|
Refcount
|
Number of references to this adjacency.
|
Protocol
|
Protocol for which the adjacency is associated.
|
0f000800 and 000c86f33d330800453a21c10800
|
Layer 2 encapsulation string.
|
mtu
|
Value of the MTU1 .
|
flags
|
Internal field.
|
packets
|
Number of packets going through the adjacency.
|
bytes
|
Number of bytes going through the adjacency.
|
Related Commands
show cef ipv4
To display the IPv4 Cisco Express Forwarding (CEF) table, use the show cef ipv4 command in EXEC mode.
show cef [vrf vrf-name] ipv4 [prefix [mask] | interface-type interface-instance] [detail] [location
node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
prefix
|
(Optional) Longest matching CEF entry for the specified IPv4 destination prefix.
|
mask
|
(Optional) Exact CEF entry for the specified IPv4 prefix and mask.
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash mark between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
detail
|
(Optional) Displays full CEF entry information.
|
location node-id
|
(Optional) Displays the IPv4 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
The sample output for the detail keyword is modified for a specific prefix.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command displays the CEF table on the node in which the command is issued. Otherwise, the command is effective on the node specified by the location node-id keyword and argument.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following sample output is from the show cef ipv4 command:
RP/0/RP0/CPU0:router# show cef ipv4
Prefix Next Hop Interface
0.0.0.0/0 12.25.0.1 MgmtEth0/RP1/CPU0/0
12.25.0.0/16 attached MgmtEth0/RP1/CPU0/0
12.25.12.10/32 receive MgmtEth0/RP1/CPU0/0
12.25.13.12/32 12.25.13.12 MgmtEth0/RP1/CPU0/0
12.25.16.11/32 12.25.16.11 MgmtEth0/RP1/CPU0/0
12.25.22.10/32 12.25.22.10 MgmtEth0/RP1/CPU0/0
12.25.26.10/32 12.25.26.10 MgmtEth0/RP1/CPU0/0
12.25.41.2/32 12.25.41.2 MgmtEth0/RP1/CPU0/0
12.25.41.5/32 12.25.41.5 MgmtEth0/RP1/CPU0/0
12.25.42.5/32 12.25.42.5 MgmtEth0/RP1/CPU0/0
12.25.44.15/32 12.25.44.15 MgmtEth0/RP1/CPU0/0
12.25.55.2/32 12.25.55.2 MgmtEth0/RP1/CPU0/0
12.25.255.255/32 12.25.255.255 MgmtEth0/RP1/CPU0/0
255.255.255.255/32 broadcast
Table 10 describes the significant fields shown in the display.
Table 10 show cef ipv4 Field Descriptions
Field
|
Description
|
Prefix
|
Prefix in the IPv4 CEF table.
|
Next Hop
|
Next hop of the prefix.
|
Interface
|
Interface associated with the prefix.
|
The following sample output is from the show cef ipv4 command for the detail keyword, 10.10.10.0/24 as the IPv4 prefix mask, and the location is 0/3/CPU0:
RP/0/RP0/CPU0:router# show cef ipv4 10.10.10.0/24 detail location 0/3/CPU0
10.10.10.0/24, version 0, attached, connected, internal 0x40000c01[2] 0x0, (0x59a4fd4c)
local adjacency point2point
Prefix Len 24, traffic index 0, precedence routine (0)
gateway array reference count 1, flags 0x0, source 3, [0, type 3 flags 0x101000,
(0x5990efc4)]
via POS0/2/0/0, 0 dependencies, class 0, weight 0
Load distribution: 0 (refcount 0)
Hash OK Interface Address
0 Y POS0/2/0/0 point2point
Related Commands
show cef ipv4 adjacency
To display IPv4 CEF adjacency status and configuration information, use the show cef ipv4 adjacency command in EXEC mode.
show cef [vrf vrf-name] ipv4 adjacency [interface-type interface-instance] [location node-id]
[detail] [discard] [glean] [null] [punt] [remote]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash mark between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
detail
|
(Optional) Displays the detailed adjacency information.
|
discard
|
(Optional) Filters out and displays only the discarded adjacency information.
|
glean
|
(Optional) Filters out and displays only the glean adjacency information.
|
null
|
(Optional) Filters out and displays only the adjacency information.
|
punt
|
(Optional) Filters out and displays only the punt adjacency information.
|
remote
|
(Optional) Filters out and displays only the remote adjacency information.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, the show cef ipv4 adjacency command displays the CEF adjacency table for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from show cef ipv4 adjacency command:
RP/0/RP1/CPU0:ios# show cef ipv4 adjacency MgmtEth 0/RP1/CPU0/0
Interface Address Type Refcount
Mg0/RP1/CPU0/0Prefix: 12.25.0.3/32 local 2
Adjacency: PT:0x782a2900 12.25.0.3/32
Interface: Mg0/RP1/CPU0/0
MAC: 00.d0.02.75.ab.fd.00.11.93.ef.e3.50.08.00
Interface Type: 0x8, Base Flags: 0x1
Dependent adj type: remote
Dependent adj intf: Mg0/RP1/CPU0/0
Mg0/RP1/CPU0/0Prefix: 0.24.0.32/32 remote 6
Interface: Mg0/RP1/CPU0/0
Interface Type: 0x8, Base Flags: 0x0
Table 11 describes the significant fields shown in the display.
Table 11 show cef ipv4 adjacency Field Descriptions
Field
|
Description
|
Interface
|
Interface associated with the prefix.
|
Address
|
Prefix address information.
|
Type
|
Type of adjacency, can be either local or remote.
|
Refcount
|
Number of times the adjacency is referenced by other routers.
|
Related Commands
show cef ipv4 adjacency hardware
To display IPv4 CEF adjacency hardware status and configuration information, use the show cef ipv4 adjacency hardware command in EXEC mode.
show cef [vrf vrf-name] ipv4 adjacency hardware {egress | ingress [detail | discard | drop | glean
| location node-id | null | punt | remote]}
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
egress
|
Displays information from the egress packet switch exchange (PSE) file.
|
ingress
|
Displays information from the ingress packet switch exchange (PSE) file.
|
detail
|
(Optional) Displays full details.
|
discard
|
(Optional) Displays the discard adjacency information.
|
drop
|
(Optional) Displays the drop adjacency information.
|
glean
|
(Optional) Displays the glean adjacency information.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
null
|
(Optional) Displays the null adjacency information.
|
punt
|
(Optional) Displays the punt adjacency information.
|
remote
|
(Optional) Displays the remote adjacency information.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 adjacency hardware command:
RP/0/RP0/CPU0:router# show cef ipv4 adjacency hardware
Interface Address Type Refcount
Interface: Mg0/RP0/CPU0/0 Type: glean
Interface Type: 0x8, Base Flags: 0x4400
Dependent adj type: remote
Dependent adj intf: Mg0/RP0/CPU0/0
Mg0/RP0/CPU0/0Prefix: 64.102.12.47/32 local 3
Adjacency: PT:0x78f5c708 64.102.12.47/32
Interface: Mg0/RP0/CPU0/0
MAC: 00.30.f2.f2.10.38.00.11.93.ef.e8.e6.08.00
Interface Type: 0x8, Base Flags: 0x1
Dependent adj type: remote
Dependent adj intf: Mg0/RP0/CPU0/0
Table 12 describes the significant fields shown in the display.
Table 12 show cef ipv4 adjacency hardware Field Descriptions
Field
|
Description
|
Interface
|
Interface associated with the prefix.
|
Address
|
Prefix address information.
|
Type
|
Type of adjacency, can be either local or remote.
|
Refcount
|
Number of times the adjacency is referenced by other routers.
|
Related Commands
show cef ipv4 drops
To display IPv4 CEF table packet drop counters, use the show cef ipv4 drops command in EXEC mode.
show cef [vrf vrf-name] ipv4 drops [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays IPv4 CEF table packet drop counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
A packet might be dropped from the IPv4 CEF table because of unresolved CEF entries, unsupported features, absence of route information, absence of adjacency information, or an IP checksum error.
If you do not specify a node with the location keyword and node-id argument, this command displays IPv4 CEF packet drop counters for all nodes.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 drops for location command:
RP/0/RP0/CPU0:router# show cef ipv4 drops
Unresolved drops packets : 0
Unsupported drops packets : 0
No route drops packets : 0
No Adjacency drops packets : 0
Checksum error drops packets : 0
RPF suppressed drops packets : 0
RP destined drops packets : 0
Table 13 describes the significant fields shown in the display.
Table 13 show cef ipv4 drop Field Descriptions
Field
|
Description
|
Unresolved drops
|
Drops due to unresolved routes.
|
Unsupported drops
|
Drops due to an unsupported feature.
|
No route drops
|
Number of packets dropped because there were no routes to the destination.
|
No Adjacency drops
|
Number of packets dropped because there were no adjacencies established.
|
Checksum error drops
|
Drops due to IPv4 checksum error.
|
RPF drops
|
Drops due to IPv4 unicast RPF1 .
|
RPF suppressed drops
|
Drops suppressed due to IPv4 unicast RPF.
|
RP destined drops
|
Drops destined for the router.
|
Related Commands
show cef ipv4 exact-route
To display an IPv4 CEF exact route, use the show cef ipv4 exact-route command in EXEC mode.
show cef [vrf vrf-name] ipv4 exact-route {source-address destination-address} [detail | location
node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
source-address
|
The IPv4 source address in x.x.x.x format.
|
destination-address
|
The IPv4 destination address in x.x.x.x format.
|
detail
|
(Optional) Displays full CEF entry information.
|
location node-id
|
(Optional) Displays the IPv4 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.2
|
This command was introduced on the Cisco CRS-1.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 exact-route command:
RP/0/RP0/CPU0:router# show cef ipv4 exact-route 10.1.1.1 10.1.1.2 detail
0.0.0.0/0, version 432, proxy default, internal 0x2000201[1]
Prefix Len 0, traffic index 0, precedence routine (0)
Table 14 describes the significant fields shown in the display.
Table 14 show cef ipv4 exact-route Field Descriptions
Field
|
Description
|
Prefix
|
Prefix in the IPv4 CEF table.
|
Next Hop
|
Next hop of the prefix
|
Interface
|
Interface associated with the prefix
|
Related Commands
show cef ipv4 exceptions
To display IPv4 CEF exception packet counters, use the show cef ipv4 exceptions command in EXEC mode.
show cef [vrf vrf-name] ipv4 exceptions [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays CEF exception packet counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
CEF exception packets are those packets that have been sent from the hardware to the software because they require additional handling. The types of IPv4 CEF exception packets are displayed in the command's output and are defined.
If you do not specify a node with the location keyword and node-id argument, this command displays IPv4 CEF exception packet counters on all nodes.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 exceptions command:
RP/0/RP0/CPU0:router# show cef ipv4 exceptions
Redirect packets : 0 Receive packets : 0
TTL expired packets : 314
Table 15 describes the significant fields shown in the display.
Table 15 show cef ipv4 exceptions Field Descriptions
Field
|
Description
|
Slow encap
|
Number of packets requiring special processing during encapsulation.
|
Redirect
|
Number of ICMP1 redirect messages sent.
|
Receive
|
Number of packets destined to the router.
|
Broadcast
|
Number of broadcasts received.
|
IP options
|
Number of IP option packets.
|
TTL expired
|
Number of packets with expired TTLs2 .
|
Fragmented
|
Number of packets that have been fragmented.
|
Related Commands
show cef ipv4 external hardware
To display information related to IPv4 CEF external clients, use the show cef ipv4 external hardware command in EXEC mode.
show cef [vrf vrf-name] ipv4 external hardare {ingress | detail} location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
ingress
|
Display information read from the ingress packet switch exchange (PSE).
|
detail
|
Displays full information about CEF external clients.
|
location node-id
|
(Optional) Displays CEF exception packet counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The show cef ipv4 external hardware command displays every prefix that an external client is interested in as well as the hardware information from the platform.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output for the show cef ipv4 external hardare command:
RP/0/RP0/CPU0:router# show cef vrf_1 external hardare ingress location 0/1/0
Interest type : EOS0 LDI updates
State : resolved, mismatch, cached plat context, in retry
Load distribution: 0 (refcount 0)
Hash OK Interface Address
INGRESS External CLient Load info:
TLU1 0x00004610 nexthop: 0.0.0.0
SW: 0x00000002 00010000 00000000 00000100
HW: 0x00000002 00010000 00000000 00000100
Recursive next-hop: 0.0.0.0
Table 16 describes the significant fields shown in the display.
Table 16 show cef ipv4 external hardware Field Descriptions
Field
|
Description
|
Client Name
|
Process name of the client (for example, l2fib_mgr).
|
Interest type
|
Client interest type, which may be:
• IP reachability notify
• EOS0 LDI updates
• IP LDI updates
• 6VPE MPLS nexthop reachability
• 6VPE IP tunnel nexthop reachability
|
Prefix
|
Client prefix. If the interest type is 6VPE, you will see Tunnel Id for the outgoing tunnel if the prefix length is not 0.
|
Number of notifs
|
Number of times the client has been notified about this prefix.
|
State
|
Client state, which may be:
• resolved/unresolved
• mismatch
• path
• notif pending
• cached plat context
• in retry
• stale
|
Via
|
Next hop for this prefix.
|
Total Recursive Paths
|
Number of buckets for recursive loadinfo. This is the number of paths available for a prefix learnt through BGP, or static recursive routes.
|
TLU1
|
Recursive loadinfo parameters.
|
SW/HW
|
HW: Information programmed in hardware.
SW: Software shadow information.
|
local
|
Entry used to forward this traffic type only (if this bit is set). Note that this bit is used only for VPLS broadcast and multicast traffic forwarding.
|
next ptr
|
Next memory location for hardware lookup.
|
num of entries
|
Number of buckets for non-recursive loadinfo. This is the number of paths learned through IGP or static non-recursive routers.
|
Related Commands
show cef ipv4 hardware
To display IPv4 CEF hardware status and configuration information, use the show cef ipv4 hardware command in EXEC mode.
show cef [vrf vrf-name] ipv4 hardware {egress | ingress [detail | location node-id]}
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
egress
|
Displays information from the egress packet switch exchange (PSE) file.
|
ingress
|
Displays information from the ingress packet switch exchange (PSE) file.
|
detail
|
(Optional) Displays full details.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 hardware egress command:
RP/0/RP0/CPU0:router# show cef ipv4 hardware egress
Prefix Next Hop Interface
0.0.0.0/0 172.29.52.1 <recursive>
10.1.1.1/32 receive Loopback0
10.2.2.2/32 10.12.24.2 Bundle-POS24
10.6.6.6/32 10.16.8.6 GigabitEthernet0/6/5/2
10.7.7.7/32 10.12.24.2 Bundle-POS24
10.11.11.11/32 10.12.8.2 POS0/1/0/1
10.12.4.0/24 attached POS0/6/4/5
10.12.4.0/32 broadcast POS0/6/4/5
10.12.4.1/32 receive POS0/6/4/5
10.12.4.255/32 broadcast POS0/6/4/5
10.12.8.0/24 attached POS0/1/0/1
10.12.8.0/32 broadcast POS0/1/0/1
10.12.8.1/32 receive POS0/1/0/1
10.12.8.255/32 broadcast POS0/1/0/1
10.12.12.0/24 attached POS0/6/0/1
Table 17 describes the significant fields shown in the display.
Table 17 show cef ipv4 hardware egress Field Descriptions
Field
|
Description
|
Prefix
|
Nonrecursive prefixes detected on the node.
|
Next Hop
|
Routing next hop.
|
Interface
|
Interface associated with the nonrecursive prefix.
|
Related Commands
show cef ipv4 interface
To display IPv4 Cisco Express Forwarding (CEF)-related information for an interface, use the show cef ipv4 interface command in EXEC mode.
show cef [vrf vrf-name] ipv4 interface type instance [detail] [rpf-statistics] [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
detail
|
(Optional) Displays detailed CEF information for all the interfaces on the node in which the command is issued.
|
rpf-statistics
|
(Optional) Displays the unicast reverse path forwarding (RPF) statistics.
|
location node-id
|
(Optional) Displays IPv4 CEF-related information for an interface. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, the show cef ipv4 interface rpf-statistics command displays the CEF-related information for the interface on the route processor.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 interface command:
RP/0/RP0/CPU0:router# show cef ipv4 interface MgmtEth 0/RP0/CPU0/0
MgmtEth0/0/CPU0/0 is up (if_handle 0x01000100)
ICMP redirects are never sent
IP MTU 1500, TableId 0xe0000000
Table 18 describes the significant fields shown in the display.
Table 18 show cef ipv4 interface Field Descriptions
Field
|
Description
|
MgmtEth 0/RP0/CPU0/0 is up
|
Status of the interface.
|
if_handle
|
Internal interface handle.
|
Forwarding is enabled
|
Indicates that CEF is enabled.
|
ICMP redirects are always sent or never sent
|
Indicates whether ICMP1 redirect messages should be sent. By default, ICMP redirect messages are always sent.
|
IP MTU
|
Value of the IPv4 MTU2 size set on the interface.
|
Reference count
|
Internal reference counter.
|
Related Commands
show cef ipv4 interface bgp-policy-statistics
To display IPv4 Cisco Express Forwarding (CEF)-related BGP policy statistics information for an interface, use the show cef ipv4 interface bgp-policy-statistics command in EXEC mode.
show cef [vrf vrf-name] ipv4 interface type instance bgp-policy-statistics
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
This command displays all the configured BGP policy counters for the specified interface.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 interface bgp-policy-statistics command:
RP/0/RP0/CPU0:router# show cef ipv4 interface TenGigE 0/2/0/4 bgp-policy-statistics
Input BGP policy accounting on src IP address enabled
Output BGP policy accounting on dst IP address enabled
Output BGP policy accounting on src IP address enabled
Table 19 describes the significant fields shown in the display.
Table 19 show cef ipv4 interface bgp-policy-statistics Field Descriptions
Field
|
Description
|
TenGigE 0/2/0/4 is up
|
Status of the interface.
|
Input BGP policy accounting on src IP address enabled
|
Enabled BGP policy accounting features.
|
buckets
|
Traffic index.
|
packets
|
Number of packets counted in the bucket.
|
bytes
|
Number of bytes counted in the bucket.
|
Related Commands
show cef ipv4 non-recursive
To display the IPv4 nonrecursive prefix entries in the IPv4 CEF table, use the show cef ipv4 non-recursive command in EXEC mode.
show cef [vrf vrf-name] ipv4 non-recursive [detail] [hardware egress | ingress] [interface-type
interface-instance] [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
detail
|
(Optional) Displays detailed information about nonrecursive prefix entries in the IPv4 CEF table.
|
hardware
|
(Optional) Displays detailed information about hardware.
|
egress
|
(Optional) Displays egress packet switch exchange (PSE).
|
ingress
|
(Optional) Displays ingress packet switch exchange (PSE).
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
(Optional) Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash mark between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Displays the IPv4 nonrecursive prefix entries in the IPv4 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, the output displays the IPv4 CEF nonrecursive routes for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 non-recursive command:
RP/0/RP0/CPU0:router# show cef ipv4 non-recursive
Prefix Next Hop Interface
12.8.0.0/16 attached MgmtEth0/0/CPU0/0
12.8.0.0/32 broadcast MgmtEth0/0/CPU0/0
12.8.0.1/32 12.8.0.1 MgmtEth0/0/CPU0/0
12.8.0.2/32 12.8.0.2 MgmtEth0/0/CPU0/0
12.8.0.3/32 12.8.0.3 MgmtEth0/0/CPU0/0
12.8.16.10/32 12.8.16.10 MgmtEth0/0/CPU0/0
12.8.16.30/32 12.8.16.30 MgmtEth0/0/CPU0/0
12.8.16.40/32 12.8.16.40 MgmtEth0/0/CPU0/0
12.8.28.8/32 12.8.28.8 MgmtEth0/0/CPU0/0
12.8.28.101/32 12.8.28.101 MgmtEth0/0/CPU0/0
12.8.28.103/32 12.8.28.103 MgmtEth0/0/CPU0/0
12.8.28.104/32 12.8.28.104 MgmtEth0/0/CPU0/0
12.8.28.106/32 receive MgmtEth0/0/CPU0/0
12.8.29.113/32 12.8.29.113 MgmtEth0/0/CPU0/0
12.8.29.118/32 12.8.29.118 MgmtEth0/0/CPU0/0
12.8.29.140/32 12.8.29.140 MgmtEth0/0/CPU0/0
12.8.33.101/32 12.8.33.101 MgmtEth0/0/CPU0/0
12.8.33.103/32 12.8.33.103 MgmtEth0/0/CPU0/0
12.8.33.105/32 12.8.33.105 MgmtEth0/0/CPU0/0
12.8.33.110/32 12.8.33.110 MgmtEth0/0/CPU0/0
12.8.57.1/32 12.8.57.1 MgmtEth0/0/CPU0/0
12.8.255.255/32 broadcast MgmtEth0/0/CPU0/0
12.29.31.2/32 12.29.31.2 MgmtEth0/0/CPU0/0
223.255.0.0/16 attached MgmtEth0/0/CPU0/0
223.255.254.254/32 223.255.254.254 MgmtEth0/0/CPU0/0
Table 20 describes the significant fields shown in the display.
Table 20 show cef ipv4 non-recursive Field Descriptions
Field
|
Description
|
Prefix
|
Nonrecursive prefixes detected on the node.
|
Next Hop
|
Routing next hop.
|
Interface
|
Interface associated with the nonrecursive prefix.
|
Related Commands
show cef ipv4 resources
To display IPv4 CEF resource availability status, use the show cef ipv4 resources command in EXEC mode.
show cef ipv4 resources [detail] [location node-id]
Syntax Description
detail
|
(Optional) Displays detailed information resources listed in the IPv4 CEF table.
|
location node-id
|
(Optional) Displays the IPv4 resource entries in the IPv4 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, the output displays the IPv4 CEF nonrecursive routes for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 resource command:
RP/0/RP0/CPU0:router# show cef ipv4 resource detail
CEF resource availability summary state: GREEN
ipv4 shared memory resource:
CurrMode GREEN, CurrUtil 0%
CurrAvail 1874526208 bytes, MaxAvail 1875693568 bytes
ipv6 shared memory resource:
CurrMode GREEN, CurrUtil 0%
CurrAvail 1874591744 bytes, MaxAvail 1875365888 bytes
mpls shared memory resource:
CurrMode GREEN, CurrUtil 0%
CurrAvail 1874407424 bytes, MaxAvail 1875038208 bytes
common shared memory resource:
CurrMode GREEN, CurrUtil 0%
CurrAvail 1873215488 bytes, MaxAvail 1874972672 bytes
TABLE hardware resource: GREEN
LEAF hardware resource: GREEN
LOADINFO hardware resource: GREEN
NHINFO hardware resource: GREEN
LABEL_INFO hardware resource: GREEN
IDB hardware resource: GREEN
FRR_NHINFO hardware resource: GREEN
LDSH_ARRAY hardware resource: GREEN
RSRC_MON hardware resource: GREEN
Table 21 describes the significant fields shown in the display.
Table 21 show cef ipv4 non-recursive Field Descriptions
Field
|
Description
|
Prefix
|
Nonrecursive prefixes detected on the node.
|
Next Hop
|
Routing next hop.
|
Interface
|
Interface associated with the nonrecursive prefix.
|
Related Commands
show cef ipv4 summary
To display a summary of the IPv4 CEF table, use the show cef ipv4 summary command in EXEC mode.
show cef [vrf vrf-name] ipv4 summary [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays a summary of the IPv4 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command displays a summary of the IPv4 CEF table for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 summary command:
RP/0/RP0/CPU0:router# show cef ipv4 summary
IP CEF with switching (Table Version 43)
tableid 0xe0000000, vrfid 0x60000000, vrfname unknown, vrid 0x20000000, flags
34 routes, 0 reresolve, 0 unresolved (0 old, 0 new)
0 load sharing elements, 0 bytes, 0 references
0 CEF route update drops, 9 revisions of existing leaves
9 prefixes modified in place
Adjacency Table has 26 adjacencies
Table 22 describes the significant fields shown in the display.
Table 22 show cef ipv4 summary Field Descriptions
Field
|
Description
|
Table Version
|
Version of the CEF table.
|
tableid
|
Table identification number.
|
vrfid
|
VPN routing and forwarding (VRF) identification (vrfid) number.
|
vrfname
|
VRF name.
|
vrid
|
Virtual router identification (vrid) number.
|
flags
|
Option value for the table
|
routes
|
Total number of routes.
|
reresolve
|
Total number of routes being reresolved.
|
unresolved (x old, x new)
|
Number of routes not yet resolved.
|
load sharing elements
|
Total number of internal load-sharing data structures.
|
bytes
|
Total memory used by internal load sharing data structures.
|
references
|
Total reference count of all internal load sharing data structures.
|
CEF resets
|
Number of CEF table resets.
|
revisions of existing leaves
|
Number of updates to existing prefixes.
|
Exponential (currently xs, peak xs)
|
Currently not used.
|
prefixes modified in place
|
Prefixes modified in place.
|
Adjacency Table has x adjacencies
|
Total number of adjacencies.
|
x incomplete adjacency
|
Total number of incomplete adjacencies.
|
Related Commands
show cef ipv4 unresolved
To display unresolved routes in the IPv4 CEF table, use the show cef ipv4 unresolved command in EXEC mode.
show cef [vrf vrf-name] ipv4 unresolved [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays the unresolved routes in the IPv4 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, the output displays the unresolved routes for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 unresolved command when an unresolved route is detected:
RP/0/RP0/CPU0:router# show cef ipv4 unresolved
Prefix Next Hop Interface
Table 23 describes the significant fields shown in the display.
Table 23 show cef ipv4 unresolved Field Descriptions
Field
|
Description
|
Prefix
|
Prefix of the unresolved CEF.
|
Next Hop
|
Next hop of the unresolved CEF.
|
Interface
|
Next hop interface. A question mark (?) indicates that the interface has not been resolved.
|
Related Commands
show cef ipv6
To display the IPv6 Cisco Express Forwarding (CEF) table, use the show cef ipv6 command in EXEC mode.
show cef [vrf vrf-name] ipv6 [interface-type interface-number | ipv6-prefix/prefix-length] [detail]
[location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
interface-type interface-number
|
(Optional) IPv6 prefixes going through the specified next hop interface.
|
ipv6-prefix/prefix-length
|
(Optional) Longest prefix entry in the CEF table matching the specified IPv6 prefix and prefix length.
|
detail
|
(Optional) Displays detailed IPv6 CEF table information.
|
location node-id
|
(Optional) Displays the IPv6 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
The sample output for the detail keyword is modified for a specific prefix.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command displays the IPv6 CEF table for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following sample output is from the show cef ipv6 command:
RP/0/RP0/CPU0:router# show cef ipv6
recursive fe80::3031:48ff:fe53:5533, POS0/3/0/0
recursive fe80::205:5fff:fe1d:7600, POS0/4/0/0
Table 24 describes the significant fields shown in the display.
Table 24 show cef ipv6 Field Descriptions
Field
|
Description
|
drop
|
Indicates that packets sent to the destination prefix are dropped.
|
loopback
|
Indicates that the prefix points to a loopback address. Packets sent to loopback addresses are dropped.
|
receive
|
Indicates that the prefix is configured on one of the router interfaces. Packets sent to those prefixes are received by the router.
|
connected
|
Indicates that the prefix points to a directly connected next-hop interface.
|
recursive
|
Indicates that the prefix is not directly connected but is reachable through the next-hop prefix displayed.
|
The following sample output is from the show cef ipv6 with the detail keyword:
RP/0/RP0/CPU0:router# show cef ipv6 detail
Loadinfo owner: <this route>
Loadinfo owner: <this route>
interface : <not specified>
flags: loopback, source_fib
Loadinfo owner: <this route>
interface : <not specified>
flags: receive, source_rib
Loadinfo owner: <this route>
Table 25 describes the significant output fields shown in the display.
Table 25 show cef ipv6 detail Field Descriptions
Field
|
Description
|
flags:
|
Properties of the indicated prefix.
|
Loadinfo owner:
|
Owner of the Loadinfo used by the prefix for forwarding. The Loadinfo owner is the prefix that owns the array of pointers to adjacencies.
|
fast adj:
|
Cached adjacency used for forwarding.
|
path 1:
|
The following three items are displayed below path 1:
• flags-Properties of the path.
• next hop-Next-hop prefix if the packet is being forwarded.
• interface-Next-hop interface if the packet is being forwarded.
|
The following sample output is from the show cef ipv6 command for the detail keyword, with 101:1:1::/64 as the ipv6-prefix/prefix-length argument and a location of 0/1/CPU0:
RP/0/RP0/CPU0:router# show cef ipv6 101:1:1::/64 detail location 0/1/CPU0
101:1:1::/64, version 262, internal 0x42000001[1]
Prefix Len 64, traffic index 0, precedence routine (0)
gateway array reference count 1, flags 0x0, [0, flags 0x4900]
Level 1 - Load distribution: 0
[0] via 22:6:1::9, recursive
via 22:6:1::9, 0 dependencies, recursive
next hop 22:6:1::9 via 22:6:1::9/128
Load distribution: _ _ _ (refcount 1)
Hash OK Interface Address
- Y GigabitEthernet0/1/2/1 fe80::250:e2ff:fe8f:8381
- Y GigabitEthernet0/1/2/2 fe80::250:e2ff:fe8f:8382
Related Commands
show cef ipv6 adjacency
To display IPv6 CEF adjacency status and configuration information, use the show cef ipv6 adjacency command in EXEC mode.
show cef [vrf vrf-name] ipv6 adjacency [interface-type interface-instance] [location node-id]
[detail] [discard] [glean] [null] [punt] [remote]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash mark between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
detail
|
(Optional) Displays the detailed adjacency information.
|
discard
|
(Optional) Filters out and displays only the discarded adjacency information.
|
glean
|
(Optional) Filters out and displays only the glean adjacency information.
|
null
|
(Optional) Filters out and displays only the null adjacency information.
|
punt
|
(Optional) Filters out and displays only the punt adjacency information.
|
remote
|
(Optional) Filters out and displays only the remote adjacency information.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command displays the CEF adjacency table for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from show cef ipv6 adjacency command:
RP/0/RP1/CPU0:ios# show cef ipv6 adjacency MgmtEth 0/RP1/CPU0/0
Interface Address Type Refcount
Mg0/RP1/CPU0/0Prefix: 12.25.0.3/32 local 2
Adjacency: PT:0x782a2900 12.25.0.3/32
Interface: Mg0/RP1/CPU0/0
MAC: 00.d0.02.75.ab.fd.00.11.93.ef.e3.50.08.00
Interface Type: 0x8, Base Flags: 0x1
Dependent adj type: remote
Dependent adj intf: Mg0/RP1/CPU0/0
Mg0/RP1/CPU0/0Prefix: 0.24.0.32/32 remote 6
Interface: Mg0/RP1/CPU0/0
Interface Type: 0x8, Base Flags: 0x0
Table 26 describes the significant fields shown in the display.
Table 26 show cef ipv6 adjacency Field Descriptions
Field
|
Description
|
Interface
|
Interface associated with the prefix.
|
Address
|
Prefix address information.
|
Type
|
Type of adjacency, can be either local or remote.
|
Refcount
|
Number of times the adjacency is referenced by other routers.
|
Related Commands
show cef ipv6 adjacency hardware
To displayIPv6 CEF adjacency hardware status and configuration information, use the show cef ipv6 adjacency hardware command in EXEC mode.
show cef [vrf vrf-name] ipv6 adjacency hardware {egress | ingress [detail | discard | drop | glean
| location node-id | null | punt | remote]}
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
egress
|
Displays information from the egress packet switch exchange (PSE) file.
|
ingress
|
Displays information from the ingress packet switch exchange (PSE) file.
|
detail
|
(Optional) Displays full details.
|
discard
|
(Optional) Displays the discard adjacency information.
|
drop
|
(Optional) Displays the drop adjacency information.
|
glean
|
(Optional) Displays the glean adjacency information.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
null
|
(Optional) Displays the null adjacency information.
|
punt
|
(Optional) Displays the punt adjacency information.
|
remote
|
(Optional) Displays the remote adjacency information.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 adjacency hardware command:
RP/0/RP0/CPU0:router# show cef ipv6 adjacency hardware
Interface Address Type Refcount
Interface: Mg0/RP0/CPU0/0 Type: glean
Interface Type: 0x8, Base Flags: 0x4400
Dependent adj type: remote
Dependent adj intf: Mg0/RP0/CPU0/0
Mg0/RP0/CPU0/0Prefix: 64.102.12.47/32 local 3
Adjacency: PT:0x78f5c708 64.102.12.47/32
Interface: Mg0/RP0/CPU0/0
MAC: 00.30.f2.f2.10.38.00.11.93.ef.e8.e6.08.00
Interface Type: 0x8, Base Flags: 0x1
Dependent adj type: remote
Dependent adj intf: Mg0/RP0/CPU0/0
Table 27 describes the significant fields shown in the display.
Table 27 show cef ipv6 adjacency hardware Field Descriptions
Field
|
Description
|
Interface
|
Interface associated with the prefix.
|
Address
|
Prefix address information.
|
Type
|
Type of adjacency, can be either local or remote.
|
Refcount
|
Number of times the adjacency is referenced by other routers.
|
Related Commands
show cef ipv6 drops
To display IPv6 CEF table packet drop counters, use the show cef ipv6 drops command in EXEC mode.
show cef [vrf vrf-name] ipv6 drops [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays IPv6 CEF table packet drop counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
A packet might be dropped by the IPv6 CEF table because of unresolved CEF entries, unsupported features, absence of route information, absence of adjacency information, or an IP checksum error.
If you do not specify a node with the location keyword and node-id argument, this command displays the packet drops for all nodes.
Note
Because no hardware forwarding occurs on the route processor (RP), no packet drop information is displayed for that node.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 drops command:
RP/0/RP0/CPU0:router# show cef ipv6 drops location 0/2/CPU0
Line status down ingress : 0 egress : Not Applicable
Packet sanity fail ingress : 0 egress : 0
PLU set to drop ingress : 0 egress : 0
Unknown type,plu drop ingress : 0 egress : 0
Packet length err ingress : 0 egress : 0
TCAM src-comp err ingress : 0 egress : 0
Table 28 describes the significant fields shown in the display.
Table 28 show cef ipv6 drop Field Descriptions
Field
|
Description
|
Line status down
|
Packet drops due to the line protocol of the incoming interface being down.
|
Packet sanity fail
|
Packet drops due to the prefix failing the IPv6 sanity test. The sanity test verifies that the IPv6 packet is valid.
|
PLU set to drop
|
Packet drops due the IPv6 destination prefix being set to drop.
|
Unknown type, plu drop
|
Packet drops due to the prefix being of an unknown type.
|
Packet length errs
|
Length specified in the header does not match the actual length of the packet received.
|
TCAM src-comp err
|
Packet drops due to source compression errors that have occurred in the hardware.
|
Related Commands
show cef ipv6 exact-route
To display the path an IPv6 flow comprising a source and destination address would take, use the show cef ipv6 exact-route command in EXEC mode.
show cef [vrf vrf-name] ipv6 exact-route {source-address destination-address} [detail | location
node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
detail
|
(Optional) Displays full CEF entry information.
|
location node-id
|
(Optional) Displays the IPv6 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.2
|
This command was introduced on the Cisco CRS-1.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 exact-route command:
RP/0/RP0/CPU0:router# show cef ipv6 exact-route 222::2 9999::6751 location
0/3/CPU0 source address: 222::2 destination address: 9999::6751
interface : TenGigE0/3/0/3 non local interface
Note
In the example above, the show output does not require an explanation of the various fields.
Related Commands
Command
|
Description
|
show cef ipv4 exact-route
|
Displays the path an IPv4 flow comprising a source and destination address will take.
|
show cef ipv6 exceptions
To display IPv6 CEF exception packet counters, use the show cef ipv6 exceptions command in EXEC mode.
show cef [vrf vrf-name] ipv6 exceptions [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays IPv6 CEF exception packet counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
CEF exception packets are those packets that have been sent from the hardware to the software because they require additional handling. The types of IPv6 CEF exception packets are displayed in the output of show cef ipv6 exceptions.
If you do not specify a node with location keyword and node-id argument, this command displays IPv6 CEF exception packet counters for all nodes.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 exceptions command:
RP/0/RP0/CPU0:router: show cef ipv6 exceptions location 0/3/CPU0
IPv6 CEF Exception Statistics
TTL err ingress : 0 egress : Not Applicable
Link-local dst addr ingress : 0 egress : 0
Hop-by-Hop header ingress : 0 egress : 0
PLU entry set to punt ingress : 0 egress : 0
Packet too big ingress : Not Applicable egress : 0
Med priority punt ingress : 0 egress : Not Applicable
Table 29 describes the significant fields shown in the display.
Table 29 show cef ipv6 exceptions Field Descriptions
Field
|
Description
|
TTL err
|
Packets sent to software for processing because the packet header of the IPv6 prefix had a TTL1 error.
|
Link-local dst addr
|
Packets sent to the software for processing because the destination address of the IPv6 prefix is link local.
|
Hop-by-Hop header
|
Packets sent to the software for processing because the IPv6 packet has a hop-by-hop header.
|
PLU entry set to punt
|
Packets sent to software for processing because the IPv6 prefix is set to punt.
|
Packet too big
|
Packets sent to the software for processing because the packet size exceeded the MTU2 .
|
Med priority punt
|
Field used internally for troubleshooting.
|
Related Commands
show cef ipv6 external hardware
To display CEF information related to CEF external clients, use the show cef ipv6 external hardware command in EXEC mode.
show cef [vrf vrf-name] ipv6 external hardare {ingress | detail} location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
ingress
|
Display information read from the ingress packet switch exchange (PSE).
|
detail
|
Displays full information about CEF external clients.
|
location node-id
|
(Optional) Displays CEF exception packet counters for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The show cef ipv6 external hardware command displays every prefix that an external client is interested in as well as the hardware information from the platform.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output for the show cef ipv6 external hardare command:
RP/0/RP0/CPU0:router# show cef ipv6 vrf_1 external hardare ingress location 0/1/0
Interest type : EOS0 LDI updates
State : resolved, mismatch, cached plat context, in retry
Load distribution: 0 (refcount 0)
Hash OK Interface Address
INGRESS External CLient Load info:
TLU1 0x00004610 nexthop: 0.0.0.0
SW: 0x00000002 00010000 00000000 00000100
HW: 0x00000002 00010000 00000000 00000100
Recursive next-hop: 0.0.0.0
Table 30 describes the significant fields shown in the display.
Table 30 show cef ipv4 external hardware Field Descriptions
Field
|
Description
|
Client Name
|
Process name of the client (for example, l2fib_mgr).
|
Interest type
|
Client interest type, which may be:
• IP reachability notify
• EOS0 LDI updates
• IP LDI updates
• 6VPE MPLS nexthop reachability
• 6VPE IP tunnel nexthop reachability
|
Prefix
|
Client prefix. If the interest type is 6VPE, you will see Tunnel Id for the outgoing tunnel if the prefix length is not 0.
|
Number of notifs
|
Number of times the client has been notified about this prefix.
|
State
|
Client state, which may be:
• resolved/unresolved
• mismatch
• path
• notif pending
• cached plat context
• in retry
• stale
|
Via
|
Next hop for this prefix.
|
Total Recursive Paths
|
Number of buckets for recursive loadinfo. This is the number of paths available for a prefix learnt through BGP, or static recursive routes.
|
TLU1
|
Recursive loadinfo parameters.
|
SW/HW
|
HW: Information programmed in hardware.
SW: Software shadow information.
|
next ptr
|
Next memory location for hardware lookup.
|
num of entries
|
Number of buckets for non-recursive loadinfo. This is the number of paths learned through IGP or static non-recursive routers.
|
Related Commands
show cef ipv6 hardware
To display IPv6 CEF hardware status and configuration information, use the show cef ipv6 hardware command in EXEC mode.
show cef [vrf vrf-name] ipv6 hardware {egress | ingress [detail | location node-id]}
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
egress
|
Displays information from the egress packet switch exchange (PSE) file.
|
ingress
|
Displays information from the ingress packet switch exchange (PSE) file.
|
detail
|
(Optional) Displays full details.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 hardware egress command:
RP/0/RP0/CPU0:router# show cef ipv6 hardware egress
Prefix Next Hop Interface
0.0.0.0/0 172.29.52.1 <recursive>
10.1.1.1/32 receive Loopback0
10.2.2.2/32 10.12.24.2 Bundle-POS24
10.6.6.6/32 10.16.8.6 GigabitEthernet0/6/5/2
10.7.7.7/32 10.12.24.2 Bundle-POS24
10.11.11.11/32 10.12.8.2 POS0/1/0/1
10.12.4.0/24 attached POS0/6/4/5
10.12.4.0/32 broadcast POS0/6/4/5
10.12.4.1/32 receive POS0/6/4/5
10.12.4.255/32 broadcast POS0/6/4/5
10.12.8.0/24 attached POS0/1/0/1
10.12.8.0/32 broadcast POS0/1/0/1
10.12.8.1/32 receive POS0/1/0/1
10.12.8.255/32 broadcast POS0/1/0/1
10.12.12.0/24 attached POS0/6/0/1
Table 31 describes the significant fields shown in the display.
Table 31 show cef ipv6 hardware egress Field Descriptions
Field
|
Description
|
Prefix
|
Nonrecursive prefixes detected on the node.
|
Next Hop
|
Routing next hop.
|
Interface
|
Interface associated with the nonrecursive prefix.
|
Related Commands
show cef ipv6 interface bgp-policy-statistics
To display IPv6 Cisco Express Forwarding (CEF)-related BGP policy statistics information for an interface, use the show cef ipv6 interface bgp-policy-statistics command in EXEC mode.
show cef [vrf vrf-name] ipv6 interface type instance bgp-policy-statistics
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The show cef ipv6 interface bgp-policy-statistics command displays all the configured BGP policy counters for the specified interface.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv4 interface bgp-policy-statistics command:
RP/0/RP0/CPU0:router# show cef ipv6 interface TenGigE 0/2/0/4 bgp-policy-statistics
Input BGP policy accounting on src IP address enabled
Output BGP policy accounting on dst IP address enabled
Output BGP policy accounting on src IP address enabled
Table 32 describes the significant fields shown in the display.
Table 32 show cef ipv6 interface bgp-policy-statistics Field Descriptions
Field
|
Description
|
TenGigE 0/2/0/4 is up
|
Status of the interface.
|
Input BGP policy accounting on src IP address enabled
|
Enabled BGP policy accounting features.
|
buckets
|
Traffic index.
|
packets
|
Number of packets counted in the bucket.
|
bytes
|
Number of bytes counted in the bucket.
|
Related Commands
show cef ipv6 interface
To display IPv6 Cisco Express Forwarding (CEF)-related information for an interface, use the show cef ipv6 interface command in EXEC mode.
show cef [vrf vrf-name] ipv6 interface type instance [detail] [rpf-statistics] [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
detail
|
(Optional) Displays detailed CEF information for all the interfaces on the node in which the command is issued.
|
rpf-statistics
|
(Optional) Displays the unicast reverse path forwarding (RPF) statistics.
|
location node-id
|
(Optional) Displays IPv6 CEF-related information for an interface. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, the show cef ipv6 interface command displays the CEF-related information for the interface on the route processor.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 interface command:
RP/0/RP0/CPU0:router# show cef ipv6 interface MgmtEth 0/RP0/CPU0/0
MgmtEth0/0/CPU0/0 is up (if_handle 0x01000100)
ICMP redirects are never sent
IP MTU 1500, TableId 0xe0000000
Table 33 describes the significant fields shown in the display.
Table 33 show cef ipv6 interface Field Descriptions
Field
|
Description
|
MgmtEth 0/RP0/CPU0/0 is up
|
Status of the interface.
|
if_handle
|
Internal interface handle.
|
Forwarding is enabled
|
Indicates that CEF is enabled.
|
ICMP redirects are always sent or never sent
|
Indicates whether ICMP1 redirect messages should be sent. By default, ICMP redirect messages are always sent.
|
IP MTU
|
Value of the IPv4 MTU2 size set on the interface.
|
Reference count
|
Internal reference counter.
|
Related Commands
show cef ipv6 non-recursive
To display the nonrecursive prefix entries in the IPv6 CEF table, use the show cef ipv6 non-recursive command in EXEC mode.
show cef [vrf vrf-name] ipv6 non-recursive [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays the nonrecursive prefix entries in the IPv6 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command displays the nonrecursive routes for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 non-recursive command:
RP/0/RP0/CPU0:router# show cef ipv6 non-recursive
Table 34 describes the significant fields shown in the display.
Table 34 show cef ipv6 non-recursive Field Descriptions
Field
|
Description
|
drop
|
Indicates that packets sent to the destination prefix are dropped.
|
loopback
|
Indicates that the prefix points to a loopback address. Packets sent to loopback addresses are dropped.
|
receive
|
Indicates that the prefix is configured on one of the router interfaces. Packets sent to those prefixes are received by the router.
|
connected
|
Indicates that the prefix points to a directly connected next-hop interface.
|
Related Commands
show cef ipv6 resources
To display IPv6 CEF resource availability status, use the show cef ipv6 resources command in EXEC mode.
show cef ipv6 resources [ detail ] [location node-id]
Syntax Description
detail
|
(Optional) Displays detailed information resources listed in the IPv6 CEF table.
|
location node-id
|
(Optional) Displays the IPv6 resource entries in the IPv6 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, the output displays the IPv6 CEF nonrecursive routes for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 resource command:
RP/0/RP0/CPU0:router# show cef ipv6 resource
CEF resource availability summary state: GREEN
ipv4 shared memory resource: GREEN
ipv6 shared memory resource: GREEN
mpls shared memory resource: GREEN
common shared memory resource: GREEN
TABLE hardware resource: GREEN
LEAF hardware resource: GREEN
LOADINFO hardware resource: GREEN
NHINFO hardware resource: GREEN
LABEL_INFO hardware resource: GREEN
IDB hardware resource: GREEN
FRR_NHINFO hardware resource: GREEN
LDSH_ARRAY hardware resource: GREEN
RSRC_MON hardware resource: GREEN
Note
In the example above, the show output does not require an explanation of the various fields.
Related Commands
show cef ipv6 summary
To display a summary of the IPv6 CEF table, use the show cef ipv6 summary command in EXEC mode.
show cef [vrf vrf-name] ipv6 summary [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays a summary of the IPv6 CEF table for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.2
|
This command was introduced on the Cisco CRS-1.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command displays a summary of the IPv6 CEF table for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
The following is sample output from the show cef ipv6 summary command:
RP/0/RP0/CPU0:router# show cef ipv6 summary
IPv6 CEF with switching (Table Version 0)
9 routes, 0 background, 0 pending, 0 unresolved paths
9 load sharing elements, 324 bytes, 9 references
3384 bytes fib leaf memory
Adjacency Table has 15 adjacencies
Table 35 describes the significant fields shown in the display.
Table 35 show cef ipv6 summary Field Descriptions
Field
|
Description
|
Table Version
|
Version of the CEF table.
|
routes
|
Total number of routes.
|
unresolved (x old, x new)
|
Number of routes not yet resolved.
|
load sharing elements
|
Total number of internal load-sharing data structures.
|
bytes
|
Total memory used by internal load sharing data structures.
|
references
|
Total reference count of all internal load sharing data structures.
|
CEF resets
|
Number of CEF table resets.
|
revisions of existing leaves
|
Number of updates to existing prefixes.
|
Exponential (currently xs, peak xs)
|
Currently not used.
|
prefixes modified in place
|
Prefixes modified in place.
|
Router ID
|
Router identification.
|
Adjacency Table has x adjacencies
|
Total number of adjacencies.
|
x incomplete adjacency
|
Total number of incomplete adjacencies.
|
Related Commands
show cef ipv6 unresolved
To display the unresolved routes in the IPv6 CEF table, use the show cef ipv6 unresolved command in EXEC mode.
show cef [vrf vrf-name] ipv6 unresolved [location node-id]
Syntax Description
vrf
|
(Optional) Displays VPN routing and forwarding (VRF) instance information.
|
vrf-name
|
(Optional) Name of a VRF.
|
location node-id
|
(Optional) Displays the unresolved routes in the IPv6 CEF table for the specified node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
The vrf keyword and vrf-name argument were added.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command displays the unresolved routes for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
This following is sample output from show cef ipv6 unresolved command when an unresolved route is detected:
RP/0/RP0/CPU0:router# show cef ipv6 unresolved
Table 36 describes the significant fields shown in the display.
Table 36 show cef ipv6 unresolved Field Descriptions
Field
|
Description
|
xxxx::/xx
|
Detected unresolved route.
|
Related Commands
show cef mpls adjacency
To display the Multiprotocol Label Switching (MPLS) adjacency table, use the show cef mpls adjacency command in EXEC mode.
show cef mpls adjacency [interface-type interface-instance] [location node-id]
Syntax Description
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash mark between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If you do not specify a node with the location keyword and node-id argument, this command displays the unresolved routes for the node on which the command is issued.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
This following is sample output from show cef mpls adjacency command:
RP/0/RP0/CPU0:router# show cef mpls adjacency
Interface Address Type Refcount
BP24 Prefix: 0/0 local 10
Interface Type: 0x1d, Base Flags: 0x100
Dependent adj type: remote
Related Commands
show cef mpls unresolved
To display the Multiprotocol Label Switching (MPLS) unresolved routes, use the show cef mpls unresolved command in EXEC mode.
show cef mpls unresolved [detail] [location node-id]
Syntax Description
detail
|
(Optional) Displays detailed adjacency information, including Layer 2 information.
|
location node-id
|
(Optional) Displays detailed CEF information for the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
This following is sample output from show cef mpls unresolved command:
RP/0/RP0/CPU0:router# show cef mpls unresolved
Label/EOS Next Hop Interface
Related Commands
show cef vrf
To display the contents of the VPN routing and forwarding (VRF) instance, use the show cef vrf command in EXEC mode.
show cef vrf [vrf-name]
Syntax Description
vrf-name
|
Name of the VRF instance.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
cef
|
read
|
Examples
This following is sample output from show cef vrf command when an unresolved route is detected:
RP/0/RP0/CPU0:router# show cef vrf 0
Prefix Next Hop Interface
0.0.0.0/0 drop default handler
255.255.255.255/32 broadcast
Table 37 describes the significant fields shown in the display.
Table 37 show cef vrf Field Descriptions
Field
|
Description
|
Prefix
|
Prefix in the IPv4 CEF table.
|
Next Hop
|
Next hop of the prefix.
|
Interface
|
Interface associated with the prefix.
|