Guest

Cisco IOS Software Releases 12.4 T

TCP Show Extension

  • Viewing Options

  • PDF (189.5 KB)
  • Feedback
TCP Show Extension

Table Of Contents

TCP Show Extension

Contents

How to Display Addresses in IP Format

Displaying Addresses in IP Format

Examples

Additional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Command Reference

show tcp brief


TCP Show Extension


The TCP Show Extension feature introduces the capability to display addresses in IP format instead of hostname format and to display the virtual private network (VPN) routing and forwarding (VRF) table associated with the connection.

History for the TCP Show Extension Feature

Release
Modification

12.4(2)T

This feature was introduced.


Finding Support Information for Platforms and Cisco IOS Software Images

Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.

Contents

How to Display Addresses in IP Format

Additional References

Command Reference

How to Display Addresses in IP Format

This section contains the following task:

Displaying Addresses in IP Format

Displaying Addresses in IP Format

Perform this task to display addresses in IP format.

SUMMARY STEPS

1. enable

2. show tcp brief [all | numeric]

3. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

show tcp brief [all | numeric]

Example:

Router# show tcp brief numeric

Displays a concise description of TCP connection endpoints. The keywords are as follows:

all—(Optional) Status for all endpoints with the addresses in a Domain Name System (DNS) hostname format. Without this keyword, endpoints in the LISTEN state are not shown.

numeric—(Optional) Status for all endpoints with the addresses in IP format.

Step 3 

end

Example:

Router# end

Exits to EXEC mode.

Examples

The following example shows the IP activity and the addresses in DNS hostname format.

Router# show tcp brief all

TCB          Local Address            Foreign Address        (state)
36AE9520     a00.lsanca04.us..37888   a02.lsanca04.us..179    ESTAB
36B861F8     a00.lsanca04.us..23      gnat.cisco.com.33908    ESTAB
32F0A0A4     a00.lsanca04.us..179     a01.lsanca04.us..11002  ESTAB
369CEAD4     a00.lsanca04.us..23      gnat.cisco.com.33948    ESTAB
36B873A8     ge-1-2.a00.lsanc.11266   d3-0-1-0.r01.roc.23     ESTAB
35C918A4     a00.lsanca04.us..179     a03.lsanca04.us..1035   ESTAB

The following example shows the IP activity by using the numeric keyword to display the addresses in IP format.

Router# show tcp brief numeric

TCB           Local Address          Foreign Address     (state)
6523A4FC      10.1.25.3.11000        10.1.25.3.23         ESTAB
65239A84      10.1.25.3.23           10.1.25.3.11000      ESTAB
653FCBBC      *.1723 *.* LISTEN

Additional References

The following sections provide references related to the TCP Show Extension feature.

Related Documents

Related Topic
Document Title

IP application services configuration tasks

Cisco IOS IP Application Services Configuration Guide, Release 12.4

IP application services commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples

Cisco IOS IP Application Services Command Reference, Release 12.4


Standards

Standard
Title

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.


MIBs

MIBs
MIBs Link

No new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified by this feature.

To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs


RFCs

RFCs
Title

No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.


Technical Assistance

Description
Link

The Cisco Technical Support website contains thousands of pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.

http://www.cisco.com/techsupport


Command Reference

This section documents one modified command only.

show tcp brief

show tcp brief

To display a concise description of TCP connection endpoints, use the show tcp brief command in user EXEC or privileged EXEC mode.

show tcp brief [all | numeric]

Syntax Description

all

(Optional) Displays status for all endpoints in Domain Name System (DNS) hostname format. Without this keyword, endpoints in the LISTEN state are not shown.

numeric

(Optional) Displays status for all endpoints in IP format.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

11.2

This command was introduced.

12.4(2)T

The numeric keyword was added.


Examples

The following is sample output from the show tcp brief command while a user is connected to the system by using Telnet:

Router# show tcp brief

TCB       Local Address           Foreign Address        (state)
609789AC  Router.cisco.com.23     cider.cisco.com.3733   ESTAB

The following example shows the IP activity by using the numeric keyword to display the addresses in IP format.

Router# show tcp brief numeric

TCB           Local Address          Foreign Address     (state)
6523A4FC      10.1.25.3.11000        10.1.25.3.23         ESTAB
65239A84      10.1.25.3.23           10.1.25.3.11000      ESTAB
653FCBBC      *.1723 *.* LISTEN

Table 1 describes the significant fields shown in the display.

Table 1 show tcp brief Field Descriptions 

Field
Description

TCB

An internal identifier for the endpoint.

Local Address

The local IP address and port.

Foreign Address

The foreign IP address and port (at the opposite end of the connection).

(state)

The state of the connection. States are described in the syntax description of the show tcp command.


Related Commands

Command
Description

show tcp

Displays the status of TCP connections.