Table Of Contents
show ip tcp header-compression
show platform hardware qfp active feature wccp
show sctp association parameters
show sctp association statistics
show ip sockets
To display IP socket information, use the show ip sockets command in user EXEC or privileged EXEC mode.
show ip sockets
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Use this command to verify that the socket being used is opening correctly. If there is a local and remote endpoint, a connection is established with the ports indicated.
Examples
The following is sample output from the show ip sockets command:
Router# show ip socketsProto Remote Port Local Port In Out Stat TTY OutputIF17 10.0.0.0 0 172.16.186.193 67 0 0 1 017 172.16.191.135 514 172.16.191.129 1811 0 0 0 017 172.16.135.20 514 172.16.191.1 4125 0 0 0 017 172.16.207.163 49 172.16.186.193 49 0 0 9 017 10.0.0.0 123 172.16.186.193 123 0 0 1 088 10.0.0.0 0 172.16.186.193 202 0 0 0 017 172.16.96.59 32856 172.16.191.1 161 0 0 1 017 --listen-- --any-- 496 0 0 1 0The following sample output from the show ip sockets command shows IPv6 socket information:
Router# show ip socketsProto Remote Port Local Port In Out Stat TTY OutputIF17(v6) --listen-- --any-- 1024 0 0 0 017(v6) --listen-- --any-- 7 0 0 0 0 17(v6) --listen-- --any-- 161 0 0 0 017(v6) --listen-- --any-- 162 0 0 0 017 --listen-- --any-- 1024 0 0 0 017 --listen-- --any-- 7 0 0 0 017 --listen-- --any-- 9 0 0 0 017 --listen-- --any-- 19 0 0 0 017 --listen-- --any-- 1645 0 0 0 017 --listen-- --any-- 1646 0 0 0 017 --listen-- --any-- 161 0 0 0 017 --listen-- --any-- 162 0 0 0 0Table 53 describes the significant fields shown in the display.
Related Commands
show ip tcp header-compression
To display TCP/IP header compression statistics, use the show ip tcp header-compression command in user EXEC or privileged EXEC mode.
show ip tcp header-compression [interface-type interface-number] [detail]
Syntax Description
interface-type interface-number
(Optional) The interface type and number.
detail
(Optional) Displays details of each connection. This keyword is available only in privileged EXEC mode.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Examples
The following is sample output from the show ip tcp header-compression command:
Router# show ip tcp header-compressionTCP/IP header compression statistics:Interface Serial2/0 (compression on, IETF)Rcvd: 53797 total, 53796 compressed, 0 errors, 0 status msgs0 dropped, 0 buffer copies, 0 buffer failuresSent: 53797 total, 53796 compressed, 0 status msgs, 0 not predicted1721848 bytes saved, 430032 bytes sent5.00 efficiency improvement factorConnect: 16 rx slots, 16 tx slots,1 misses, 0 collisions, 0 negative cache hits, 15 free contexts99% hit ratio, five minute miss rate 0 misses/sec, 0 maxTable 54 describes the significant fields shown in the display.
The following example for Cisco IOS Release 12.4(15)T12 shows that the TCP special VJ format is enabled:
Router# show ip tcp header-compression serial 5/0 detailTCP/IP header compression statistics:DLCI 100 Link/Destination info: ip 10.72.72.2Configured:Max Header 60 Bytes, Max Time 50 Secs, Max Period 32786 Packets, Feedback On, Spl-VJ OnNegotiated:Max Header 60 Bytes, Max Time 50 Secs, Max Period 32786 Packets, Feedback On, Spl-VJ OnTX contexts:Related Commands
show ip traffic
To display the global or system-wide IP traffic statistics for one or more interfaces, use the show ip traffic command in user EXEC or privileged EXEC mode.
show ip traffic [interface type number]
Syntax Description
interface type number
(Optional) Displays the global or system-wide IP traffic statistics for a specific interface. If the interface keyword is used, the type and number arguments are required.
Command Default
Using the show ip traffic command with no keywords or arguments displays the global or system-wide IP traffic statistics for all interfaces.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Using the show ip traffic command with the optional interface keyword displays the ipIfStatsTable counters for the specified interface if IPv4 addressing is enabled.
Examples
The following is sample output from the show ip traffic command:
Router# show ip trafficIP statistics:Rcvd: 27 total, 27 local destination0 format errors, 0 checksum errors, 0 bad hop count0 unknown protocol, 0 not a gateway0 security failures, 0 bad options, 0 with optionsOpts: 0 end, 0 nop, 0 basic security, 0 loose source route0 timestamp, 0 extended security, 0 record route0 stream ID, 0 strict source route, 0 alert, 0 cipso, 0 ump0 otherFrags: 0 reassembled, 0 timeouts, 0 couldn't reassemble0 fragmented, 0 couldn't fragmentBcast: 27 received, 0 sentMcast: 0 received, 0 sentSent: 0 generated, 0 forwardedDrop: 0 encapsulation failed, 0 unresolved, 0 no adjacency0 no route, 0 unicast RPF, 0 forced dropDrop: 0 packets with source IP address zeroICMP statistics:Rcvd: 0 format errors, 0 checksum errors, 0 redirects, 0 unreachable0 echo, 0 echo reply, 0 mask requests, 0 mask replies, 0 quench0 parameter, 0 timestamp, 0 info request, 0 other0 irdp solicitations, 0 irdp advertisements0 time exceeded, 0 timestamp replies, 0 info repliesSent: 0 redirects, 0 unreachable, 0 echo, 0 echo reply0 mask requests, 0 mask replies, 0 quench, 0 timestamp0 info reply, 0 time exceeded, 0 parameter problem0 irdp solicitations, 0 irdp advertisementsBGP statistics:Rcvd: 0 total, 0 opens, 0 notifications, 0 updates0 keepalives, 0 route-refresh, 0 unrecognizedSent: 0 total, 0 opens, 0 notifications, 0 updates0 keepalives, 0 route-refreshEIGRP-IPv4 statistics:Rcvd: 0 totalSent: 0 totalTCP statistics:Rcvd: 0 total, 0 checksum errors, 0 no portSent: 0 totalPIMv2 statistics: Sent/ReceivedTotal: 0/0, 0 checksum errors, 0 format errorsRegisters: 0/0 (0 non-rp, 0 non-sm-group), Register Stops: 0/0, Hellos: 0/0Join/Prunes: 0/0, Asserts: 0/0, grafts: 0/0Bootstraps: 0/0, Candidate_RP_Advertisements: 0/0State-Refresh: 0/0IGMP statistics: Sent/ReceivedTotal: 0/0, Format errors: 0/0, Checksum errors: 0/0Host Queries: 0/0, Host Reports: 0/0, Host Leaves: 0/0DVMRP: 0/0, PIM: 0/0UDP statistics:Rcvd: 185515 total, 0 checksum errors, 185515 no portSent: 0 total, 0 forwarded broadcastsOSPF statistics:Rcvd: 0 total, 0 checksum errors0 hello, 0 database desc, 0 link state req0 link state updates, 0 link state acksSent: 0 total0 hello, 0 database desc, 0 link state req0 link state updates, 0 link state acksProbe statistics:Rcvd: 0 address requests, 0 address replies0 proxy name requests, 0 where-is requests, 0 otherSent: 0 address requests, 0 address replies (0 proxy)0 proxy name replies, 0 where-is repliesARP statistics:Rcvd: 1477 requests, 8841 replies, 396 reverse, 0 otherSent: 1 requests, 20 replies (0 proxy), 0 reverseDrop due to input queue full: 0Cisco 10000 Series Routers Example
The following is sample output from the show ip traffic command when used on a Cisco 10000 series router:
Router# show ip trafficIP statistics:Rcvd: 27 total, 27 local destination0 format errors, 0 checksum errors, 0 bad hop count0 unknown protocol, 0 not a gateway0 security failures, 0 bad options, 0 with optionsOpts: 0 end, 0 nop, 0 basic security, 0 loose source route0 timestamp, 0 extended security, 0 record route0 stream ID, 0 strict source route, 0 alert, 0 cipso, 0 ump0 otherFrags: 0 reassembled, 0 timeouts, 0 couldn't reassemble0 fragmented, 0 couldn't fragmentBcast: 27 received, 0 sentMcast: 0 received, 0 sentSent: 0 generated, 0 forwardedDrop: 0 encapsulation failed, 0 unresolved, 0 no adjacency0 no route, 0 unicast RPF, 0 forced drop0 options denied, 0 source IP address zeroTable 55 describes the significant fields shown in the display.
Related Commands
Command Descriptionclear ip traffic
Clears the global or system-wide IP traffic statistics for one or more interfaces.
show ip wccp
To display the Web Cache Communication Protocol (WCCP) global configuration and statistics, use the show ip wccp command in user EXEC or privileged EXEC mode.
show ip wccp [summary] [capabilities] [vrf vrf-name] [service-number | interfaces [cef | counts | detail] | web-cache | all [view | {assignment | service | clients [id ip-address] | full | detail [counters] [internal]}]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Use the clear ip wccp command to reset the counter for the "Packets Redirected" information.
Use the show ip wccp service-number command to provide the "Total Packets Redirected" count. The "Total Packets Redirected" count is the number of flows, or sessions, that are redirected.
Use the show ip wccp service-number detail command to provide the "Packets Redirected" count. The "Packets Redirected" count is the number of flows, or sessions, that are redirected.
Use the show ip wccp web-cache detail command to provide an indication of how many flows, rather than packets, are using Layer 2 redirection.
Use the show ip wccp summary command to show the configured WCCP services and a summary of their current state.
For cache-engine clusters using Cisco cache engines, the reverse proxy service-number is indicated by a value of 99.
On Cisco ASR 1000 Series Routers, nonzero values can only be seen for platform-specific counters because Cisco ASR 1000 Series Routers implement all redirection in hardware. Configuring the counters keyword also displays counters received in hardware.
Examples
This section contains examples and field descriptions for the following forms of this command:
•show ip wccp service-number (service mode displayed)
•show ip wccp service-number view
•show ip wccp service-number detail
•show ip wccp interfaces
•show ip wccp web-cache
•show ip wccp web-cache counters
•show ip wccp web-cache detail
•show ip wccp web-cache detail (bypass counters displayed)
•show ip wccp web-cache service
•show ip wccp summary
show ip wccp service-number (Service Mode Displayed)
The following is sample output from the show ip wccp service-number command:
Router# show ip wccp 90Global WCCP information:Router information:Router Identifier: 100.1.1.16Protocol Version: 2.0Service Identifier: 90Number of Service Group Clients: 1Number of Service Group Routers: 1Total Packets s/w Redirected: 0Process: 0CEF: 0Service mode: ClosedService Access-list: tcp91Total Packets Dropped Closed: 0Redirect Access-list: -none-Total Packets Denied Redirect: 0Total Packets Unassigned: 0Group Access-list: -none-Total Messages Denied to Group: 0Total Authentication failures: 0Total Bypassed Packets Received: 0Table 56 describes the significant fields shown in the display.
show ip wccp service-number view
The following is sample output from the show ip wccp service-number view command for service group 1:
Router# show ip wccp 1 viewWCCP Router Informed of:10.168.88.1010.168.88.20WCCP Cache Engines Visible10.168.88.1110.168.88.12WCCP Cache Engines Not Visible:-none-
Note The number of maximum service groups that can be configured is 256.
If any web cache is displayed under the WCCP Cache Engines Not Visible field, the router needs to be reconfigured to map the web cache that is not visible to it.
Table 57 describes the significant fields shown in the display.
show ip wccp service-number detail
The following example displays WCCP client information and WCCP router statistics that include the type of services:
Router# show ip wccp 91 detailWCCP Client information:WCCP Client ID: 10.1.1.14Protocol Version: 2.0State: UsableRedirection: GREPacket Return: GREAssignment: HASHInitial Hash Info: 0000000000000000000000000000000000000000000000000000000000000000Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFHash Allotment: 256 (100.00%)Packets Redirected: 0Connect Time: 00:01:56Bypassed PacketsProcess: 0CEF: 0show ip wccp interfaces
The following is sample output from the show ip wccp interfaces command:
Router# show ip wccp interfacesWCCP interface configuration:FastEthernet0/1/0Output services: 2Input services: 3Mcast services: 1Exclude In: FALSETable 58 describes the significant fields shown in the display.
show ip wccp web-cache
The following is sample output from the show ip wccp web-cache command:
Router# show ip wccp web-cacheGlobal WCCP information:Router information:Router Identifier: R1Protocol Version: 2.0Service Identifier: web-cacheNumber of Service Group Clients: 0Number of Service Group Routers: 0Total Packets Redirected: 213Process: 0CEF: 0Platform: 0Service mode: OpenService Access-list: -none-Total Packets Dropped Closed: 0Redirect access-list: no_linuxTotal Packets Denied Redirect: 0Total Packets Unassigned: 0Group access-list: -none-Total Messages Denied to Group: 0Total Authentication failures: 0Total GRE Bypassed Packets Received: 0Process: 0CEF: 0Platform: 0Table 59 describes the significant fields shown in the display.
show ip wccp web-cache counters
The following example displays web cache engine information and WCCP traffic counters:
Router# show ip wccp web-cache countersWCCP Service Group Counters:Redirected Packets:Process: 4CEF: 5Non-Redirected Packets:Action - Forward:Reason - no assignment:Process: 2CEF: 1Action - Ignore (forward):Reason - redir ACL check:Process: 2CEF: 3Action - Discard:Reason - closed services:Process: 0CEF: 0GRE Bypassed Packets:Process: 4CEF: 5GRE Bypassed Packet Errors:Total Errors:Process: 0CEF: 0WCCP Client Counters:WCCP Client ID: 10.1.1.82Redirect Assignments:Received: 1Invalid: 0Duplicate: 0Redirected Packets:Process: 4CEF: 5GRE Bypassed Packets:Process: 4CEF: 5Table 60 describes the significant fields shown in the display.
show ip wccp web-cache detail
The following example displays web cache engine information and WCCP router statistics for the web cache service:
Router# show ip wccp web-cache detailWCCP Client information:WCCP Client ID: 10.20.1.10 (IP address: 10.20.1.2)Protocol Version: 2.0State: UsableRedirection: L2Packet Return: GREAssignment: MASKConnect Time: 00:18:22Redirected Packets:Process: 0CEF: 0Platform: 39GRE Bypassed Packets:Process: 0CEF: 0Mask Allotment: 64 of 64 (100.00%)Mask SrcAddr DstAddr SrcPort DstPort---- ------- ------- ------- -------0000: 0x00001741 0x00000000 0x0000 0x0000Value SrcAddr DstAddr SrcPort DstPort----- ------- ------- ------- -------0000: 0x00000000 0x00000000 0x0000 0x00000001: 0x00000001 0x00000000 0x0000 0x00000002: 0x00000040 0x00000000 0x0000 0x00000003: 0x00000041 0x00000000 0x0000 0x0000...Table 61 describes the significant fields shown in the display.
show ip wccp web-cache detail (Bypass Counters)
The following example displays web cache engine information and WCCP router statistics that include the bypass counters:
Router# show ip wccp web-cache detailWCCP Router information:IP Address: 10.168.88.10Protocol Version: 2.0WCCP Client InformationIP Address: 10.168.88.11Protocol Version: 2.0State: UsableInitial Hash Info: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAssigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFHash Allotment: 256 (100.00%)Packets Redirected: 21345Connect Time: 00:13:46Bypassed PacketsProcess: 0Fast: 0CEF: 250Table 62 describes the significant fields shown in the display.
show ip wccp web-cache service
The following example displays information about a service, including the service definition and all other per-service information:
Router# show ip wccp web-cache serviceWCCP service information definition:Type: StandardId: 0Priority: 240Protocol: 6Options: 0x00000512--------Mask/Value sets: 1Value elements: 4Dst Ports: 80 0 0 0 0 0 0 0show ip wccp summary
The following example displays information on the configured WCCP services and a summary of their current state:
Router# show ip wccp summaryWCCP version 2 enabled, 2 servicesService Clients Routers Assign Redirect Bypass------- ------- ------- ------ -------- ------Default routing table (Router Id: TBD):90 0 0 HASH/MASK GRE/L2 GRE/L2VRF red (Router Id: 10.1.1.1):90 1 1 HASH L2 GRETable 63 describes the significant fields shown in the display.
Related Commands
show ip wccp global counters
To display global Web Cache Communication Protocol (WCCP) information for packets that are processed in software, use the show ip wccp global counters command in user EXEC or privileged EXEC mode.
show ip wccp global counters
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
The show ip wccp global command displays counters for packets that are processed in software. These counters are always zero on the Cisco ASR 1000 Series Routers.
Examples
The following example displays global WCCP information for packets that are processed in the software:
Router# show ip wccp global countersWCCP Global Counters:Packets Seen by WCCPProcess: 8CEF (In): 14CEF (Out): 0Related Commands
show ip wccp web-caches
The show ip wccp web-caches command has been replaced by the show ip wccp web-cache detail command. See the description of the show ip wccp command in this book for more information.
show platform hardware qfp active feature wccp
To display the Web Cache Communication Protocol (WCCP) service group information in the active Cisco Quantum Flow Processor (QFP), use the show platform hardware qfp active feature wccp command in privileged EXEC mode.
show platform hardware qfp active feature wccp [vrf vrf-id] service id service-id
Syntax Description
vrf vrf-id
(Optional) Specifies a VRF associated with a service group to display.
service id service-id
Specifies the WCCP service group ID.
Command Modes
Privileged EXEC (#)
Command History
Release ModificationCisco IOS XE Release 2.2
This command was introduced.
Cisco IOS XE Release 3.1S
This command was modified. The vrf keyword and vrf-name argument were added.
Examples
The following is a sample output from the show platform hardware qfp active feature wccp command:
Router# show platform hardware qfp active feature wccp service id 1Service ID: 0Service Priority: 240CG ID: 0Mode: OpenNum bind objs: 64Number of Caches in this service: 1ce index: 0cache_id : 15Cache ip addr : 0x5a140102Cache cfg ppe addr : 0x8b480000Cache oce ppe addr : 0x89b01480Cache state ppe addr : 0x8b4d0400Number of interfaces using this service: 1Interface: GigabitEthernet0/3/1cpp-if-h: 18Dir: 0pal-if-h: 20Table 64 describes the significant fields shown in the display.
show platform software wccp
To display platform specific configuration and statistics related WCCP information on Cisco ASR 1000 Series Routers, use the show platform software wccp command in privileged EXEC mode.
show platform software wccp [service-number counters | [slot [service-number [access-list] | cache-info | interface | statistics | web-cache [access-list]] | [vrf vrf-identifier {service-number [access-list] | web-cache [access-list]}]] | interface counters | statistics | [vrf vrf-identifier {service-number counters | web-cache counters}] | web-cache counters]
Syntax Description
Command Modes
Privileged EXEC (#)
Command History
Release ModificationCisco IOS XE Release 2.2
This command was introduced.
Cisco IOS XE Release 3.1S
This command was modified. The vrf vrf-identifier keyword and argument pair was added.
Usage Guidelines
Use the show platform software wccp to display global statistics and configuration information related to WCCP on the Cisco ASR 1000 Series Routers. The show ip wccp command displays information about software-based (process, fast, and Cisco Express Forwarding [CEF]) forwarding of WCCP packets. The Cisco ASR 1000 Services Routers implement WCCP in hardware, rather than in the CEF or process-switching paths. The show ip wccp displays WCCP counters, but only platform fields have nonzero values because redirection happens in hardware.
Examples
The following is sample output from the show platform software wccp counters command:
Router# show platform software wccp 61 countersService Group (1, 61) countersUnassigned count = 0Dropped due to closed service count = 0Bypass count = 0Bypass failed count = 0Denied count = 0Redirect count = 313635910244CE = 10.1.1.2, obj_id = 58, Redirect Packets = 42768533218CE = 10.2.1.2, obj_id = 165, Redirect Packets = 45619768766...Table 65 describes the significant fields shown in the display.
The following is sample output from the show platform software wccp slot interface command:
Router# show platform software wccp f0 interfaceInterface FastEthernet0/1/0if_handle: 11, direction: InStandard web-cache serviceTable 66 describes the significant fields shown in the display.
The following is sample output from the show platform software wccp interface counters command:
Router# show platform software wccp interface countersInterface FastEthernet0/1/0Input Redirect Packets = 0Output Redirect Packets = 0Table 67 describes the significant fields shown in the display.
The following is sample output from the show platform software wccp web-cache counters command:
Router# show platform software wccp web-cache countersService Group (0, 0) countersUnassigned count = 0Dropped due to closed service count = 0Bypass count = 0Bypass failed count = 0Denied count = 0Redirect count = 0Table 68 describes the significant fields shown in the display.
Related Commands
Command Descriptionip wccp
Enables support of the WCCP service for participation in a service group.
ip wccp redirect
Enables packet redirection on an outbound or inbound interface using WCCP.
show sctp association
To display accumulated information for a specific Stream Control Transmission Protocol (SCTP) association, use the show sctp association command in privileged EXEC mode.
show sctp association assoc-id
Syntax Description
assoc-id
Association identifier, which can be obtained from the output of the show sctp association list command.
Command Modes
Privileged EXEC (#)
Command History
Release Modification12.4(11)T
This command was introduced.
12.4(15)T
This command was moved to the Cisco IOS IP Application Services Command Reference.
Usage Guidelines
This command shows only the information that has become available since the last time a clear sctp statistics command was executed.
Because thousands of associations can be on a single socket and instance ID, this command has been created to limit the output by displaying the status of one particular association ID.
Examples
The following sample output shows the established associations:
Router# show sctp association list** SCTP Association List **AssocID: 3011699535, Instance ID: 1Current state: ESTABLISHEDLocal port: 2000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105Remote port: 1000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105AssocID: 2740019456, Instance ID: 0Current state: ESTABLISHEDLocal port: 1000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105Remote port: 2000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105The following sample output shows information for SCTP association 3011699535:
Router# show sctp association 3011699535AssocID: 3011699535, Instance ID: 1Current state: ESTABLISHEDLocal port: 2000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105Remote port: 1000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105Table 69 describes the significant fields shown in the display.
Related Commands
show sctp association list
To display identifiers and information for current Stream Control Transmission Protocol (SCTP) associations and instances, use the show sctp association list command in privileged EXEC mode.
show sctp association list
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
Use this command to display the current SCTP association and instance identifiers, the current state of SCTP associations, and the local and remote port numbers and addresses that are used in the associations.
Examples
The following is sample output from this command for three association identifiers:
Router# show sctp association list*** SCTP Association List ****AssocID:0, Instance ID:0Current state:ESTABLISHEDLocal port:8989, Addrs:10.1.0.2 10.2.0.2Remote port:8989, Addrs:10.6.0.4 10.5.0.4AssocID:1, Instance ID:0Current state:ESTABLISHEDLocal port:8989, Addrs:10.1.0.2 10.2.0.2Remote port:8990, Addrs:10.6.0.4 10.5.0.4AssocID:2, Instance ID:0Current state:ESTABLISHEDLocal port:8989, Addrs:10.1.0.2 10.2.0.2Remote port:8991, Addrs:10.6.0.4 10.5.0.4Table 70 describes the significant fields shown in the display.
Related Commands
show sctp association parameters
To display configured and calculated parameters for the specified Stream Control Transmission Protocol (SCTP) association, use the show sctp association parameters command in privileged EXEC mode.
show sctp association parameters assoc-id
Syntax Description
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
The show sctp association parameters command provides information to determine the stability of SCTP associations, dynamically calculated statistics about destinations, and values to assess network congestion. This command also displays parameter values for the specified association.
This command requires an association identifier. Association identifiers can be obtained from the output of the show sctp association list command.
Many parameters are defined for each association. Some are configured parameters, and others are calculated. Three main groupings of parameters are displayed by this command:
•Association configuration parameters
•Destination address parameters
•Association boundary parameters
The association configuration section displays information similar to that in the show sctp association list command, including association identifiers, state, and local and remote port and address information. The current primary destination is also displayed.
Examples
The following sample output shows the IP SCTP association parameters for association 0:
Router# show sctp association parameters 0** SCTP Association Parameters **AssocID: 0 Context: 0 InstanceID: 1Assoc state: ESTABLISHED Uptime: 19:05:57.425Local port: 8181Local addresses: 10.1.0.3 10.2.0.3Remote port: 8181Primary dest addr: 10.5.0.4Effective primary dest addr: 10.5.0.4Destination addresses:10.5.0.4: State: ACTIVEHeartbeats: Enabled Timeout: 30000 msRTO/RTT/SRTT: 1000/16/38 ms TOS: 0 MTU: 1500cwnd: 5364 ssthresh: 3000 outstand: 768Num retrans: 0 Max retrans: 5 Num times failed: 010.6.0.4: State: ACTIVEHeartbeats: Enabled Timeout: 30000 msRTO/RTT/SRTT: 1000/4/7 ms TOS: 0 MTU: 1500cwnd: 3960 ssthresh: 3000 outstand: 0Num retrans: 0 Max retrans: 5 Num times failed: 0Local vertag: 9A245CD4 Remote vertag: 2A08D122Num inbound streams: 10 outbound streams: 10Max assoc retrans: 5 Max init retrans: 8CumSack timeout: 200 ms Bundle timeout: 100 msMin RTO: 1000 ms Max RTO: 60000 msLocalRwnd: 18000 Low: 13455 RemoteRwnd: 15252 Low: 13161Congest levels: 0 current level: 0 high mark: 325Table 71 describes the significant fields shown in the display.
Related Commands
show sctp association statistics
To display statistics that have accumulated for the specified Stream Control Transmission Protocol (SCTP) association, use the show sctp association statistics command in privileged EXEC mode.
show sctp association statistics assoc-id
Syntax Description
assoc-id
Association identifier, which can be obtained from the output of the show sctp association list command.
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
This command shows only the information that has become available since the last time a clear sctp statistics command was executed.
Examples
The following sample output shows the statistics accumulated for SCTP association 0:
Router# show sctp association statistics 0** SCTP Association Statistics **AssocID/InstanceID: 0/1Current State: ESTABLISHEDControl ChunksSent: 623874 Rcvd: 660227Data Chunks SentTotal: 14235644 Retransmitted: 60487Ordered: 6369678 Unordered: 6371263Avg bundled: 18 Total Bytes: 640603980Data Chunks RcvdTotal: 14496585 Discarded: 1755575Ordered: 6369741 Unordered: 6371269Avg bundled: 18 Total Bytes: 652346325Out of Seq TSN: 3069353ULP DgramsSent: 12740941 Ready: 12740961 Rcvd: 12740941Table 69 describes the significant fields shown in the display.
Related Commands
show sctp errors
To display the error counts logged by the Stream Control Transmission Protocol (SCTP), use the show sctp errors command in privileged EXEC mode.
show sctp errors
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
This command displays all errors across all associations that have been logged since the last time that the SCTP statistics were cleared with the clear sctp statistics command. If no errors have been logged, this is indicated in the output.
Examples
The following sample output shows a session with no errors:
Router# show sctp errors*** SCTP Error Statistics ****No SCTP errors logged.The following sample output shows a session that has SCTP errors:
Router# show sctp errors** SCTP Error Statistics **Invalid verification tag: 5Communication Lost: 64Destination Address Failed: 3Unknown INIT params rcvd: 16Invalid cookie signature: 5Expired cookie: 1Peer restarted: 1No Listening instance: 2Field descriptions are self-explanatory.
Related Commands
show sctp instance
To display Stream Control Transmission Protocol (SCTP) endpoint information for one specific currently configured instance, use the show sctp instance command in user EXEC or privileged EXEC mode.
show sctp instance instance-id
Privileged EXEC Mode of Cisco 3845 Series Routers
show sctp instance [redundancy] instance-id
Syntax Description
instance-id
Instance identifier, which is defined as the transport ID (TransID) value in the output from the show sockets command.
redundancy
(Optional) Displays SCTP instance redundancy information.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
This command displays information for the currently configured instance with the ID specified in the command syntax. The instance number, local port, and address information are displayed. The instance state is either available or deletion pending. An instance enters the deletion pending state when a request is made to delete it but there are currently established associations for that instance. The instance cannot be deleted immediately and instead enters the pending state. No new associations are allowed in this instance, and when the last association is terminated or fails, the instance is deleted.
The default inbound and outbound stream numbers (see the "Examples" section) are used for establishing incoming associations, the maximum number of associations allowed for this instance is shown, and a snapshot of each existing association is shown, if any exists.
Examples
The following sample output displays information for SCTP instance 0. In this example, instance 0 is using local port 1000 and has three current associations. Field description is self-explanatory.
Router# show sctp instance 0Instance ID:0 Local port:1000 State:availableLocal addrs:10.1.0.2 10.2.0.2Default streams inbound:1 outbound:1Current associations: (max allowed:200)AssocID:0 State:ESTABLISHED Remote port:8989Dest addrs:10.6.0.4 10.5.0.4AssocID:1 State:ESTABLISHED Remote port:8990Dest addrs:10.6.0.4 10.5.0.4AssocID:2 State:ESTABLISHED Remote port:8991Dest addrs:10.6.0.4 10.5.0.4The following sample output displays information for SCTP instance 1. In this example, instance 1 is using local port 9191 and has no current associations. Field description is self-explanatory.
Router# show sctp instance 1Instance ID:1 Local port:9191 State:availableLocal addrs:10.1.0.2 10.2.0.2Default streams inbound:1 outbound:1No current associations established for this instance.Max allowed:6Related Commands
show sctp instances
To display information for each of the currently configured Stream Control Transmission Protocol (SCTP) instances, use the show sctp instances command in privileged EXEC mode.
show sctp instances
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
This command displays information for each of the currently configured instances. The instance number, local port, and address information are displayed. The instance state is either available or deletion pending. An instance enters the deletion pending state when a request is made to delete it but there are currently established associations for that instance. The instance cannot be deleted immediately and instead enters the pending state. No new associations are allowed in this instance, and when the last association is terminated or fails, the instance is deleted.
The default inbound and outbound stream numbers are used for establishing incoming associations, the maximum number of associations allowed for this instance is shown, and a snapshot of each existing association is shown, if any exists.
When you enter the show sctp instances command, you must type the complete word instances in the command syntax. If you try to enter an abbreviated form of this word, there will be a partial match that identifies the show sctp instance instance-id command.
Examples
The following sample output shows available IP SCTP instances. In this example, two current instances are active and available. The first is using local port 8989, and the second is using 9191. Instance identifier 0 has three current associations, and instance identifier 1 has no current associations.
Router# show sctp instances*** SCTP Instances ****Instance ID:0 Local port:8989Instance state:availableLocal addrs:10.1.0.2 10.2.0.2Default streams inbound:1 outbound:1Current associations: (max allowed:6)AssocID:0 State:ESTABLISHED Remote port:8989Dest addrs:10.6.0.4 10.5.0.4AssocID:1 State:ESTABLISHED Remote port:8990Dest addrs:10.6.0.4 10.5.0.4AssocID:2 State:ESTABLISHED Remote port:8991Dest addrs:10.6.0.4 10.5.0.4Instance ID:1 Local port:9191Instance state:availableLocal addrs:10.1.0.2 10.2.0.2Default streams inbound:1 outbound:1No current associations established for this instance.Max allowed:6Field descriptions are self-explanatory.
Related Commands
show sctp statistics
To display the overall statistics counts for Stream Control Transmission Protocol (SCTP) activity, use the show sctp statistics command in privileged EXEC mode.
show sctp statistics
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
This command displays the overall SCTP statistics accumulated since the last clear sctp statistics command. It includes numbers for all currently established associations, and for any that have been terminated. The statistics indicated are similar to those shown for individual associations.
Examples
The following sample output shows SCTP statistics:
Router# show sctp statistics*** SCTP Overall Statistics ****Total Chunks Sent: 2097Total Chunks Rcvd: 2766Data Chunks Rcvd In Seq: 538Data Chunks Rcvd Out of Seq: 0Total Data Chunks Sent: 538Total Data Chunks Rcvd: 538Total Data Bytes Sent: 53800Total Data Bytes Rcvd: 53800Total Data Chunks Discarded: 0Total Data Chunks Retrans: 0Total SCTP Dgrams Sent: 1561Total SCTP Dgrams Rcvd: 2228Total ULP Dgrams Sent: 538Total ULP Dgrams Ready: 538Total ULP Dgrams Rcvd: 538Field descriptions are self-explanatory.
Related Commands
show sockets
To display IP socket information, use the show sockets command in user EXEC or privileged EXEC mode.
show sockets process-id [detail] [events]
Syntax Description
Command Default
IP socket information is not displayed.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use this command to display the number of sockets currently open and their distribution with respect to the transport protocol process specified by the process-id argument.
Use the optional detail keyword to display additional information including the local and remote port, protocol type, sub-type for Stream Control Transmission Protocol (SCTP) sockets, IP version, and socket state. Use the optional events keyword to display information about the status of the event model for the specified socket. The events keyword also displays the events being watched using the event model, events being watched using select calls, and any current events present on the socket.
Use the show processes command to display the list of running processes and their associated process IDs.
Examples
The following is sample output from the show sockets command when there are no sockets open for the specified process:
Router# show sockets 99There are no open sockets for this processThe following example displays the total number of open sockets for the specified process:
Router# show sockets 35Total open sockets - TCP:7, UDP:0, SCTP:0The following example shows how to display detailed information about open sockets:
Router# show sockets 35 detailFD LPort FPort Proto Type TransID0 5000 0 TCP STREAM 0x6654DEBCState: SS_ISBOUNDOptions: SO_ACCEPTCONN1 5001 0 TCP STREAM 0x6654E494State: SS_ISBOUNDOptions: SO_ACCEPTCONN2 5002 0 TCP STREAM 0x656710B0State: SS_ISBOUNDOptions: SO_ACCEPTCONN3 5003 0 TCP STREAM 0x65671688State: SS_ISBOUNDOptions: SO_ACCEPTCONN4 5004 0 TCP STREAM 0x65671C60State: SS_ISBOUNDOptions: SO_ACCEPTCONN5 5005 0 TCP STREAM 0x65672238State: SS_ISBOUNDOptions: SO_ACCEPTCONN6 5006 0 TCP STREAM 0x64C7840CState: SS_ISBOUNDOptions: SO_ACCEPTCONNTotal open sockets - TCP:7, UDP:0, SCTP:0The following example displays IP socket event information:
Router# show sockets 35 eventsEvents watched for this process: READFD Watched Present Select Present0 --- --- R-- R--Table 73 describes the significant fields shown in the displays.
Related Commands