Cisco IOS XR IP Addresses and Services Command Reference, Release 3.2
LPTS Commands on Cisco IOS XR Software
Downloads: This chapterpdf (PDF - 437.0KB) The complete bookPDF (PDF - 3.4MB) | Feedback

LPTS Commands on Cisco IOS XR Software

Table Of Contents

LPTS Commands on Cisco IOS XR Software

clear lpts ifib statistics

clear lpts pifib statistics

show lpts bindings

show lpts clients

show lpts flows

show lpts ifib

show lpts ifib slices

show lpts ifib statistics

show lpts ifib times

show lpts mpa groups

show lpts pifib

show lpts pifib lookup

show lpts pifib statistics


LPTS Commands on Cisco IOS XR Software


This document describes the Cisco IOS XR commands used to monitor Local Packet Transport Services (LPTS).

clear lpts ifib statistics

To clear the Internal Forwarding Information Base (IFIB) statistics, use the clear lpts ifib statistics command in EXEC mode.

clear lpts ifib statistics [location node-id]

Syntax Description

location node-id

(Optional) Clears the IFIB statistics for the designated node. The node-id argument is entered in standard 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.


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 the IFIB statistics for the node on which the command is run.

Examples

The following example shows how to clear the IFIB statistics for the RP:

RP/0/RP0/CPU0:router# clear lpts ifib statistics

Related Commands

Command
Description

show lpts ifib statistics

Displays the LPTS IFIB statistics.


clear lpts pifib statistics

To clear the Pre-Internal Forwarding Information Base (Pre-IFIB) statistics, use the clear lpts pifib statistics command in EXEC mode.

clear lpts pifib statistics [location node-id]

Syntax Description

location node-id

(Optional) Clears the Pre-IFIB 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.


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 the Pre-IFIB statistics for the node on which the command is run.

Examples

The following example shows how to clear the Pre-IFIB statistics for the RP:

RP/0/RP0/CPU0:router# clear lpts pifib statistics

Related Commands

Command
Description

show lpts pifib statistics

Displays the LPTS PIFIB statistics.


show lpts bindings

To display the binding information in the Port Arbitrator, use the show lpts bindings command in EXEC mode.

show lpts bindings [location node-id] [client-id {clnl | ipsec | ipv4-io | ipv6-io | mpa | tcp | test | udp | raw}] [brief]

Syntax Description

location node-id

(Optional) Displays information for the specified node. The node-id argument is entered in the rack/slot/module notation.

client-id

(Optional) Type of client. It can be one of the following values:

clnl—ISO connectionless protocol (used by IS-IS)

ipsec—Secure IP

ipv4-io—Traffic processed by the IPv4 stack

ipv6-io—Traffic processed by the IPv6 stack

mpa—Multicast Port Arbitrator (multicast group joins)

tcp—Transmission Control Protocol

test—Test applications

udp—User Datagram Protocol

raw—Raw IP

brief

(Optional) Displays summary output.


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.


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 lpts bindings command displays the Local Packet Transport Services (LPTS) bindings (requests to receive traffic of a particular type). Bindings are aggregated into flows by the LPTS Port Arbitrator; flows are then programmed into the Internal Forwarding Information Base (IFIB) and Pre-IFIB to direct packets to applications.

If you specify the optional client-id keyword and type of client, only bindings from that client are shown. If you specify the optional location keyword and node-id argument, only bindings from clients on that node are displayed.

Examples

The following is sample output from the show lpts bindings command, displaying bindings for all client ID types:

RP/0/RP0/CPU0:router# show lpts bindings
------------------------------------------
Location   :0/1/CPU0
Client ID  :IPV4_IO
Cookie     :0x00000001
Clnt Flags :
Layer 3    :IPV4
Layer 4    :ICMP
Local Addr :any
Remote Addr:any
Local Port :any
Remote Port:any
Filters    :Type / Intf or Pkt Type / Source Addr / Location
 INCLUDE_TYPE / type 8
 INCLUDE_TYPE / type 13
 INCLUDE_TYPE / type 17
------------------------------------------
Location   :0/2/CPU0
Client ID  :IPV4_IO
Cookie     :0x00000001
Clnt Flags :
Layer 3    :IPV4
Layer 4    :ICMP
Local Addr :any
Remote Addr:any
Local Port :any
Remote Port:any
Filters    :Type / Intf or Pkt Type / Source Addr / Location
 INCLUDE_TYPE / type 8
 INCLUDE_TYPE / type 13
 INCLUDE_TYPE / type 17
------------------------------------------
Location   :0/RP1/CPU0
Client ID  :TCP
Cookie     :0x4826f1f8
Clnt Flags :REUSEPORT
Layer 3    :IPV4
Layer 4    :TCP
Local Addr :any
Remote Addr:any
Local Port :7
Remote Port:any
------------------------------------------
Location   :0/RP1/CPU0
Client ID  :TCP
Cookie     :0x4826fa0c
Clnt Flags :REUSEPORT
Layer 3    :IPV4
Layer 4    :TCP
Local Addr :any
Remote Addr:any
Local Port :9
Remote Port:any
------------------------------------------
Location   :0/RP1/CPU0
Client ID  :TCP
Cookie     :0x482700d0
Clnt Flags :REUSEPORT
Layer 3    :IPV4
Layer 4    :TCP
Local Addr :any
Remote Addr:any
Local Port :19
Remote Port:any
------------------------------------------
Location   :0/RP1/CPU0
Client ID  :IPV4_IO
Cookie     :0x00000001
Clnt Flags :
Layer 3    :IPV4
Layer 4    :ICMP
Local Addr :any
Remote Addr:any
Local Port :any
Remote Port:any
Filters    :Type / Intf or Pkt Type / Source Addr / Location
 INCLUDE_TYPE / type 8
 INCLUDE_TYPE / type 13
 INCLUDE_TYPE / type 17
 
   

Table 35 describes the significant fields shown in the display.

Table 35 show lpts bindings Field Descriptions

Field
Description

Location

Node location, in the format of rack/slot/module.

Client ID

LPTS client type.

Cookie

Client's unique tag for the binding.

Clnt Flags

REUSEPORT -- client has set the SO_REUSEPORT or SO_REUSEADDR socket option.

Layer 3

Layer 3 protocol (IPv4, IPv6, CLNL).

Layer 4

Layer 4 protocol (TCP, UDP).

Local Addr

Local (destination) address.

Remote Addr

Remote (source) address.

Local Port

Local (destination) TCP or UDP port, or ICMP/IGMP packet type, or IPsec SPI.

Remote Port

Remote (source) TCP or UDP port.


The following is sample output from the show lpts bindings brief command:

RP/0/RP0/CPU0:router# show lpts bindings brief
 
   
@ - Indirect binding; Sc - Scope
 
   
 Location   Clnt Cookie   Sc L3   L4    Local,Remote Address.Port  Interface
 ---------- ---- -------- -- ---- ----- -------------------------- ------------
 0/1/CPU0   IPV4 00000001 LO IPV4 ICMP  any.ECHO any               any
 0/1/CPU0   IPV4 00000001 LO IPV4 ICMP  any.TSTAMP any             any
 0/1/CPU0   IPV4 00000001 LO IPV4 ICMP  any.MASKREQ any            any
 0/2/CPU0   IPV4 00000001 LO IPV4 ICMP  any.ECHO any               any
 0/2/CPU0   IPV4 00000001 LO IPV4 ICMP  any.TSTAMP any             any
 0/2/CPU0   IPV4 00000001 LO IPV4 ICMP  any.MASKREQ any            any
 0/RP1/CPU0 TCP  4826f1f8 LR IPV4 TCP   any.7 any                  any
 0/RP1/CPU0 TCP  4826fa0c LR IPV4 TCP   any.9 any                  any
 0/RP1/CPU0 TCP  482700d0 LR IPV4 TCP   any.19 any                 any
 0/RP1/CPU0 IPV4 00000001 LO IPV4 ICMP  any.ECHO any               any
 0/RP1/CPU0 IPV4 00000001 LO IPV4 ICMP  any.TSTAMP any             any
 0/RP1/CPU0 IPV4 00000001 LO IPV4 ICMP  any.MASKREQ any            any
 
   

Table 36 describes the significant fields shown in the display.

Table 36 show lpts bindings brief Field Descriptions

Field
Description

Location

Node location, in the format of rack/slot/module.

Clnt ID

LPTS client type.

Cookie

Client's unique tag for the binding.

Sc

Scope (LR = Logical-Router, LO = Local).

Layer 3

Layer 3 protocol.

Layer 4

Layer 4 protocol.

Local,Remote Address.Port

Local (destination) and Remote (source) addresses and ports or packet types.

Interface

Inbound interface.


Related Commands

Command
Description

show lpts clients

Displays the client information for the Port Arbitrator.

show lpts flows

Displays information about LPTS flows.


show lpts clients

To display the client information for the Port Arbitrator, use the show lpts clients command in EXEC mode.

show lpts clients [times]

Syntax Description

times

(Optional) Displays information about binding request rates and service times.


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.


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 lpts clients command displays the clients connected to the local packet transport services (LPTS) port arbitrator (PA).

Examples

The following is sample output from the show lpts clients command:

RP/0/RP0/CPU0:router# show lpts clients
 
   
o_flgs - open flags ; clid - client id
clid            loc             flags   o_flgs
RAW(3)          0/RP1/CPU0      0x1     0x2
TCP(1)          0/RP1/CPU0      0x1     0x2
IPV4_IO(5)      0/1/CPU0        0x3     0x2
IPV4_IO(5)      0/2/CPU0        0x3     0x2
IPV4_IO(5)      0/RP1/CPU0      0x3     0x2
MPA(7)          0/RP1/CPU0      0x3     0x0
 
   

Table 37 describes the significant fields shown in the display.

Table 37 show lpts clients Field Descriptions

Field
Description

Clid

LPTS client ID.

Loc

Node location, in the format rack/slot/module.

Flags

Client flags.

o_flags

Open flags.


The following is sample output from the show lpts clients times command. The output shows samples for the last 30 seconds, 1 minute, 5 minutes, 10 minutes, and a total (if nonzero). The number of transactions, number of updates, and the minimum/average/maximum time in milliseconds to process each transaction is shown.

RP/0/RP0/CPU0:router# show lpts clients times
 
   
o_flgs - open flags ; clid - client id
clid            loc     flags   o_flgs
RAW(3)          0/RP1/CPU0      0x1     0x2
   30s:2 tx 2 upd 2/2/3ms/tx
    1m:2 tx 2 upd 2/2/3ms/tx
    5m:2 tx 2 upd 2/2/3ms/tx
   10m:2 tx 2 upd 2/2/3ms/tx
 total:2 tx 2 upd 2/-/3ms/tx
TCP(1)          0/RP1/CPU0      0x1     0x2
 total:3 tx 3 upd 1/-/1ms/tx
IPV4_IO(5)      0/1/CPU0        0x3     0x2
 total:1 tx 1 upd 0/-/0ms/tx
IPV4_IO(5)      0/2/CPU0        0x3     0x2
 total:1 tx 1 upd 1/-/1ms/tx
IPV4_IO(5)      0/RP1/CPU0      0x3     0x2
 total:1 tx 1 upd 3/-/3ms/tx
MPA(7)          0/RP1/CPU0      0x3     0x0

Related Commands

Command
Description

show lpts bindings

Displays the binding information in the port arbitrator.

show lpts flows

Displays information about LPTS flows.


show lpts flows

To display information about Local Packet Transport Services (LPTS) flows, use the show lpts flows command in EXEC mode.

show lpts flows [brief]

Syntax Description

brief

(Optional) Displays summary output.


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.


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 lpts flows command is used to display LPTS flows, which are aggregations of identical binding requests from multiple clients and are used to program the LPTS Internal Forwarding Information Base (IFIB) and Pre-IFIB.

Examples

The following is sample output from the show lpts flows command:

RP/0/RP0/CPU0:router# show lpts flows
 
   
------------------------------------------
L3-proto    :IPV4(2)
L4-proto    :ICMP(1)
Local-IP    :any
Remote-IP   :any
Pkt-Type    :8
Remote-Port :any
Interface   :any (0x0)
Flow-type   :ICMP-local
Min-TTL     :0
Slice       :RAWIP4_FM
Flags       :0x20 (in Pre-IFIB)
Location    :(drop)
Element References 
location / count / scope
* / 3 / LOCAL
------------------------------------------
L3-proto    :IPV4(2)
L4-proto    :ICMP(1)
Local-IP    :any
Remote-IP   :any
Pkt-Type    :13
Remote-Port :any
Interface   :any (0x0)
Flow-type   :ICMP-local
Min-TTL     :0
Slice       :RAWIP4_FM
Flags       :0x20 (in Pre-IFIB)
Location    :(drop)
Element References 
location / count / scope
* / 3 / LOCAL
------------------------------------------
L3-proto    :IPV4(2)
L4-proto    :ICMP(1)
Local-IP    :any
Remote-IP   :any
Pkt-Type    :17
Remote-Port :any
Interface   :any (0x0)
Flow-type   :ICMP-local
Min-TTL     :0
Slice       :RAWIP4_FM
Flags       :0x20 (in Pre-IFIB)
Location    :(drop)
Element References 
location / count / scope
* / 3 / LOCAL
------------------------------------------
L3-proto    :IPV4(2)
L4-proto    :TCP(6)
Local-IP    :any
Remote-IP   :any
Local-Port  :7
Remote-Port :any
Interface   :any (0x0)
Flow-type   :TCP-listen
Min-TTL     :0
Slice       :TCP4_FM
Flags       :0x60 (in Pre-IFIB, deliver to one)
Location    :0/RP1/CPU0
Element References 
location / count / scope
0/RP1/CPU0 / 1 / LR
------------------------------------------
L3-proto    :IPV4(2)
L4-proto    :TCP(6)
Local-IP    :any
Remote-IP   :any
Local-Port  :9
Remote-Port :any
Interface   :any (0x0)
Flow-type   :TCP-listen
Min-TTL     :0
Slice       :TCP4_FM
Flags       :0x60 (in Pre-IFIB, deliver to one)
Location    :0/RP1/CPU0
Element References 
location / count / scope
0/RP1/CPU0 / 1 / LR
------------------------------------------
L3-proto    :IPV4(2)
L4-proto    :TCP(6)
Local-IP    :any
Remote-IP   :any
Local-Port  :19
Remote-Port :any
Interface   :any (0x0)
Flow-type   :TCP-listen
Min-TTL     :0
Slice       :TCP4_FM
Flags       :0x60 (in Pre-IFIB, deliver to one)
Location    :0/RP1/CPU0
Element References 
location / count / scope
0/RP1/CPU0/1/LR
 
   

Table 38 describes the significant fields shown in the display.

Table 38 show lpts flows Field Descriptions

Field
Description

L3-proto

Layer 3 protocol (IPv4, IPv6, CLNL).

L4-proto

Layer 4 protocol (TCP, UDP, and so on.).

Local-IP

Local (destination) IP address.

Remote-IP

Remote (source) IP address.

Pkt-Type

ICMP or IGMP packet type.

Local-Port

Local (destination) TCP or UDP port.

SPI

IPsec Security Parameters Index.

Remote-Port

Remote (source) TCP or UDP port.

Interface

Ingress interface.

Pak-prio

Internal packet processing priority (LO, MED, or HI).

RL-prio

Rate limit (LO, MED, or HI).

Slice

IFIB slice.

Flags

Has FGID: delivered to multiple destinations

No IFIB entry: IFIB entry suppressed

Retrying FGID allocation

In Pre-IFIB: entry is in Pre-IFIB as well

Deliver to one: if multiple bindings, will deliver to only one

Location

rack/slot/module to deliver to

Element References

location: rack/slot/module of client

count: number of clients at that location

scope: binding scope (LR:Logical Router, LOCAL:Local)


The following is sample output from the show lpts flows brief command:

RP/0/RP0/CPU0:router# show lpts flows brief
 
   
+ - Additional delivery destination; L - Local interest; P - In Pre-IFIB
 
   
 L3   L4    Local, Remote Address.Port               Interface    Location    LP
 ---- ----- ---------------------------------------- ------------ ----------- --
 IPV4 ICMP  any.ECHO any                             any          (drop)      LP
 IPV4 ICMP  any.TSTAMP any                           any          (drop)      LP
 IPV4 ICMP  any.MASKREQ any                          any          (drop)      LP
 IPV4 TCP   any.7 any                                any          0/RP1/CPU0   P
 IPV4 TCP   any.9 any                                any          0/RP1/CPU0   P
 IPV4 TCP   any.19 any                               any          0/RP1/CPU0   P
 
   

Table 39 describes the significant fields shown in the display.

Table 39 show lpts flows brief Field Descriptions

Field
Description

L3

Layer 3 protocol (IPv4, IPv6, CLNL).

L4

Layer 4 protocol.

Local, Remote Address.Port

Local (destination) and remote (source) IP addresses and TCP or UDP ports, or ICMP/IGMP packet types, or IPSec Security Parameters Indices.

Interface

Ingress interface.

Location

Delivery location:

rack/slot/module—individual location

[0xNNNNN]—multiple locations (platform-dependent value)

(drop)—do not deliver to any application

L

Local interest (to be processed by IPv4 or IPv6 stack directly).

P

Entry is resident in Pre-IFIB.


Related Commands

Command
Description

show lpts bindings

Displays the binding information in the port arbitrator.

show lpts clients

Displays the client information for the port arbitrator.


show lpts ifib

To display the entries in the Internal Forwarding Information Base (IFIB), use the show lpts ifib command in EXEC mode.

show lpts ifib [entry] [type {bgp4 | bgp6 | isis | mcast4 | mcast6 | ospf-mc4 | ospf-mc6 | ospf4 | ospf6 | raw4 | raw6 | tcp4 | tcp6 | udp4 | udp6} | all] [brief [statistics]]

Syntax Description

entry

(Optional) Displays IFIB entries.

type

(Optional) Enter protocol types.

bgp4—IPv4 Border Gateway Protocol (BGP) slice

bgp6—IPv6 BGP slice

isis—Intermediate System-to-Intermediate System (IS-IS) slice

mcast4—IPv4 multicast slice

mcast6—IPv6 multicast slice

ospf-mc4—IPv4 Open Shortest Path First (OSPF) multicast slice

ospf-mc6—IPv6 OSPF multicast slice

ospf4—IPv4 OSPF slice

ospf6—IPv6 OSPF slice

raw4—IPv4 raw IP

raw6—IPv6 raw IP

tcp4—IPv4 Transmission Control Protocol (TCP) slice

tcp6—IPv6 TCP slice

udp4—IPv4 UDP slice

udp6—IPv6 UDP slice

all

All IFIB types.

brief

(Optional) IFIB entries in brief format.

statistics

(Optional) IFIB table with statistics information.


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.


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 this command to display detailed information about the entries in an IFIB slice. This command is useful for debugging problems with delivering packets to applications.

When the statistics keyword is used, detailed statistics are displayed for packet count, number of entries in each slice, and a total entries count.

Examples

The following is sample output from the show lpts ifib command:

RP/0/RP1/CPU0:router# show lpts ifib
 
   
O - Opcode; A - Accept Counter; D - Drop Counter; F - Flow Type; 
L - Listener Tag; I - Local Flag; Y - SYN; T - Min TTL;
DV - Deliver; DP - Drop; RE - Reassemble;
na - Not Applicable
----------------------------------------------------
Port/Type        :Port:7
Source Port      :any
Dest IP          :any
Source IP        :any
Layer 4          :TCP (6)
Interface        :any (0x0)
O/A/D/F/L/I/Y/T  :DELIVER/0/0/TCP-listen/IPv4_LISTENER/0/0/0
Deliver List     :0/RP1/CPU0
----------------------------------------------------
Port/Type        :Port:9
Source Port      :any
Dest IP          :any
Source IP        :any
Layer 4          :TCP (6)
Interface        :any (0x0)
O/A/D/F/L/I/Y/T  :DELIVER/0/0/TCP-listen/IPv4_LISTENER/0/0/0
Deliver List     :0/RP1/CPU0
----------------------------------------------------
Port/Type        :Port:19
Source Port      :any
Dest IP          :any
Source IP        :any
Layer 4          :TCP (6)
Interface        :any (0x0)
O/A/D/F/L/I/Y/T  :DELIVER/0/0/TCP-listen/IPv4_LISTENER/0/0/0
Deliver List     :0/RP1/CPU0
 
   

Table 40 describes the significant fields shown in the display.

Table 40 show lpts ifib entries Field Descriptions 

Field
Description

Port/Type

Destination (local) TCP or UDP port number, or ICMP/IGMP packet type, or IPSec Security Parameters Index.

Source Port

Source (remote) TCP or UDP port.

Dest IP

Destination (local) IP address.

Source IP

Source (remote) IP address.

Layer 4

Layer 4 protocol number (6 = TCP)

Interface

Ingress interface name.

O/S/P/R/L/I/Y

O: Opcode (DELIVER, DROP, or REASSEMBLE

S: Stats counter

P: Packet forwarding priority (LO, MED, or HIGH)

R: Rate limit (LO, MED, or HIGH)

L: Listener tag (IPv4_STACK, IPv6_STACK, or CLNL_STACK)

I: Local-interest flag (0 or 1)

Y: TCP SYN flag (0 or 1)

Deliver List

(drop)—Drop packet

rack/slot/module—Deliver to single destination

[0xNNNN]—Deliver to multiple destinations (platform-dependent format)


The following is sample output from the show lpts ifib brief command:

RP/0/RP0/CPU0:router# show lpts ifib brief
 
   
 Slice    Local, Remote Address.Port            L4    Interface    Dlvr
 -------- ------------------------------------- ----- ------------ -----------
 TCP4     any.7 any                             TCP   any          0/RP1/CPU0
 TCP4     any.9 any                             TCP   any          0/RP1/CPU0
 
   

The following is sample output from the show lpts ifib brief statistics command:

RP/0/RP0/CPU0:router# show lpts ifib brief statistics
 
   
 Slice    Local, Remote Address.Port            L4    Interface    Accept/Drop
 -------- ------------------------------------- ----- ------------ -----------
 TCP4     any.7 any                             TCP   any          0/0
 TCP4     any.9 any                             TCP   any          0/0
 TCP4     any.19 any                            TCP   any          0/0
 
   
 Slice    Num. Entries Accepts/Drops
 -------- ------------ -------------
 TCP4     3            0/0
 Total    3            0/0

Related Commands TCP4 any.19 any TCP any 0/RP1/CPU0

Command
Description

show lpts ifib slices

Displays IFIB slice information.


show lpts ifib slices

To display Internal Forwarding Information Base (IFIB) slice information, use the show lpts ifib slices command in EXEC mode.

show lpts ifib slices [type {bgp4 | bgp6 | isis | mcast4 | mcast6 | ospf-mc4 | ospf-mc6 | ospf4 | ospf6 | raw4 | raw6 | tcp4 | tcp6 | udp4 | udp6}] [all] [statistics] [times]

Syntax Description

type

(Optional) Enter protocol types.

bgp4—IPv4 Border Gateway Protocol (BGP) slice

bgp6—IPv6 BGP slice

isis—Intermediate System-to-Intermediate System (IS-IS) slice

mcast4—IPv4 multicast slice

mcast6—IPv6 multicast slice

ospf-mc4—IPv4 Open Shortest Path First (OSPF) multicast slice

ospf-mc6—IPv6 OSPF multicast slice

ospf4—IPv4 OSPF slice

ospf6—IPv6 OSPF slice

raw4—IPv4 raw IP

raw6—IPv6 raw IP

tcp4—IPv4 Transmission Control Protocol (TCP) slice

tcp6—IPv6 TCP slice

udp4—IPv4 UDP slice

udp6—IPv6 UDP slice

all

(Optional) All entries.

statistics

(Optional) Statistics for slice lookups.

times

(Optional) IFIB update transaction times.


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.


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 show lpts ifib slices command when troubleshooting IFIB entries and slice assignments. This command is especially useful when troubleshooting problems with delivering packets to applications.

Examples

The following is sample output from the show lpts ifib slices command:

RP/0/RP0/CPU0:router# show lpts ifib slices 
 
   
Slice    L3   L4     Port  Location
-------- ---- ------ ----- --------
RAWIP4   IPV4 any    any   0/RP1/CPU0
RAWIP6   IPV6 any    any   0/RP1/CPU0
OSPF4    IPV4 OSPF   any   0/RP1/CPU0
OSPF6    IPV6 OSPF   any   0/RP1/CPU0
OSPF_MC4 IPV4 any    any   0/RP1/CPU0
OSPF_MC6 IPV6 any    any   0/RP1/CPU0
BGP4     IPV4 TCP    179   0/RP1/CPU0
BGP6     IPV6 TCP    179   0/RP1/CPU0
UDP4     IPV4 UDP    any   0/RP1/CPU0
UDP6     IPV6 UDP    any   0/RP1/CPU0
TCP4     IPV4 TCP    any   0/RP1/CPU0
TCP6     IPV6 TCP    any   0/RP1/CPU0
ISIS     CLNS -      any   0/RP1/CPU0
MCAST4   IPV4 any    any   0/RP1/CPU0
MCAST6   IPV6 any    any   0/RP1/CPU0
 
   

The following is sample output from the show lpts ifib slices times command:

RP/0/RP0/CPU0:router# show lpts ifib slices times
 
   
Slice    L3   L4     Port  Location
-------- ---- ------ ----- --------
RAWIP4   IPV4 any    any   0/RP1/CPU0
RAWIP6   IPV6 any    any   0/RP1/CPU0
OSPF4    IPV4 OSPF   any   0/RP1/CPU0
OSPF6    IPV6 OSPF   any   0/RP1/CPU0
OSPF_MC4 IPV4 any    any   0/RP1/CPU0
OSPF_MC6 IPV6 any    any   0/RP1/CPU0
BGP4     IPV4 TCP    179   0/RP1/CPU0
BGP6     IPV6 TCP    179   0/RP1/CPU0
UDP4     IPV4 UDP    any   0/RP1/CPU0
UDP6     IPV6 UDP    any   0/RP1/CPU0
TCP4     IPV4 TCP    any   0/RP1/CPU0
TCP6     IPV6 TCP    any   0/RP1/CPU0
ISIS     CLNS -      any   0/RP1/CPU0
MCAST4   IPV4 any    any   0/RP1/CPU0
MCAST6   IPV6 any    any   0/RP1/CPU0
  Flow Manager 0/RP1/CPU0:
   total:5 tx 13 upd 1/-/1ms/tx
 
   

The following is sample output from the show lpts ifib slices statistics command.

RP/0/RP0/CPU0:router# show lpts ifib slices statistics
 
   
Slice    L3   L4     Port  Location   Lookups RmtDlvr Rejects RLDrops NoEntry
-------- ---- ------ ----- ---------- ------- ------- ------- ------- -------
RAWIP4   IPV4 any    any   0/RP1/CPU0 0       0       0       0       0      
RAWIP6   IPV6 any    any   0/RP1/CPU0 0       0       0       0       0      
OSPF4    IPV4 OSPF   any   0/RP1/CPU0 0       0       0       0       0      
OSPF6    IPV6 OSPF   any   0/RP1/CPU0 0       0       0       0       0      
OSPF_MC4 IPV4 any    any   0/RP1/CPU0 0       0       0       0       0      
OSPF_MC6 IPV6 any    any   0/RP1/CPU0 0       0       0       0       0      
BGP4     IPV4 TCP    179   0/RP1/CPU0 0       0       0       0       0      
BGP6     IPV6 TCP    179   0/RP1/CPU0 0       0       0       0       0      
UDP4     IPV4 UDP    any   0/RP1/CPU0 245     0       245     0       0      
UDP6     IPV6 UDP    any   0/RP1/CPU0 0       0       0       0       0      
TCP4     IPV4 TCP    any   0/RP1/CPU0 0       0       0       0       0      
TCP6     IPV6 TCP    any   0/RP1/CPU0 0       0       0       0       0      
ISIS     CLNS -      any   0/RP1/CPU0 0       0       0       0       0      
MCAST4   IPV4 any    any   0/RP1/CPU0 0       0       0       0       0      
MCAST6   IPV6 any    any   0/RP1/CPU0 0       0       0       0       0      
  Flow Manager 0/RP1/CPU0:
   Packets in:245
   Packets delivered locally without lookups:0
   Slice lookups:245
     Post-lookup error drops:
      Failed ipv4_netio_input:1
     Rejects:245
    Packets delivered locally:0
    Packets delivered remotely:0
 
   

Table 41 describes the significant fields shown in the display.

Table 41 show lpts ifib slices statistics Field Descriptions

Field
Description

Slice

Slice number.

L3-proto

Layer 3 protocol (IPv4, IPv6, CLNL).

L4-proto

Layer 4 protocol (TCP, UDP, and others).

Port

Local (destination) TCP or UDP port.

Location

Node location, in the format rack/slot/module.


Related Commands

Command
Description

show lpts ifib

Displays entries in the IFIB.


show lpts ifib statistics

To display Internal Forwarding Information Base (IFIB) statistics, use the show lpts ifib statistics command in EXEC mode.

show lpts ifib statistics [location node-id]

Syntax Description

location node-id

(Optional) Displays IFIB 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.


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.

Examples

The following is sample output from the show lpts ifib statistics command:

RP/0/RP0/CPU0:router# show lpts ifib statistics
 
   
Flow Manager 0/RP1/CPU0:
   Packets in:254
   Packets delivered locally without lookups:0
   Slice lookups:254
     Post-lookup error drops:
      Failed ipv4_netio_input:1
     Rejects:254
    Packets delivered locally:0
    Packets delivered remotely:0
 
   

Table 42 describes the significant fields shown in the display.

Table 42 show lpts ifib statistics Field Descriptions 

Field
Description

Packets in

Packets presented to the LPTS decaps node in netio.

Packets delivered locally without lookups

Packets previously resolved on a LC delivered directly to L3.

Slice lookups

Packets requiring slice lookups.

Post-lookup error drops

Packets dropped after a slice lookup.

Rejects

Packets that caused a TCP RST or ICMP Port/Protocol Unreachable.

Packets delivered locally

Packets delivered to local applications after slice lookups.

Packets delivered remotely

Packets delivered to applications on remote RPs.



Note The sample output is an example only and displays only those fields showing a value. No display exists for nonzero values. This command may show other values depending on your router configuration.


Related Commands

Command
Description

show lpts ifib

Displays the entries in an IFIB slice.


show lpts ifib times

To display Internal Forwarding Information Base (IFIB) update transaction times, use the show lpts ifib times command in EXEC mode.

show lpts ifib times [location node-id]

Syntax Description

location node-id

(Optional) Displays IFIB update transaction times 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.


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.

Examples

The following is sample output from the show lpts ifib times command:

RP/0/RP0/CPU0:router# show lpts ifib times
 
   
Slice    L3   L4     Port  Location
-------- ---- ------ ----- --------
RAWIP4   IPV4 any    any   0/RP1/CPU0
RAWIP6   IPV6 any    any   0/RP1/CPU0
OSPF4    IPV4 OSPF   any   0/RP1/CPU0
OSPF6    IPV6 OSPF   any   0/RP1/CPU0
OSPF_MC4 IPV4 any    any   0/RP1/CPU0
OSPF_MC6 IPV6 any    any   0/RP1/CPU0
BGP4     IPV4 TCP    179   0/RP1/CPU0
BGP6     IPV6 TCP    179   0/RP1/CPU0
UDP4     IPV4 UDP    any   0/RP1/CPU0
UDP6     IPV6 UDP    any   0/RP1/CPU0
TCP4     IPV4 TCP    any   0/RP1/CPU0
TCP6     IPV6 TCP    any   0/RP1/CPU0
ISIS     CLNS -      any   0/RP1/CPU0
MCAST4   IPV4 any    any   0/RP1/CPU0
MCAST6   IPV6 any    any   0/RP1/CPU0
Flow Manager 0/RP1/CPU0:
 total:5 tx 13 upd 1/-/1ms/tx

Table 43 describes the significant fields shown in the display.

Table 43 show lpts ifib times Field Descriptions

Field
Description

Slice

Slice number.

L3 Protocol

Layer 3 protocol (IPv4, IPV6, CLNL).

L4 Protocol

Layer 4 protocol (TCP, UDP, and so on).

Port

Local (destination) TCP or UDP port.

Location

Node location, in the format rack/slot/module.


Related Commands

Command
Description

show lpts ifib

Displays detailed information about entries in an IFIB slice.


show lpts mpa groups

To display aggregate information about multicast bindings for groups, use the show lpts mpa groups command in EXEC mode.

show lpts mpa groups type instance

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:

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.


Defaults

No default behavior or values.

Command Types

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.


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 lpts mpa groups command is used to aggregate information about the multicast groups joined on a specified interface. This command also displays the filter mode and source list associated with the groups joined on a specified interface.

Examples

The following is sample output from the show lpts mpa groups command:

RP/0/RP0/CPU0:router# show lpts mpa groups POS 0/0/0/0 
 
   
  224.0.0.2 : includes 0, excludes 1, mode EXCLUDE
    <no source filter>
  224.0.0.13 : includes 0, excludes 1, mode EXCLUDE
    <no source filter>
  224.0.0.22 : includes 0, excludes 1, mode EXCLUDE
    <no source filter>
 
   

Table 44 describes the significant fields shown in the display.

Table 44 show lpts mpa groups Field Descriptions

Field
Description

Includes

Displays the number of sockets that have set up an INCLUDE mode filter for that group and if there are any source-specific filters.

Excludes

Displays the number of sockets that have set up an EXCLUDE mode filter for that group and if there are any source-specific filters.


show lpts pifib

To display Pre-Internal Forwarding Information Base (Pre-IFIB) entries, use the show lpts pifib command in EXEC mode.

show lpts pifib [entry] [type {isis | ipv4 {frag | ixmp | mcast | tcp | udp | ipsec | raw} | ipv6 {frag | icmp | ixmp | mcast | tcp | udp | ipsec | raw } | all}] [brief [statistics] [location node-id]

Syntax Description

entry

(Optional) Pre-IFIB entry.

type

(Optional) Protocol type.

isis

Intermediate System-to-Intermediate System (IS-IS) sub Pre-IFIB type.

ipv4

IPv4 sub Pre-IFIB type. Possible values include frag, ixmp, mcast, tcp, udp, ipsec, and raw.

ipv6

IPv6 sub Pre-IFIB type. Possible values include frag, icmp, ixmp, mcast, tcp, udp, ipsec, and raw.

frag

IPv4 or IPv6 fragment.

icmp

IPv4 or IPv6 IXMP and Internet Group Management Protocol (IGMP).

ixmp

IPv4 or IPv6 IXMP (ICMP and Internet Group Management Protocol [IGMP]).

mcast

IPv4 or IPv6 Multicast.

tcp

IPv4 or IPv6 Transmission Control Protocol (TCP).

udp

IPv4 or IPv6 User Datagram Protocol (UDP).

ipsec

Secure IP.

raw

IPv4 orIPv6 raw IP.

all

All sub Pre-IFIBs.

brief

(Optional) Pre-IFIB entries in brief format.

statistics

(Optional) Pre-IFIB table with statistics information.

location node-id

(Optional) The node-id argument is entered in the rack/slot/module notation (for example, 0/7/CPU0).


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.


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 show lpts pifib brief command to display entries of all or part of a Pre-IFIB.

Use the show lpts pifib brief command to display a short description of each entry in the LPTS Pre-IFIB, optionally displaying packet counts for each entry. Note that these statistics are only for packets processed by a line card, route processor, or distributed route processor. Pre-IFIB statistics for packets processed by line card hardware are counted separately.

Examples

The following is sample output for the show lpts pifib command:

RP/0/RP0/CPU0:router# show lpts pifib 
 
   
O - Opcode; F - Flow Type; L - Listener Tag; I - Local Flag; T - Min TTL;
na - Not Applicable
----------------------------------------------------
L3 Protocol       :CLNS
L4 Protocol       :-
Destination IP    :any
Source IP         :any
Port/Type         :any
Source Port       :any
Is Fragment       :0
Is SYN            :0
Interface         :any (0x0)
O/F/L/I/T         :DELIVER/ISIS-default/ISIS_FM/0/0
Deliver List      :0/RP1/CPU0
Accepts/Drops     :0/0
Is Stale          :0
----------------------------------------------------
L3 Protocol       :IPV4
L4 Protocol       :any
Destination IP    :any
Source IP         :any
Port/Type         :any
Source Port       :any
Is Fragment       :1
Is SYN            :0
Interface         :any (0x0)
O/F/L/I/T         :REASSEMBLE/Fragment/IPv4_REASS/0/0
Deliver List      :na
Accepts/Drops     :0/0
Is Stale          :0
----------------------------------------------------
L3 Protocol       :IPV4
L4 Protocol       :ICMP
Destination IP    :any
Source IP         :any
Port/Type         :ICMP:ECHO
Source Port       :any
Is Fragment       :0
Is SYN            :0
Interface         :any (0x0)
O/F/L/I/T         :DROP/ICMP-local/IPv4_STACK/1/0
Deliver List      :na
Accepts/Drops     :0/0
Is Stale          :0
----------------------------------------------------
L3 Protocol       :IPV4
L4 Protocol       :ICMP
Destination IP    :any
Source IP         :any
Port/Type         :ICMP:TSTAMP
Source Port       :any
Is Fragment       :0
Is SYN            :0
Interface         :any (0x0)
O/F/L/I/T         :DROP/ICMP-local/IPv4_STACK/1/0
Deliver List      :na
Accepts/Drops     :0/0
Is Stale          :0
----------------------------------------------------
L3 Protocol       :IPV4
L4 Protocol       :ICMP
Destination IP    :any
Source IP         :any
Port/Type         :ICMP:MASKREQ
Source Port       :any
Is Fragment       :0
Is SYN            :0
Interface         :any (0x0)
O/F/L/I/T         :DROP/ICMP-local/IPv4_STACK/1/0
Deliver List      :na
Accepts/Drops     :0/0
Is Stale          :0
----------------------------------------------------
 
   

The following is sample output for the show lpts pifib type command using the ipv4 and tcp keywords.

RP/0/RP0/CPU0:router# show lpts pifib type ipv4 tcp
O/P/R/L/I
O - Opcode ; P - Packet Priority; R - Rate Limit;
L - Listener Tag; I - Local Flag;
na - Not Applicable
 
   
----------------------------------------------------
 
   
L3 Protocol       : IPV4
L4 Protocol       : TCP
Destination IP    : any
Source IP         : any
Port/Type         : Port:7
Source Port       : any
Is Fragment       : 0
Is SYN            : 1
Interface         : any (0x0)
O/P/R/L/I         : DELIVER/LO/MED/IPv4_STACK/0
Deliver List      : 0/0/0
Stats             : 0
Is Stale          : 0
 
   
----------------------------------------------------
 
   
L3 Protocol       : IPV4
L4 Protocol       : TCP
Destination IP    : any
Source IP         : any
Port/Type         : Port:9
Source Port       : any
Is Fragment       : 0
Is SYN            : 1
Interface         : any (0x0)
O/P/R/L/I         : DELIVER/LO/MED/IPv4_STACK/0
Deliver List      : 0/0/0
Stats             : 0
Is Stale          : 0
 
   

The following is sample output from the show lpts pifib brief command:

RP/0/RP0/CPU0:router# show lpts pifib brief
 
   
* - Critical Flow; I - Local Interest;
X - Drop; R - Reassemble;
 
   
 Type       Local, Remote Address.Port          L4    Interface    Deliver
 ---------- ----------------------------------  ----- ------------ -------------
 ISIS       - -                                 -     any          0/RP1/CPU0
 IPv4_frag  any any                             any   any          R
 IPv4_IXMP  any.ECHO any                        ICMP  any          XI
 IPv4_IXMP  any.TSTAMP any                      ICMP  any          XI
 IPv4_IXMP  any.MASKREQ any                     ICMP  any          XI
 IPv4_IXMP  any any                             ICMP  any          0/RP1/CPU0
 IPv4_IXMP  any any                             IGMP  any          0/RP1/CPU0
 IPv4_mcast 224.0.0.5 any                       any   any          0/RP1/CPU0
 IPv4_mcast 224.0.0.6 any                       any   any          0/RP1/CPU0
 IPv4_mcast 224.0.0.0/4 any                     any   any          0/RP1/CPU0
 IPv4_TCP   any.7 any                           TCP   any          0/RP1/CPU0
 IPv4_TCP   any.9 any                           TCP   any          0/RP1/CPU0
 IPv4_TCP   any.19 any                          TCP   any          0/RP1/CPU0
 IPv4_TCP   any.179 any                         TCP   any          0/RP1/CPU0
 IPv4_TCP   any any.179                         TCP   any          0/RP1/CPU0
 IPv4_TCP   any any                             TCP   any          0/RP1/CPU0
 IPv4_UDP   any any                             UDP   any          0/RP1/CPU0
 IPv4_IPsec any any                             ESP   any          0/RP1/CPU0
 IPv4_IPsec any any                             AH    any          0/RP1/CPU0
 IPv4_rawIP any any                             OSPF  any          0/RP1/CPU0
 IPv4_rawIP any any                             any   any          0/RP1/CPU0
 IPv6_frag  any any                             any   any          R
 IPv6_ICMP  any any                             ICMP6 any          0/RP1/CPU0
 IPv6_mcast ff02::5 any                         any   any          0/RP1/CPU0
 IPv6_mcast ff02::6 any                         any   any          0/RP1/CPU0
 IPv6_mcast ff00::/8 any                        any   any          0/RP1/CPU0
 IPv6_TCP   any.179 any                         TCP   any          0/RP1/CPU0
 IPv6_TCP   any any.179                         TCP   any          0/RP1/CPU0
 IPv6_TCP   any any                             TCP   any          0/RP1/CPU0
 IPv6_UDP   any any                             UDP   any          0/RP1/CPU0
 IPv6_IPsec any any                             ESP   any          0/RP1/CPU0
 IPv6_IPsec any any                             AH    any          0/RP1/CPU0
 IPv6_rawIP any any                             OSPF  any          0/RP1/CPU0
 IPv6_rawIP any any                             any   any          0/RP1/CPU0
 
   

The following is sample output from the show lpts pifib brief statistics command:

RP/0/RP0/CPU0:router# show lpts pifib brief statistics
 
   
* - Critical Flow; I - Local Interest;
X - Drop; R - Reassemble;
 
   
 Type       Local, Remote Address.Port          L4    Interface    Accepts/Drops
 ---------- ----------------------------------  ----- ------------ -------------
 ISIS       - -                                 -     any          0/0
 IPv4_frag  any any                             any   any          0/0
 IPv4_IXMP  any.ECHO any                        ICMP  any          0/0
 IPv4_IXMP  any.TSTAMP any                      ICMP  any          0/0
 IPv4_IXMP  any.MASKREQ any                     ICMP  any          0/0
 IPv4_IXMP  any any                             ICMP  any          0/0
 IPv4_IXMP  any any                             IGMP  any          0/0
 IPv4_mcast 224.0.0.5 any                       any   any          0/0
 IPv4_mcast 224.0.0.6 any                       any   any          0/0
 IPv4_mcast 224.0.0.0/4 any                     any   any          0/0
 IPv4_TCP   any.7 any                           TCP   any          0/0
 IPv4_TCP   any.9 any                           TCP   any          0/0
 IPv4_TCP   any.19 any                          TCP   any          0/0
 IPv4_TCP   any.179 any                         TCP   any          0/0
 IPv4_TCP   any any.179                         TCP   any          0/0
 IPv4_TCP   any any                             TCP   any          0/0
 IPv4_UDP   any any                             UDP   any          74/0
 IPv4_IPsec any any                             ESP   any          0/0
 IPv4_IPsec any any                             AH    any          0/0
 IPv4_rawIP any any                             OSPF  any          0/0
 IPv4_rawIP any any                             any   any          0/0
 IPv6_frag  any any                             any   any          0/0
 IPv6_ICMP  any any                             ICMP6 any          0/0
 IPv6_mcast ff02::5 any                         any   any          0/0
 IPv6_mcast ff02::6 any                         any   any          0/0
 IPv6_mcast ff00::/8 any                        any   any          0/0
 IPv6_TCP   any.179 any                         TCP   any          0/0
 IPv6_TCP   any any.179                         TCP   any          0/0
 IPv6_TCP   any any                             TCP   any          0/0
 IPv6_UDP   any any                             UDP   any          0/0
 IPv6_IPsec any any                             ESP   any          0/0
 IPv6_IPsec any any                             AH    any          0/0
 IPv6_rawIP any any                             OSPF  any          0/0
 IPv6_rawIP any any                             any   any          0/0
 
   
------------------------
statistics:
 
   
Type            Num. Entries         Accepts/Drops
------          ------------         -------------
ISIS            1                    0/0
IPv4_frag       1                    0/0
IPv4_IXMP       5                    0/0
IPv4_mcast      3                    0/0
IPv4_TCP        6                    0/0
IPv4_UDP        1                    74/0
IPv4_IPsec      2                    0/0
IPv4_rawIP      2                    0/0
IPv6_frag       1                    0/0
IPv6_ICMP       1                    0/0
IPv6_mcast      3                    0/0
IPv6_TCP        3                    0/0
IPv6_UDP        1                    0/0
IPv6_IPsec      2                    0/0
IPv6_rawIP      2                    0/0
Total           34                  
 
   
Packets into Pre-IFIB:74
Lookups:74
Packets delivered locally:74
Packets delivered remotely:0
 
   

Table 45 describes the significant fields shown in the display.

Table 45 show lpts pifib Field Descriptions 

Field
Description

L4 Protocol

Layer 4 protocol of the packet.

Destination IP

Destination IP address of the packet.

Source IP

Source IP address of the packet.

Port/Type

If Layer4 protocol is TCP or UDP, local port number in the packet.

If Layer4 protocol is ICMP, ICMP type of the packet.

If Layer4 protocol is IGMP, IGMP type of the packet.

If Layer4 protocol is AH or ESP, SPI of the packet.

Source Port

If Layer4 protocol is TCP or UDP, remote port number in the packet.

Is Fragment

Whether the packet is an IP fragment.

Is SYN

Whether the packet is a TCP SYN packet.

Interface

Ingress interface at which the packet arrives. If the interface is not a wildcard, then the system displays the name, interface handle, and uid index of the interface. The result fields in a Pre-IFIB entry are as follows:

Vital—Indicates whether the packet is vital. Vital packets should not be dropped even if the number of free queue elements goes below a certain threshold.

Fabric Multicast—Indicates whether the packet is multicasted across fabric. The packet is multicasted across fabric if it needs to go to multiple elements.

Packet Priority—Indicates the priority of the packet.

Listener tag—Identifies the process which to deliver the packet to on target elements.

Destination Fabric Address

This field may include:

Punt—whether the packet needs to be punted to local CPU.

Drop—whether the packet should be dropped or, if the packet should be delivered to target elements, the destination fabric address of the elements to which the packets should be sent.

Ingress Shaping Queue

Shaping queue to use before sending the packets to local CPU or remote elements.

Destination Queue

If the packet needs to be sent to remote elements, the destination queue to use on target elements.

Policer

Pointer for the policer to use. Traffic to target elements is rate-limited by the policer.

Stats Counter

Stats counter index used to count the packets matching the TCAM entry.

Stats

Packets matching the TCAM entry.


Related Commands

Command
Description

show lpts pifib lookup

Displays the Pre-FIB entry matching a particular packet.


show lpts pifib lookup

To display the Pre-Internal Forwarding Information Base (Pre-IFIB) entry matching a particular packet, use the show lpts pifib lookup command in EXEC mode.

show lpts pifib lookup l3protocol {ipv4 | ipv6 | isis} [is-fragment {yes | no}] [l4protocol {l4protocol-number | ah | egp | eigrp | encap | eon | esp | ggp | gre | icmp | icmpv6 | idp | igmp | igrp | ipinip | nosip | ospf | pcp | pim | pup | raw | rsvp | tcp | tp | udp}] [interface type] [source ip-address] [destination ip-address] [sport port-number] [dport port-number] [is-syn {yes | no}][type number] [spi spi-number] [location node-id]

Syntax Description

l3protocol

Layer 3 protocol.

ipv4

IPv4 Layer 3 protocol type.

ipv6

IPv6 Layer 3 protocol type.

isis

Intermediate System-to-Intermediate System (ISIS) Layer 3 protocol type.

is-fragment yes

(Optional) Turns on the IP fragment.

is-fragment no

(Optional) Turns off the IP fragment.

l4protocol

(Optional) Layer 4 protocol identifier or type. Values include:

l4protocol-identifier: location where Pre-IFIB is on

Any of the following protocol types: ah, egp, eigrp, encap, eon, esp, ggp, gre, icmp, icmpv6, idp, igmp, igrp, ipinip, nosip, ospf, pcp, pim, pup, raw, rsvp, tcp, tp, and udp. Table 46 lists the protocol types.

interface

(Optional) Ingress interface.

type

Interface type. For more information, use the question mark (?) online help function.

source ip-address

(Optional) Source IP address.

destination ip-address

(Optional) Destination IP address.

sport port-number

(Optional) Source Layer 4 port number. Range is 0 to 65535.

dport port-number

(Optional) Destination Layer 4 port number. Range is 0 to 65535.

is-syn yes

(Optional) Turns on the TCP SYN flag setting.

is-syn no

(Optional) Turns off the TCP SYN flag setting.

type number

(Optional) Internet Control Message Protocol (ICMP) type or Internet Group Management Protocol (IGMP) type. Range is 0 to 255.

spi spi-number

(Optional) IPSec security parameters index.

location node-id

(Optional) The node-id argument is entered in the rack/slot/module notation (for example, 0/7/CPU0).


Defaults

No default behavior or values.

Command Types

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.


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 show lpts pifib lookup command to look up an entry in the software Pre-IFIB table (not the hardware table), given the key field values from a packet. Note the following constraints:

l4protocol is an available keyword if ipv4 or ipv6 is chosen.

is-fragment is an available keyword if ipv4 or ipv6 is chosen.

source and destination are available keywords if ipv4 or ipv6 is chosen.

sport and dport are available keywords if tcp or udp is chosen.

type is an available keyword if icmp or igmp or icmpv6 is chosen.

is-syn is an available keyword if tcp is chosen.

spi is an available keyword if esp or ah is chosen.

Table 46 lists the Layer 4 protocol types.

Table 46 Layer 4 Protocol Types 

Protocol
Description

ah

AH Layer 4 protocol type.

egp

Exterior Gateway Protocol Layer 4 protocol type.

eigrp

Enhanced Interior Gateway Routing Protocol Layer 4 protocol type.

encap

ENCAP Layer 4 protocol type.

eon

EON Layer 4 protocol type.

esp

Extended Services Processor Layer 4 protocol type.

ggp

Gateway-to-Gateway Protocol Layer 4 protocol type.

gre

Generic Routing Encapsulation Layer 4 protocol type.

icmp

Internet Control Message Protocol Layer 4 protocol type.

icmpv6

Internet Control Message Protocol Layer 4 protocol type (IPv6).

idp

Initial Domain Part Layer 4 protocol type.

igmp

Internet Group Management Protocol Layer 4 protocol type.

igrp

Interior Gateway Routing Protocol Layer 4 protocol type.

ipinip

IPINIP Layer 4 protocol type.

nosip

NOSIP Layer 4 protocol type.

ospf

Open Shortest Path First Layer 4 protocol type.

pcp

PCP Layer 4 protocol type.

pim

Protocol Independent Multicast Layer 4 protocol type.

pup

PARC Universal Protocol Layer 4 protocol type.

raw

RAW-IP Layer 4 protocol type.

rsvp

Resource Reservation Protocol Layer 4 protocol type.

tcp

Transmission Control Protocol Layer 4 protocol type.

tp

Transport Protocol Layer 4 protocol type.

udp

User Datagram Protocol Layer 4 protocol type.


Examples

The following is sample output from the show lpts pifib lookup command:

RP/0/RP1/CPU0:router# show lpts pifib lookup l3protocol ipv4 is-fragment no l4protocol 
ospf interface POS0/1/0/0 source 1.2.3.4 dest 224.0.0.5
 
   
O - Opcode; F - Flow Type; L - Listener Tag; I - Local Flag; T - Min TTL;
na - Not Applicable
----------------------------------------------------
L3 Protocol       :IPV4
L4 Protocol       :any
Destination IP    :224.0.0.5
Source IP         :any
Port/Type         :any
Source Port       :any
Is Fragment       :0
Is SYN            :0
Interface         :any (0x0)
O/F/L/I/T         :DELIVER/OSPF-default/OSPF_MC4_FM/0/0
Deliver List      :0/RP1/CPU0
Accepts/Drops     :0/0
Is Stale          :0
O/P/R/L/I
O - Opcode ; P - Packet Priority; R - Rate Limit;
L - Listener Tag; I - Local Flag;
na - Not Applicable
 
   
----------------------------------------------------
 
   
L3 Protocol       : IPV4
L4 Protocol       : TCP
Destination IP    : any
Source IP         : any
Port/Type         : Port:7
Source Port       : any
Is Fragment       : 0
Is SYN            : 1
Interface         : any (0x0)
O/P/R/L/I         : DELIVER/LO/MED/IPv4_STACK/0
Deliver List      : 0/0/0
Stats             : 0
Is Stale          : 0
 
   
----------------------------------------------------
 
   
L3 Protocol       : IPV4
L4 Protocol       : TCP
Destination IP    : any
Source IP         : any
Port/Type         : Port:9
Source Port       : any
Is Fragment       : 0
Is SYN            : 1
Interface         : any (0x0)
O/P/R/L/I         : DELIVER/LO/MED/IPv4_STACK/0
Deliver List      : 0/0/0
Stats             : 0
Is Stale          : 0
 
   

Table 47 describes the significant fields shown in the display.

Table 47 show lpts pifib lookup Field Descriptions

Field
Description

L3 Protocol

Layer 3 protocol (IPv4, IPV6, CLNL).

L4 Protocol

Layer 4 protocol (TCP, UDP, and others).

Destination IP

Local (destination) IP address.

Source IP

Source (remote) IP address.

Port/Type

Destination TCP or UDP port, or ICMP/IGMP packet type, or IPSec Security Parameters Index.

Source Port

Source (remote) TCP or UDP port.

Is Fragment

Is packet a fragment (1 yes, 0 no).

Is SYN

Is packet a TCP SYN packet (1 yes, 0 no).

Interface

Ingress Interface.

O/P/R/L/I

O—Opcode (DELIVER, REASSMBLE or DROP)

P—Internal forwarding priority (LO, MED or HI)

R—Rate limit (LO, MED or HI)

L—Listener Tag (name of stack to deliver to, or name of slice for IFIB lookup)

I—Local interest (if 1, packet is processed by IPv4 or IPv6 stack directly)

Deliver List

X Drop packet—Deliver to local interest (processed by local IPv4 or IPv6 stack directly)

rack/slot/instance—Deliver to one node

[0xNNNN]—Deliver to multiple nodes (platform-dependent format)

Stats

Packet count.

Is Stale

Flag for mark/sweep operations (marked but not yet swept).


Related Commands

Command
Description

show lpts pifib

Displays Pre-IFIB entries.


show lpts pifib statistics

To display Pre-Internal Forwarding Information Base (Pre-IFIB) statistics, use the show lpts ifib statistics command in EXEC mode.

show lpts pifib statistics [location node-id]

Syntax Description

location node-id

(Optional) Displays Pre-IFIB 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.


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.

Examples

The following is sample output from the show lpts pifib statistics command:

 
   
RP/0/RP0/CPU0:router# show lpts pifib statistics
 
   
Packets into Pre-IFIB:80
Lookups:80
Packets delivered locally:80
Packets delivered remotely:0
 
   

Table 48 describes the significant fields shown in the display.

Table 48 show lpts pifib statistics Field Descriptions

Field
Description

Packets into Pre-IFIB

Packets presented for pre-IFIB lookups.

Lookups

Packets looked up.

Packets delivered locally

Packets delivered to local applications or the local stack (n duplicated) packets duplicated for delivery to applications and the local stack.

Packets delivered remotely

Packets delivered to applications or for lookup on other RPs.


Related Commands

Command
Description

show lpts pifib

Displays information about Pre-IFIB entries.