![]() |
Cisco IOS IP Application Services Command Reference
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
show ip sockets through show sockets
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contents
show ip sockets through show socketsshow ip socketsTo display IP socket information, use the show ip sockets command in user EXEC or privileged EXEC mode. Command History
Usage GuidelinesUse 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. ExamplesThe following is sample output from the show ip sockets command:
Router# show ip sockets
Proto Remote Port Local Port In Out Stat TTY OutputIF
17 10.0.0.0 0 172.16.186.193 67 0 0 1 0
17 172.16.191.135 514 172.16.191.129 1811 0 0 0 0
17 172.16.135.20 514 172.16.191.1 4125 0 0 0 0
17 172.16.207.163 49 172.16.186.193 49 0 0 9 0
17 10.0.0.0 123 172.16.186.193 123 0 0 1 0
88 10.0.0.0 0 172.16.186.193 202 0 0 0 0
17 172.16.96.59 32856 172.16.191.1 161 0 0 1 0
17 --listen-- --any-- 496 0 0 1 0
The following sample output from the show ip sockets command shows IPv6 socket information:
Router# show ip sockets
Proto Remote Port Local Port In Out Stat TTY OutputIF
17(v6) --listen-- --any-- 1024 0 0 0 0
17(v6) --listen-- --any-- 7 0 0 0 0 17(v6) --listen-- --any-- 161 0 0 0 0
17(v6) --listen-- --any-- 162 0 0 0 0
17 --listen-- --any-- 1024 0 0 0 0
17 --listen-- --any-- 7 0 0 0 0
17 --listen-- --any-- 9 0 0 0 0
17 --listen-- --any-- 19 0 0 0 0
17 --listen-- --any-- 1645 0 0 0 0
17 --listen-- --any-- 1646 0 0 0 0
17 --listen-- --any-- 161 0 0 0 0
17 --listen-- --any-- 162 0 0 0 0
The table below describes the significant fields shown in the display.
show ip tcp header-compressionTo display TCP/IP header compression statistics, use the show ip tcp header-compression command in user EXEC or privileged EXEC mode. Command History
ExamplesThe following is sample output from the show ip tcp header-compression command:
Router# show ip tcp header-compression
TCP/IP header compression statistics:
Interface Serial2/0 (compression on, IETF)
Rcvd: 53797 total, 53796 compressed, 0 errors, 0 status msgs
0 dropped, 0 buffer copies, 0 buffer failures
Sent: 53797 total, 53796 compressed, 0 status msgs, 0 not predicted
1721848 bytes saved, 430032 bytes sent
5.00 efficiency improvement factor
Connect: 16 rx slots, 16 tx slots,
1 misses, 0 collisions, 0 negative cache hits, 15 free contexts
99% hit ratio, five minute miss rate 0 misses/sec, 0 max
The table below 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 detail
TCP/IP header compression statistics:
DLCI 100 Link/Destination info: ip 10.72.72.2
Configured:
Max Header 60 Bytes, Max Time 50 Secs, Max Period 32786 Packets, Feedback On, Spl-VJ On
Negotiated:
Max Header 60 Bytes, Max Time 50 Secs, Max Period 32786 Packets, Feedback On, Spl-VJ On
TX contexts:
Related Commands
show ip trafficTo 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. Command DefaultUsing the show ip traffic command with no keywords or arguments displays the global or system-wide IP traffic statistics for all interfaces. Command History
Usage GuidelinesUsing the show ip traffic command with the optional interface keyword displays the ipIfStatsTable counters for the specified interface if IPv4 addressing is enabled. ExamplesThe following is sample output from the show ip traffic command:
Router# show ip traffic
IP statistics:
Rcvd: 27 total, 27 local destination
0 format errors, 0 checksum errors, 0 bad hop count
0 unknown protocol, 0 not a gateway
0 security failures, 0 bad options, 0 with options
Opts: 0 end, 0 nop, 0 basic security, 0 loose source route
0 timestamp, 0 extended security, 0 record route
0 stream ID, 0 strict source route, 0 alert, 0 cipso, 0 ump
0 other
Frags: 0 reassembled, 0 timeouts, 0 couldn't reassemble
0 fragmented, 0 couldn't fragment
Bcast: 27 received, 0 sent
Mcast: 0 received, 0 sent
Sent: 0 generated, 0 forwarded
Drop: 0 encapsulation failed, 0 unresolved, 0 no adjacency
0 no route, 0 unicast RPF, 0 forced drop
Drop: 0 packets with source IP address zero
ICMP statistics:
Rcvd: 0 format errors, 0 checksum errors, 0 redirects, 0 unreachable
0 echo, 0 echo reply, 0 mask requests, 0 mask replies, 0 quench
0 parameter, 0 timestamp, 0 info request, 0 other
0 irdp solicitations, 0 irdp advertisements
0 time exceeded, 0 timestamp replies, 0 info replies
Sent: 0 redirects, 0 unreachable, 0 echo, 0 echo reply
0 mask requests, 0 mask replies, 0 quench, 0 timestamp
0 info reply, 0 time exceeded, 0 parameter problem
0 irdp solicitations, 0 irdp advertisements
BGP statistics:
Rcvd: 0 total, 0 opens, 0 notifications, 0 updates
0 keepalives, 0 route-refresh, 0 unrecognized
Sent: 0 total, 0 opens, 0 notifications, 0 updates
0 keepalives, 0 route-refresh
EIGRP-IPv4 statistics:
Rcvd: 0 total
Sent: 0 total
TCP statistics:
Rcvd: 0 total, 0 checksum errors, 0 no port
Sent: 0 total
PIMv2 statistics: Sent/Received
Total: 0/0, 0 checksum errors, 0 format errors
Registers: 0/0 (0 non-rp, 0 non-sm-group), Register Stops: 0/0, Hellos: 0/0
Join/Prunes: 0/0, Asserts: 0/0, grafts: 0/0
Bootstraps: 0/0, Candidate_RP_Advertisements: 0/0
State-Refresh: 0/0
IGMP statistics: Sent/Received
Total: 0/0, Format errors: 0/0, Checksum errors: 0/0
Host Queries: 0/0, Host Reports: 0/0, Host Leaves: 0/0
DVMRP: 0/0, PIM: 0/0
UDP statistics:
Rcvd: 185515 total, 0 checksum errors, 185515 no port
Sent: 0 total, 0 forwarded broadcasts
OSPF statistics:
Rcvd: 0 total, 0 checksum errors
0 hello, 0 database desc, 0 link state req
0 link state updates, 0 link state acks
Sent: 0 total
0 hello, 0 database desc, 0 link state req
0 link state updates, 0 link state acks
Probe statistics:
Rcvd: 0 address requests, 0 address replies
0 proxy name requests, 0 where-is requests, 0 other
Sent: 0 address requests, 0 address replies (0 proxy)
0 proxy name replies, 0 where-is replies
ARP statistics:
Rcvd: 1477 requests, 8841 replies, 396 reverse, 0 other
Sent: 1 requests, 20 replies (0 proxy), 0 reverse
Drop due to input queue full: 0
The following is sample output from the
show
ip
traffic command for Ethernet interface 0/0:
Router# show ip traffic interface ethernet 0/0
Ethernet0/0 IP-IF statistics :
Rcvd: 99 total, 9900 total_bytes
0 format errors, 0 hop count exceeded
0 bad header, 0 no route
0 bad destination, 0 not a router
0 no protocol, 0 truncated
0 forwarded
0 fragments, 0 total reassembled
0 reassembly timeouts, 0 reassembly failures
0 discards, 99 delivers
Sent: 99 total, 9900 total_bytes 0 discards
99 generated, 0 forwarded
0 fragmented into, 0 fragments, 0 failed
Mcast: 0 received, 0 received bytes
0 sent, 0 sent bytes
Bcast: 0 received, 0 sent
Cisco 10000 Series Routers ExampleThe following is sample output from the show ip traffic command when used on a Cisco 10000 series router:
Router# show ip traffic
IP statistics:
Rcvd: 27 total, 27 local destination
0 format errors, 0 checksum errors, 0 bad hop count
0 unknown protocol, 0 not a gateway
0 security failures, 0 bad options, 0 with options
Opts: 0 end, 0 nop, 0 basic security, 0 loose source route
0 timestamp, 0 extended security, 0 record route
0 stream ID, 0 strict source route, 0 alert, 0 cipso, 0 ump
0 other
Frags: 0 reassembled, 0 timeouts, 0 couldn't reassemble
0 fragmented, 0 couldn't fragment
Bcast: 27 received, 0 sent
Mcast: 0 received, 0 sent
Sent: 0 generated, 0 forwarded
Drop: 0 encapsulation failed, 0 unresolved, 0 no adjacency
0 no route, 0 unicast RPF, 0 forced drop
0 options denied, 0 source IP address zero
The table below describes the significant fields shown in the display.
show ip wccpTo display the IPv4 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 all [capabilities] [summary] interfaces [cef | counts | detail] [vrf vrf-name] [{web-cache | service-number} [assignment] [clients] [counters] [detail] [service] [view] ]
Syntax Description
Command History
Usage GuidelinesUse the clear ip wccp command to reset all WCCP counters. Use the show ip wccp service-number detail command to display information about the WCCP client timeout interval and the redirect assignment timeout interval if those intervals are not set to their default value of 10 seconds. Use the show ip wccp summary command to display the configured WCCP services and a summary of their current state. On Cisco ASR 1000 Series Aggregation Services 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. ExamplesThis section contains examples and field descriptions for the following forms of this command:
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 90
Global WCCP information:
Router information:
Router Identifier: 209.165.200.225
Service Identifier: 90
Protocol Version: 2.00
Number of Service Group Clients: 2
Number of Service Group Routers: 1
Total Packets Redirected: 0
Process: 0
CEF: 0
Service mode: Open
Service Access-list: -none-
Total Packets Dropped Closed: 0
Redirect access-list: -none-
Total Packets Denied Redirect: 0
Total Packets Unassigned: 0
Group access-list: -none-
Total Messages Denied to Group: 0
Total Authentication failures: 0
Total GRE Bypassed Packets Received: 0
Process: 0
CEF: 0
The table below describes the significant fields shown in the display.
show ip wccp service-number viewThe following is sample output from the show ip wccp service-number view command for service group 1:
Router# show ip wccp 90 view
WCCP Routers Informed of:
209.165.200.225
209.165.200.226
WCCP Clients Visible
209.165.200.227
209.165.200.228
WCCP Clients Not Visible:
-none-
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. The table below describes the significant fields shown in the display.
show ip wccp service-number detailThe following example displays WCCP client information and WCCP router statistics that include the type of services:
Router# show ip wccp 91 detail
WCCP Client information:
WCCP Client ID: 209.165.200.226
Protocol Version: 2.0
State: Usable
Redirection: L2
Packet Return: L2
Assignment: MASK
Connect Time: 6d20h
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
Mask Allotment: 32 of 64 (50.00%)
Assigned masks/values: 1/32
Mask SrcAddr DstAddr SrcPort DstPort
---- ------- ------- ------- -------
0000: 0x00000000 0x00001741 0x0000 0x0000
Value SrcAddr DstAddr SrcPort DstPort
----- ------- ------- ------- -------
0000: 0x00000000 0x00000001 0x0000 0x0000
0001: 0x00000000 0x00000041 0x0000 0x0000
0002: 0x00000000 0x00000101 0x0000 0x0000
0003: 0x00000000 0x00000141 0x0000 0x0000
0004: 0x00000000 0x00000201 0x0000 0x0000
0005: 0x00000000 0x00000241 0x0000 0x0000
0006: 0x00000000 0x00000301 0x0000 0x0000
0007: 0x00000000 0x00000341 0x0000 0x0000
0008: 0x00000000 0x00000401 0x0000 0x0000
0009: 0x00000000 0x00000441 0x0000 0x0000
0010: 0x00000000 0x00000501 0x0000 0x0000
0011: 0x00000000 0x00000541 0x0000 0x0000
0012: 0x00000000 0x00000601 0x0000 0x0000
0013: 0x00000000 0x00000641 0x0000 0x0000
0014: 0x00000000 0x00000701 0x0000 0x0000
0015: 0x00000000 0x00000741 0x0000 0x0000
0016: 0x00000000 0x00001001 0x0000 0x0000
0017: 0x00000000 0x00001041 0x0000 0x0000
0018: 0x00000000 0x00001101 0x0000 0x0000
0019: 0x00000000 0x00001141 0x0000 0x0000
0020: 0x00000000 0x00001201 0x0000 0x0000
0021: 0x00000000 0x00001241 0x0000 0x0000
0022: 0x00000000 0x00001301 0x0000 0x0000
0023: 0x00000000 0x00001341 0x0000 0x0000
0024: 0x00000000 0x00001401 0x0000 0x0000
0025: 0x00000000 0x00001441 0x0000 0x0000
0026: 0x00000000 0x00001501 0x0000 0x0000
0027: 0x00000000 0x00001541 0x0000 0x0000
0028: 0x00000000 0x00001601 0x0000 0x0000
0029: 0x00000000 0x00001641 0x0000 0x0000
0030: 0x00000000 0x00001701 0x0000 0x0000
0031: 0x00000000 0x00001741 0x0000 0x0000
WCCP Client ID: 192.0.2.11
Protocol Version: 2.01
State: Usable
Redirection: L2
Packet Return: L2
Assignment: MASK
Connect Time: 6d20h
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
Mask Allotment: 32 of 64 (50.00%)
Assigned masks/values: 1/32
Mask SrcAddr DstAddr SrcPort DstPort
---- ------- ------- ------- -------
0000: 0x00000000 0x00001741 0x0000 0x0000
Value SrcAddr DstAddr SrcPort DstPort
----- ------- ------- ------- -------
0000: 0x00000000 0x00000000 0x0000 0x0000
0001: 0x00000000 0x00000040 0x0000 0x0000
0002: 0x00000000 0x00000100 0x0000 0x0000
0003: 0x00000000 0x00000140 0x0000 0x0000
0004: 0x00000000 0x00000200 0x0000 0x0000
0005: 0x00000000 0x00000240 0x0000 0x0000
0006: 0x00000000 0x00000300 0x0000 0x0000
0007: 0x00000000 0x00000340 0x0000 0x0000
0008: 0x00000000 0x00000400 0x0000 0x0000
0009: 0x00000000 0x00000440 0x0000 0x0000
0010: 0x00000000 0x00000500 0x0000 0x0000
0011: 0x00000000 0x00000540 0x0000 0x0000
0012: 0x00000000 0x00000600 0x0000 0x0000
0013: 0x00000000 0x00000640 0x0000 0x0000
0014: 0x00000000 0x00000700 0x0000 0x0000
0015: 0x00000000 0x00000740 0x0000 0x0000
0016: 0x00000000 0x00001000 0x0000 0x0000
0017: 0x00000000 0x00001040 0x0000 0x0000
0018: 0x00000000 0x00001100 0x0000 0x0000
0019: 0x00000000 0x00001140 0x0000 0x0000
0020: 0x00000000 0x00001200 0x0000 0x0000
0021: 0x00000000 0x00001240 0x0000 0x0000
0022: 0x00000000 0x00001300 0x0000 0x0000
0023: 0x00000000 0x00001340 0x0000 0x0000
0024: 0x00000000 0x00001400 0x0000 0x0000
0025: 0x00000000 0x00001440 0x0000 0x0000
0026: 0x00000000 0x00001500 0x0000 0x0000
0027: 0x00000000 0x00001540 0x0000 0x0000
0028: 0x00000000 0x00001600 0x0000 0x0000
0029: 0x00000000 0x00001640 0x0000 0x0000
0030: 0x00000000 0x00001700 0x0000 0x0000
0031: 0x00000000 0x00001740 0x0000 0x0000
The table below describes the significant fields shown in the display.
show ip wccp service-number clientsThe following example displays WCCP client information and WCCP router statistics that include the type of services:
Router# show ip wccp 91 clients
WCCP Client information:
WCCP Client ID: 10.1.1.14
Protocol Version: 2.0
State: Usable
Redirection: L2
Packet Return: L2
Assignment: MASK
Connect Time: 6d20h
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
Mask Allotment: 32 of 64 (50.00%)
WCCP Client ID: 192.0.2.11
Protocol Version: 2.01
State: Usable
Redirection: L2
Packet Return: L2
Assignment: MASK
Connect Time: 6d20h
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
Mask Allotment: 32 of 64 (50.00%)
The table below describes the significant fields shown in the display.
show ip wccp interfacesThe following is sample output from the show ip wccp interfaces command:
Router# show ip wccp interfaces
IPv4 WCCP interface configuration:
FastEthernet2/1
Output services: 0
Input services: 1
Mcast services: 0
Exclude In: FALSE
The table below describes the significant fields shown in the display.
show ip wccp web-cacheThe following is sample output from the show ip wccp web-cache command:
Router# show ip wccp web-cache
Global WCCP information:
Router information:
Router Identifier: 209.165.200.225
Service Identifier: web-cache
Protocol Version: 2.00
Number of Service Group Clients: 2
Number of Service Group Routers: 1
Total Packets Redirected: 0
Process: 0
CEF: 0
Service mode: Open
Service Access-list: -none-
Total Packets Dropped Closed: 0
Redirect access-list: -none-
Total Packets Denied Redirect: 0
Total Packets Unassigned: 0
Group access-list: -none-
Total Messages Denied to Group: 0
Total Authentication failures: 0
Total GRE Bypassed Packets Received: 0
Process: 0
CEF: 0
GRE tunnel interface: Tunnel0
The table below describes the significant fields shown in the display.
show ip wccp web-cache countersThe following example displays web cache engine information and WCCP traffic counters:
Router# show ip wccp web-cache counters
WCCP Service Group Counters:
Redirected Packets:
Process: 0
CEF: 0
Non-Redirected Packets:
Action - Forward:
Reason - no assignment:
Process: 0
CEF: 0
Action - Ignore (forward):
Reason - redir ACL check:
Process: 0
CEF: 0
Action - Discard:
Reason - closed services:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
GRE Bypassed Packet Errors:
Total Errors:
Process: 0
CEF: 0
WCCP Client Counters:
WCCP Client ID: 192.0.2.12
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
WCCP Client ID: 192.0.2.11
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
The table below describes the significant fields shown in the display. show ip wccp web-cache detailThe following example displays web cache engine information and WCCP router statistics for the web cache service:
Router# show ip wccp web-cache detail
WCCP Client information:
WCCP Client ID: 209.165.200.225
Protocol Version: 2.0
State: Usable
Redirection: GRE
Packet Return: GRE
Assignment: HASH
Connect Time: 1w5d
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
Hash Allotment: 128 of 256 (50.00%)
Initial Hash Info: 00000000000000000000000000000000
00000000000000000000000000000000
Assigned Hash Info: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
WCCP Client ID: 192.0.2.11
Protocol Version: 2.01
State: Usable
Redirection: GRE
Packet Return: GRE
Assignment: HASH
Connect Time: 1w5d
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
Hash Allotment: 128 of 256 (50.00%)
Initial Hash Info: 00000000000000000000000000000000
00000000000000000000000000000000
Assigned Hash Info: 55555555555555555555555555555555
55555555555555555555555555555555
The table below describes the significant fields shown in the display.
show ip wccp web-cache detail (Bypass Counters Displayed)The following example displays web cache engine information and WCCP router statistics that include the bypass counters:
Router# show ip wccp web-cache detail
WCCP Client information:
WCCP Client ID: 209.165.200.225
Protocol Version: 2.01
State: Usable
Redirection: GRE
Packet Return: GRE
Assignment: HASH
Connect Time: 1w5d
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
Hash Allotment: 128 of 256 (50.00%)
Initial Hash Info: 00000000000000000000000000000000
00000000000000000000000000000000
Assigned Hash Info: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
WCCP Client ID: 209.165.200.226
Protocol Version: 2.01
State: Usable
Redirection: GRE
Packet Return: GRE
Assignment: HASH
Connect Time: 1w5d
Redirected Packets:
Process: 0
CEF: 0
GRE Bypassed Packets:
Process: 0
CEF: 0
Hash Allotment: 128 of 256 (50.00%)
Initial Hash Info: 00000000000000000000000000000000
00000000000000000000000000000000
Assigned Hash Info: 55555555555555555555555555555555
55555555555555555555555555555555
The table below describes the significant fields shown in the display.
show ip wccp web-cache serviceThe following example displays information about a service, including the service definition and all other per-service information:
Router# show ip wccp web-cache service
WCCP service information definition:
Type: Standard
Id: 0
Priority: 240
Protocol: 6
Flags: 0x00000512
Hash: DstIP
Alt Hash: SrcIP SrcPort
Ports used: Destination
Ports: 80
show ip wccp summaryThe following example displays information about the configured WCCP services and a summary of their current state:
Router# show ip wccp summary
WCCP version 2 enabled, 2 services
Service Clients Routers Assign Redirect Bypass
------- ------- ------- ------ -------- ------
Default routing table (Router Id: 209.165.200.225):
web-cache 2 1 HASH GRE GRE
90 0 0 HASH/MASK GRE/L2 GRE/L2
The table below describes the significant fields shown in the display.
Related Commands
show ip wccp global countersTo display IPv4 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. Usage GuidelinesThe show ip wccp global counters command displays counters for packets that are processed in software. These counters are always zero on the Cisco ASR 1000 Series Aggregation Services Routers. ExamplesThe following example displays global WCCP information for packets that are processed in the software:
Router# show ip wccp global counters
WCCP Global Counters:
Packets Seen by WCCP
Process: 8
CEF (In): 14
CEF (Out): 0
Related Commands
show platform hardware qfp active feature wccpTo 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. ExamplesThe 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 1
Service ID: 0
Service Priority: 240
CG ID: 0
Mode: Open
Num bind objs: 64
Number of Caches in this service: 1
ce index: 0
cache_id : 15
Cache ip addr : 0x5a140102
Cache cfg ppe addr : 0x8b480000
Cache oce ppe addr : 0x89b01480
Cache state ppe addr : 0x8b4d0400
Number of interfaces using this service: 1
Interface: GigabitEthernet0/3/1
cpp-if-h: 18
Dir: 0
pal-if-h: 20
The table below describes the significant fields shown in the display.
show platform software wccpTo 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
Usage GuidelinesUse 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. ExamplesThe following is sample output from the show platform software wccp counters command:
Router# show platform software wccp 61 counters
Service Group (1, 61) counters
Unassigned count = 0
Dropped due to closed service count = 0
Bypass count = 0
Bypass failed count = 0
Denied count = 0
Redirect count = 313635910244
CE = 10.1.1.2, obj_id = 58, Redirect Packets = 42768533218
CE = 10.2.1.2, obj_id = 165, Redirect Packets = 45619768766
.
.
.
The table below 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 interface
Interface FastEthernet0/1/0
if_handle: 11, direction: In
Standard web-cache service
The table below 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 counters
Interface FastEthernet0/1/0
Input Redirect Packets = 0
Output Redirect Packets = 0
The table below 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 counters
Service Group (0, 0) counters
Unassigned count = 0
Dropped due to closed service count = 0
Bypass count = 0
Bypass failed count = 0
Denied count = 0
Redirect count = 0
The table below describes the significant fields shown in the display.
show sctp associationTo display accumulated information for a specific Stream Control Transmission Protocol (SCTP) association, use the show sctp association command in privileged EXEC mode. Usage GuidelinesThis 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. ExamplesThe following sample output shows the established associations:
Router# show sctp association list
** SCTP Association List **
AssocID: 3011699535, Instance ID: 1
Current state: ESTABLISHED
Local port: 2000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105
Remote port: 1000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105
AssocID: 2740019456, Instance ID: 0
Current state: ESTABLISHED
Local port: 1000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105
Remote port: 2000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105
The following sample output shows information for SCTP association 3011699535:
Router# show sctp association 3011699535
AssocID: 3011699535, Instance ID: 1
Current state: ESTABLISHED
Local port: 2000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105
Remote port: 1000, Addrs: 10.1.0.1 10.2.0.1 10.3.0.1 10.0.20.105
The table below describes the significant fields shown in the display.
Related Commands
show sctp association listTo 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. Usage GuidelinesUse 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. ExamplesThe following is sample output from this command for three association identifiers:
Router# show sctp association list
*** SCTP Association List ****
AssocID:0, Instance ID:0
Current state:ESTABLISHED
Local port:8989, Addrs:10.1.0.2 10.2.0.2
Remote port:8989, Addrs:10.6.0.4 10.5.0.4
AssocID:1, Instance ID:0
Current state:ESTABLISHED
Local port:8989, Addrs:10.1.0.2 10.2.0.2
Remote port:8990, Addrs:10.6.0.4 10.5.0.4
AssocID:2, Instance ID:0
Current state:ESTABLISHED
Local port:8989, Addrs:10.1.0.2 10.2.0.2
Remote port:8991, Addrs:10.6.0.4 10.5.0.4
The table below describes the significant fields shown in the display.
Related Commands
show sctp association parametersTo 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. Usage GuidelinesThe 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: 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. ExamplesThe 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: 1
Assoc state: ESTABLISHED Uptime: 19:05:57.425
Local port: 8181
Local addresses: 10.1.0.3 10.2.0.3
Remote port: 8181
Primary dest addr: 10.5.0.4
Effective primary dest addr: 10.5.0.4
Destination addresses:
10.5.0.4: State: ACTIVE
Heartbeats: Enabled Timeout: 30000 ms
RTO/RTT/SRTT: 1000/16/38 ms TOS: 0 MTU: 1500
cwnd: 5364 ssthresh: 3000 outstand: 768
Num retrans: 0 Max retrans: 5 Num times failed: 0
10.6.0.4: State: ACTIVE
Heartbeats: Enabled Timeout: 30000 ms
RTO/RTT/SRTT: 1000/4/7 ms TOS: 0 MTU: 1500
cwnd: 3960 ssthresh: 3000 outstand: 0
Num retrans: 0 Max retrans: 5 Num times failed: 0
Local vertag: 9A245CD4 Remote vertag: 2A08D122
Num inbound streams: 10 outbound streams: 10
Max assoc retrans: 5 Max init retrans: 8
CumSack timeout: 200 ms Bundle timeout: 100 ms
Min RTO: 1000 ms Max RTO: 60000 ms
LocalRwnd: 18000 Low: 13455 RemoteRwnd: 15252 Low: 13161
Congest levels: 0 current level: 0 high mark: 325
The table below describes the significant fields shown in the display.
Related Commands
show sctp association statisticsTo 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. Usage GuidelinesThis command shows only the information that has become available since the last time aclear sctp statistics command was executed. ExamplesThe following sample output shows the statistics accumulated for SCTP association 0:
Router# show sctp association statistics 0
** SCTP Association Statistics **
AssocID/InstanceID: 0/1
Current State: ESTABLISHED
Control Chunks
Sent: 623874 Rcvd: 660227
Data Chunks Sent
Total: 14235644 Retransmitted: 60487
Ordered: 6369678 Unordered: 6371263
Avg bundled: 18 Total Bytes: 640603980
Data Chunks Rcvd
Total: 14496585 Discarded: 1755575
Ordered: 6369741 Unordered: 6371269
Avg bundled: 18 Total Bytes: 652346325
Out of Seq TSN: 3069353
ULP Dgrams
Sent: 12740941 Ready: 12740961 Rcvd: 12740941
The table below describes the significant fields shown in the display.
Related Commands
show sctp errorsTo display the error counts logged by the Stream Control Transmission Protocol (SCTP), use the show sctp errors command in privileged EXEC mode. Usage GuidelinesThis 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. ExamplesThe 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: 5
Communication Lost: 64
Destination Address Failed: 3
Unknown INIT params rcvd: 16
Invalid cookie signature: 5
Expired cookie: 1
Peer restarted: 1
No Listening instance: 2
Field descriptions are self-explanatory. Related Commands
show sctp instanceTo 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
Usage GuidelinesThis 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. ExamplesThe 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 0
Instance ID:0 Local port:1000 State:available
Local addrs:10.1.0.2 10.2.0.2
Default streams inbound:1 outbound:1
Current associations: (max allowed:200)
AssocID:0 State:ESTABLISHED Remote port:8989
Dest addrs:10.6.0.4 10.5.0.4
AssocID:1 State:ESTABLISHED Remote port:8990
Dest addrs:10.6.0.4 10.5.0.4
AssocID:2 State:ESTABLISHED Remote port:8991
Dest addrs:10.6.0.4 10.5.0.4
The 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 1
Instance ID:1 Local port:9191 State:available
Local addrs:10.1.0.2 10.2.0.2
Default streams inbound:1 outbound:1
No current associations established for this instance.
Max allowed:6
Related Commands
show sctp instancesTo display information for each of the currently configured Stream Control Transmission Protocol (SCTP) instances, use the show sctp instances command in privileged EXEC mode. Usage GuidelinesThis 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. ExamplesThe 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:8989
Instance state:available
Local addrs:10.1.0.2 10.2.0.2
Default streams inbound:1 outbound:1
Current associations: (max allowed:6)
AssocID:0 State:ESTABLISHED Remote port:8989
Dest addrs:10.6.0.4 10.5.0.4
AssocID:1 State:ESTABLISHED Remote port:8990
Dest addrs:10.6.0.4 10.5.0.4
AssocID:2 State:ESTABLISHED Remote port:8991
Dest addrs:10.6.0.4 10.5.0.4
Instance ID:1 Local port:9191
Instance state:available
Local addrs:10.1.0.2 10.2.0.2
Default streams inbound:1 outbound:1
No current associations established for this instance.
Max allowed:6
Field descriptions are self-explanatory. Related Commands
show sctp statisticsTo display the overall statistics counts for Stream Control Transmission Protocol (SCTP) activity, use the show sctp statistics command in privileged EXEC mode. Usage GuidelinesThis 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. ExamplesThe following sample output shows SCTP statistics:
Router# show sctp statistics
*** SCTP Overall Statistics ****
Total Chunks Sent: 2097
Total Chunks Rcvd: 2766
Data Chunks Rcvd In Seq: 538
Data Chunks Rcvd Out of Seq: 0
Total Data Chunks Sent: 538
Total Data Chunks Rcvd: 538
Total Data Bytes Sent: 53800
Total Data Bytes Rcvd: 53800
Total Data Chunks Discarded: 0
Total Data Chunks Retrans: 0
Total SCTP Dgrams Sent: 1561
Total SCTP Dgrams Rcvd: 2228
Total ULP Dgrams Sent: 538
Total ULP Dgrams Ready: 538
Total ULP Dgrams Rcvd: 538
Field descriptions are self-explanatory. Related Commands
show socketsTo display IP socket information, use the show sockets command in user EXEC or privileged EXEC mode. Usage GuidelinesUse 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. ExamplesThe following is sample output from theshow sockets command when there are no sockets open for the specified process:
Router# show sockets 99
There are no open sockets for this process
The following example displays the total number of open sockets for the specified process:
Router# show sockets 35
Total open sockets - TCP:7, UDP:0, SCTP:0
The following example shows how to display detailed information about open sockets:
Router# show sockets 35 detail
FD LPort FPort Proto Type TransID
0 5000 0 TCP STREAM 0x6654DEBC
State: SS_ISBOUND
Options: SO_ACCEPTCONN
1 5001 0 TCP STREAM 0x6654E494
State: SS_ISBOUND
Options: SO_ACCEPTCONN
2 5002 0 TCP STREAM 0x656710B0
State: SS_ISBOUND
Options: SO_ACCEPTCONN
3 5003 0 TCP STREAM 0x65671688
State: SS_ISBOUND
Options: SO_ACCEPTCONN
4 5004 0 TCP STREAM 0x65671C60
State: SS_ISBOUND
Options: SO_ACCEPTCONN
5 5005 0 TCP STREAM 0x65672238
State: SS_ISBOUND
Options: SO_ACCEPTCONN
6 5006 0 TCP STREAM 0x64C7840C
State: SS_ISBOUND
Options: SO_ACCEPTCONN
Total open sockets - TCP:7, UDP:0, SCTP:0
The following example displays IP socket event information:
Router# show sockets 35 events
Events watched for this process: READ
FD Watched Present Select Present
0 --- --- R-- R--
The table below describes the significant fields shown in the displays.
© 2012 Cisco Systems, Inc. All rights reserved.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|