Cisco IOS XR IP Addresses and Services Command Reference, Release 3.6
Transport Stack Commands on Cisco IOS XR Software

Table Of Contents

Transport Stack Commands on Cisco IOS XR Software

clear nsr ncd client

clear nsr ncd queue

clear raw statistics pcb

clear tcp nsr client

clear tcp nsr pcb

clear tcp nsr session-set

clear tcp nsr statistics client

clear tcp nsr statistics pcb

clear tcp nsr statistics session-set

clear tcp nsr statistics summary

clear tcp pcb

clear tcp statistics

clear udp statistics

forward-protocol udp

nsr process-failures switchover

service tcp-small-servers

service udp-small-servers

show nsr ncd client

show nsr ncd queue

show raw brief

show raw detail pcb

show raw extended-filters

show raw statistics pcb

show sctp association brief

show sctp association detail

show sctp pcb brief

show sctp pcb detail

show sctp statistics

show sctp summary

show tcp brief

show tcp detail

show tcp extended-filters

show tcp statistics

show tcp nsr brief

show tcp nsr client brief

show tcp nsr detail client

show tcp nsr detail pcb

show tcp nsr detail session-set

show tcp nsr session-set brief

show tcp nsr statistics client

show tcp nsr statistics pcb

show tcp nsr statistics session-set

show tcp nsr statistics summary

show udp brief

show udp detail pcb

show udp extended-filters

show udp statistics

tcp mss

tcp path-mtu-discovery

tcp selective-ack

tcp synwait-time

tcp timestamp

tcp window-size


Transport Stack Commands on Cisco IOS XR Software


This chapter describes the Cisco IOS XR software commands used to configure and monitor features related to the transport stack (Stream Control Transmission Protocol [SCTP], TCP, User Datagram Protocol [UDP], and RAW). Any IP protocol other than TCP or UDP is known as a RAW protocol.

For detailed information about transport stack concepts, configuration tasks, and examples, refer to the Configuring SCTP, TCP, UDP, and RAW Transports on Cisco IOS XR Software configuration module.

clear nsr ncd client

To clear the counters of a specified client or all the clients of nonstop routing (NR) Consumer Demuxer (NCD), use the clear nsr ncd client command in EXEC mode.

clear nsr ncd client {PID value | all} [location node-id]

Syntax Description

PID value

Process ID value of the client in which counters need to be cleared. The range is from 0 to 4294967295.

all

Clears the counters for all NCD clients.

location node-id

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


Defaults

The default value for the node-id argument is the current node in which the command is being executed. The PID value argument does not have a default value.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

The active and standby instances of some NSR-capable applications communicate through two queues, and these applications are multiplexed onto these queues. NSR consumer demuxer (NCD) is a process that provides the demuxing services on the receiver side.

You can use the clear nsr ncd client command to troubleshoot traffic issues. If you clear the existing counters, it can help you to monitor the delta changes.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows how to clear all the counters for all NCD clients:

RP/0/RP0/CPU0:router# clear nsr ncd client all
RP/0/RP0/CPU0:router# show nsr ncd client all

Client PID                           : 3874979
Client Protocol                      : TCP
Client Instance                      : 1
Total packets received               : 0
Total acks received                  : 0
Total packets/acks accepted          : 0
Errors in changing packet ownership  : 0
Errors in setting application offset : 0
Errors in enqueuing to client        : 0
Time of last clear                   : Sun Jun 10 14:43:44 20

RP/0/RP0/CPU0:router# show nsr ncd client brief

                             Total    Total   Accepted
Pid   Protocol   Instance    Packets Acks    Packets/Acks
3874979   TCP          1          0   0         0

Related Commands

Command
Description

clear nsr ncd queue

Clears the counters for the NSR Consumer Demuxer (NCD) queue.

show nsr ncd client

Displays information about the clients for NSR Consumer Demuxer (NCD).

show nsr ncd queue

Displays information about the nonstop routing (NSR) Consumer Queue and Dispatch (QAD) queues.


clear nsr ncd queue

To clear the counters for the nonstop routing (NSR) Consumer Demuxer (NCD) queue, use the clear nsr ncd queue command in EXEC mode.

clear nsr ncd queue {all | high | low} [location node-id]

Syntax Description

all

Clears the counters for all the NCD queues.

high

Clears the counters for the high-priority NCD queue.

low

Clears the counters the low-priority NCD queue.

location node-id

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


Defaults

If a value is not specified, the current RP in which the command is being executed is taken as the location.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows how to clear the counters for all the NCD queues:

RP/0/RP0/CPU0:router# clear nsr ncd queue all
RP/0/RP0/CPU0:router# show nsr ncd queue all

Queue Name                           : NSR_LOW
Total packets received               : 0
Total packets accepted               : 0
Errors in getting datagram offset    : 0
Errors in getting packet length      : 0
Errors in calculating checksum       : 0
Errors due to bad checksum           : 0
Errors in reading packet data        : 0
Errors due to bad NCD header         : 0
Drops due to a non-existent client   : 0
Errors in changing packet ownership  : 0
Errors in setting application offset : 0
Errors in enqueuing to client        : 0
Time of last clear                   : Sun Jun 10 14:44:38 2007


Queue Name                           : NSR_HIGH
Total packets received               : 0
Total packets accepted               : 0
Errors in getting datagram offset    : 0
Errors in getting packet length      : 0
Errors in calculating checksum       : 0
Errors due to bad checksum           : 0
Errors in reading packet data        : 0
Errors due to bad NCD header         : 0
Drops due to a non-existent client   : 0
Errors in changing packet ownership  : 0
Errors in setting application offset : 0
Errors in enqueuing to client        : 0
Time of last clear                   : Sun Jun 10 14:44:38 2007

RP/0/RP0/CPU0:router# show nsr ncd queue brief

                          Total        Accepted
          Queue         Packets         Packets
        NSR_LOW               0               0
       NSR_HIGH               0               0

Related Commands

Command
Description

clear nsr ncd client

Clears the counters for the NSR Consumer Demuxer (NCD) client.

nsr process-failures switchover

Configures failover as a recovery action for active instances to switch over to a standby route processor (RP) or a distributed route processor (DRP) to maintain nonstop routing (NSR).

show nsr ncd client

Displays information about the clients for NSR Consumer Demuxer (NCD).

show nsr ncd queue

Displays information about the nonstop routing (NSR) Consumer Queue and Dispatch (QAD) queues.


clear raw statistics pcb

To clear statistics for a single RAW connection or for all RAW connections, use the clear raw statistics pcb command in EXEC mode.

clear raw statistics pcb {all | pcb-address} location node-id

Syntax Description

all

Clears statistics for all RAW connections.

pcb-address

Clears statistics for a specific RAW connection.

location node-id

Clears 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. The location keyword and node-id argument became required.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.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 all keyword to clear all RAW connections. To clear a specific RAW connection, enter the protocol control block (PCB) address of the RAW connection. Use the show raw brief command to obtain the PCB address.

Use the location keyword and node-id argument to clear RAW statistics for a designated node.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows how to clear statistics for a RAW connection with PCB address 0x80553b0:

RP/0/RP0/CPU0:router# clear raw statistics pcb 0x80553b0
RP/0/RP0/CPU0:router# show raw statistics pcb 0x80553b0

Statistics for PCB 0x80553b0
Send: 		0 packets received from application
		0 xipc pulse received from application
		0 packets sent to network
		0 packets failed getting queued to network
Rcvd: 		0 packets received from network
		0 packets queued to application
		0 packets failed queued to application

The following example shows how to clear statistics for all RAW connections:

RP/0/RP0/CPU0:router# clear raw statistics pcb all
RP/0/RP0/CPU0:router# show raw statistics pcb all

Statistics for PCB 0x805484c
Send: 		0 packets received from application
		0 xipc pulse received from application
		0 packets sent to network
		0 packets failed getting queued to network
Rcvd: 		0 packets received from network
		0 packets queued to application
		0 packets failed queued to application

Statistics for PCB 0x8054f80
Send: 		0 packets received from application
		0 xipc pulse received from application
		0 packets sent to network
		0 packets failed getting queued to network
Rcvd: 		0 packets received from network
		0 packets queued to application
		0 packets failed queued to application

Statistics for PCB 0x80553b0
Send: 		0 packets received from application
		0 xipc pulse received from application
		0 packets sent to network
		0 packets failed getting queued to network
Rcvd: 		0 packets received from network
		0 packets queued to application
		0 packets failed queued to application

Related Commands

Command
Description

show raw brief

Displays information about active RAW IP sockets.

show raw statistics pcb

Displays statistics for either a single RAW connection or all RAW connections.


clear tcp nsr client

To bring the nonstop routing (NSR) down on all the sessions that are owned by the specified client, use the clear tcp nsr client command in EXEC mode.

clear tcp nsr client {ccb-address | all} [location node-id]

Syntax Description

ccb-address

Client Control Block (CCB) of the NSR client.

all

Specifies all the clients.

location node-id

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


Defaults

The location defaults to the current node in which the command is executing.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

The output of the show tcp nsr client command is used to locate the CCB of the desired client.

Use the clear tcp nsr client command to gracefully bring down NSR session that are owned by one client or all clients. In addition, the clear tcp nsr client command is used as a work around if the activity on the sessions freezes.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows that the nonstop routing (NSR) client is cleared for 0x482afacc: The two sessions had NSR already up before executing the clear tcp nsr client command. NSR is no longer up after executing the clear tcp nsr client command.

RP/0/RP0/CPU0:router# show tcp nsr client brief

CCB          Proc Name    Instance     Sets       Sessions/NSR Up Sessions
0x482c10e0   mpls_ldp          1            2          3/1    
0x482afacc   mpls_ldp          2            1          2/2 

RP/0/RP0/CPU0:router# clear tcp nsr client 0x482afacc
RP/0/RP0/CPU0:router# show tcp nsr client brief

CCB          Proc Name    Instance     Sets       Sessions/NSR Up Sessions
0x482c10e0   mpls_ldp          1            2          3/1    
0x482afacc   mpls_ldp          2            1          2/0

Related Commands

Command
Description

nsr process-failures switchover

Configures failover as a recovery action for active instances to switch over to a standby route processor (RP) or a distributed route processor (DRP) to maintain nonstop routing (NSR).

show tcp nsr client brief

Displays brief information about the state of nonstop routing (NSR) of TCP clients on different nodes.


clear tcp nsr pcb

To bring the nonstop routing (NSR) down on a specified connection or all connections, use the clear tcp nsr pcb command in EXEC mode.

clear tcp nsr pcb {pcb-address | all} [location node-id]

Syntax Description

pcb-address

PCB address range for the specific connection information. 0 to ffffffff. For example, the address range can be 0x482a4e20.

all

Specifies all the connections.

location node-id

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


Defaults

If a value is not specified, the current RP in which the command is being executed is taken as the location.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

The output of the show tcp nsr brief command is used to locate the Protocol Control Block (PCB) of a desired connection.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows that the information for TCP connections is cleared:

RP/0/RP0/CPU0:router# show tcp nsr brief

PCB     Local Address          Foreign Address        NSR   RcvOnly
0x482d7470 5.1.1.1:646            5.1.1.2:14142          Up    No   
0x482d2844 5.1.1.1:646            5.1.1.2:15539          Up    No   
0x482d3bc0 5.1.1.1:646            5.1.1.2:25671          Up    No   
0x482d4f3c 5.1.1.1:646            5.1.1.2:32319          Up    No   
0x482d87ec 5.1.1.1:646            5.1.1.2:39592          Up    No   
0x482cd670 5.1.1.1:646            5.1.1.2:43447          Up    No   
0x482d14c8 5.1.1.1:646            5.1.1.2:45803          Up    No   
0x482bdee4 5.1.1.1:646            5.1.1.2:55844          Up    No   
0x482d62b8 5.1.1.1:646            5.1.1.2:60695          Up    No   
0x482d0310 5.1.1.1:646            5.1.1.2:63007          Up    No 

RP/0/RP0/CPU0:router# clear tcp nsr pcb 0x482d7470
RP/0/RP0/CPU0:router# clear tcp nsr pcb 0x482d2844
RP/0/RP0/CPU0:router# show tcp nsr brief

PCB     Local Address          Foreign Address        NSR   RcvOnly
0x482d7470 5.1.1.1:646            5.1.1.2:14142          Down  No   
0x482d2844 5.1.1.1:646            5.1.1.2:15539          Down  No   
0x482d3bc0 5.1.1.1:646            5.1.1.2:25671          Up    No   
0x482d4f3c 5.1.1.1:646            5.1.1.2:32319          Up    No   
0x482d87ec 5.1.1.1:646            5.1.1.2:39592          Up    No   
0x482cd670 5.1.1.1:646            5.1.1.2:43447          Up    No   
0x482d14c8 5.1.1.1:646            5.1.1.2:45803          Up    No   
0x482bdee4 5.1.1.1:646            5.1.1.2:55844          Up    No   
0x482d62b8 5.1.1.1:646            5.1.1.2:60695          Up    No   
0x482d0310 5.1.1.1:646            5.1.1.2:63007          Up    No 

Related Commands

Command
Description

show tcp nsr brief

Displays the key nonstop routing (NSR) state of TCP connections on different nodes.

show tcp nsr detail pcb

Displays detailed information about the state of nonstop routing (NSR) for TCP connections.


clear tcp nsr session-set

To clear the nonstop routing (NSR) on all the sessions in the specified session-set or all session sets, use the clear tcp nsr session-set command in EXEC mode.

clear tcp nsr session-set {sscb-address | all} [location node-id]

Syntax Description

sscb-address

Session-Set Control Block (SSCB) address range for the specific session set information. 0 to ffffffff. For example, the address range can be 0x482a4e20.

all

Specifies all the session sets.

location node-id

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


Defaults

If a value is not specified, the current RP in which the command is being executed is taken as the location.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

The output of the show tcp nsr session-set brief command is used to locate the SSCB of the desired session-set.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows that the information for the session sets is cleared:

RP/0/RP0/CPU0:router# show tcp nsr client brief

CCB               Proc Name         Instance  Sets       Sessions/NSR Up Sessions
0x482b5ee0        mpls_ldp             1        1           10/10

RP/0/RP0/CPU0:router# clear tcp nsr client 0x482b5ee0
RP/0/RP0/CPU0:router# show tcp nsr client brief

CCB               Proc Name         Instance  Sets       Sessions/NSR Up Sessions
0x482b5ee0        mpls_ldp             1        1           10/0

Related Commands

Command
Description

show tcp nsr detail session-set

Displays detailed information about the nonstop routing (NSR) state of the session sets on different nodes.

show tcp nsr session-set brief

Displays brief information about the session sets for the state of nonstop routing (NSR) on different nodes.


clear tcp nsr statistics client

To clear the nonstop routing (NSR) statistics of the client, use the clear tcp nsr statistics client command in EXEC mode.

clear tcp nsr statistics client {ccb-address | all} [location node-id]

Syntax Description

ccb-address

Client Control Block (CCB) of the desired client. For example, the address range can be 0x482a4e20.

all

Specifies all the clients.

location node-id

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


Defaults

If a value is not specified, the current RP in which the command is being executed is taken as the location.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows that the statistics for the NSR clients is cleared:

RP/0/RP0/CPU0:router# show tcp nsr statistics client all

==============================================================
CCB: 0x482b5ee0 
Name: mpls_ldp, Job ID: 365 
Connected at: Thu Aug 16 18:20:32 2007
Notification Statistics :   Queued    Failed    Delivered Dropped   
Init-Sync Done          :         2          0          2          0 
Replicated Session Ready:         0          0          0          0 
Operational Down        :        12          0         12          0 
Last clear at: Never Cleared

RP/0/RP0/CPU0:router# clear tcp nsr statistics client all

RP/0/RP0/CPU0:router# show tcp nsr statistics client all

==============================================================
CCB: 0x482b5ee0 
Name: mpls_ldp, Job ID: 365 
Connected at: Thu Aug 16 18:20:32 2007
Notification Statistics :   Queued    Failed    Delivered Dropped   
Init-Sync Done          :         0          0          0          0 
Replicated Session Ready:         0          0          0          0 
Operational Down        :         0          0          0          0 
Last clear at: Thu Aug 16 18:28:38 2007

Related Commands

Command
Description

show tcp nsr statistics client

Displays the nonstop routing (NSR) statistics for the client.


clear tcp nsr statistics pcb

To clear the nonstop routing (NSR) statistics for TCP connections, use the clear tcp nsr statistics pcb command in EXEC mode.

clear tcp nsr statistics pcb {pcb-address | all} [location node-id]

Syntax Description

pcb-address

PCB address range for the specific connection information. 0 to ffffffff. For example, the address range can be 0x482a4e20.

all

Specifies all the connections.

location node-id

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


Defaults

If a value is not specified, the current RP in which the command is being executed is taken as the location.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows that the NSR statistics for TCP connections is cleared:

RP/0/RP0/CPU0:router# show tcp nsr statistics pcb 0x482d14c8

==============================================================
PCB 0x482d14c8 
Number of times NSR went up: 1 
Number of times NSR went down: 0 
Number of times NSR was disabled: 0 
Number of times switch-over occured : 0 
IACK RX Message Statistics:
        Number of iACKs dropped because SSO is not up               : 0 
        Number of stale iACKs dropped                               : 1070 
        Number of iACKs not held because of an immediate match      : 98 
TX Messsage Statistics:
        Data transfer messages:
            Sent 317, Dropped 0, Data (Total/Avg.) 2282700/7200
            Rcvd 0
                Success           : 0
                Dropped (Trim)    : 0
        Segmentation instructions:
            Sent 1163, Dropped 0, Units (Total/Avg.) 4978/4
            Rcvd 0
                Success           : 0
                Dropped (Trim)    : 0
                Dropped (TCP)     : 0
        NACK messages:
            Sent 0, Dropped 0
            Rcvd 0
                Success           : 0
                Dropped (Data snd): 0
        Cleanup instructions      :
            Sent 8, Dropped 0
            Rcvd 0
                Success           : 0
                Dropped (Trim)    : 0
Last clear at: Never cleared

RP/0/RP0/CPU0:router# clear tcp nsr statistics pcb 0x482d14c8
RP/0/RP0/CPU0:router# show tcp nsr statistics pcb 0x482d14c8

==============================================================
PCB 0x482d14c8 
Number of times NSR went up: 0 
Number of times NSR went down: 0 
Number of times NSR was disabled: 0 
Number of times switch-over occured : 0 
IACK RX Message Statistics:
        Number of iACKs dropped because SSO is not up               : 0 
        Number of stale iACKs dropped                               : 0 
        Number of iACKs not held because of an immediate match      : 0 
TX Messsage Statistics:
        Data transfer messages:
            Sent 0, Dropped 0, Data (Total/Avg.) 0/0
            Rcvd 0
                Success           : 0
                Dropped (Trim)    : 0
        Segmentation instructions:
            Sent 0, Dropped 0, Units (Total/Avg.) 0/0
            Rcvd 0
                Success           : 0
                Dropped (Trim)    : 0
                Dropped (TCP)     : 0
        NACK messages:
            Sent 0, Dropped 0
            Rcvd 0
                Success           : 0
                Dropped (Data snd): 0
        Cleanup instructions      :
            Sent 0, Dropped 0
            Rcvd 0
                Success           : 0
                Dropped (Trim)    : 0
Last clear at: Thu Aug 16 18:32:12 2007

Related Commands

Command
Description

show tcp nsr statistics pcb

Displays the nonstop routing (NSR) statistics for a given Protocol Control Block (PCB).


clear tcp nsr statistics session-set

To clear the nonstop routing (NSR) statistics for session sets, use the clear tcp nsr statistics session-set command in EXEC mode.

clear tcp nsr statistics session-set {sscb-address | all} [location node-id]

Syntax Description

sscb-address

Session-Set Control Block (SSCB) address range for the specific session set information. 0 to ffffffff. For example, the address range can be 0x482a4e20.

all

Specifies all the session sets.

location node-id

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


Defaults

If a value is not specified, the current RP in which the command is being executed is taken as the location.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows that the NSR statistics for session sets is cleared:

RP/0/RP0/CPU0:router# show tcp nsr statistics session-set all

===================Session Set Stats ===========================
SSCB 0x482b6684, Set ID: 1
Number of times init-sync was attempted  :3 
Number of times init-sync was successful :3 
Number of times init-sync failed         :0 
Number of times switch-over occured      :0 
Last clear at: Never Cleared

RP/0/RP0/CPU0:router# clear tcp nsr statistics session-set all
RP/0/RP0/CPU0:router# show tcp nsr statistics session-set all

===================Session Set Stats ===========================
SSCB 0x482b6684, Set ID: 1
Number of times init-sync was attempted  :0 
Number of times init-sync was successful :0 
Number of times init-sync failed         :0 
Number of times switch-over occured      :0 
Last clear at: Thu Aug 16 18:37:00 2007

Related Commands

Command
Description

show tcp nsr statistics session-set

Displays nonstop routing (NSR) statistics for a session set.


clear tcp nsr statistics summary

To clear the nonstop routing (NSR) statistics summary, use the clear tcp nsr statistics summary command in EXEC mode.

clear tcp nsr statistics summary [location node-id]

Syntax Description

location node-id

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


Defaults

If a value is not specified, the current RP in which the command is being executed is taken as the location.

Command Modes

EXEC

Command History

Release
Modification

Release 3.6.0

This command was introduced on the Cisco CRS-1 and 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 location keyword is used so that active and standby TCP instances are independently queried.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows how to clear the summary statistics:

RP/0/RP0/CPU0:router# clear tcp nsr statistics summary

Related Commands

Command
Description

show tcp nsr statistics summary

Displays the nonstop routing (NSR) summary statistics across all TCP sessions.


clear tcp pcb

To clear TCP protocol control block (PCB) connections, use the clear tcp pcb command in EXEC mode.

clear tcp pcb {pcb-address | all} location node-id

Syntax Description

pcb-address

Clears the TCP connection at the specified PCB address.

all

Clears all open TCP connections.

location node-id

Clears the TCP connection 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. The location keyword and node-id argument became required.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.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 tcp pcb command is useful for clearing hung TCP connections. Use the show tcp brief command to find the PCB address of the connection you want to clear.

If the clear tcp pcb all command is used, the software does not clear a TCP connection that is in the listen state. If a specific PCB address is specified, then a connection in listen state is cleared.

Task ID
Task ID
Operations

transport

execute


Examples

The following example shows that the TCP connection at PCB address 60B75E48 is cleared:

RP/0/RP0/CPU0:router# clear tcp pcb 60B75E48

Related Commands

Command
Description

show tcp brief

Displays the TCP summary table.


clear tcp statistics

To clear TCP statistics, use the clear tcp statistics command in EXEC mode.

clear tcp statistics {pcb {all | pcb-address} | summary} [location node-id]

Syntax Description

pcb all

(Optional) Clears statistics for all TCP connections.

pcb pcb-address

(Optional) Clears statistics for a specific TCP connection.

summary

(Optional) Clears summary statistic for a specific node or connection.

location node-id

(Optional) Clears TCP 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

The summary keyword was added.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.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