Table Of Contents
show standby
To display Hot Standby Router Protocol (HSRP) information, use the show standby command in user EXEC or privileged EXEC mode.
show standby [type number [group]] [all | brief]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
To specify a group, you must specify an interface type and number.
Examples
The following is sample output from the show standby command:
Router# show standbyEthernet0/1 - Group 1State is Active2 state changes, last state change 00:30:59Virtual IP address is 10.1.0.20Secondary virtual IP address 10.1.0.21Active virtual MAC address is 0004.4d82.7981Local virtual MAC address is 0004.4d82.7981 (bia)Hello time 4 sec, hold time 12 secNext hello sent in 1.412 secsGratuitous ARP 14 sent, next in 7.412 secsPreemption enabled, min delay 50 sec, sync delay 40 secActive router is localStandby router is 10.1.0.6, priority 75 (expires in 9.184 sec)Priority 95 (configured 120)Tracking 2 objects, 0 upDown Interface Ethernet0/2, pri 15Down Interface Ethernet0/3Group name is "HSRP1" (cfgd)Follow by groups:Et1/0.3 Grp 2 Active 10.0.0.254 0000.0c07.ac02 refresh 30 secs (next 19.666)Et1/0.4 Grp 2 Active 10.0.0.254 0000.0c07.ac02 refresh 30 secs (next 19.491)Group name is "HSRP1", advertisement interval is 34 secThe following is sample output from the show standby command when HSRP version 2 is configured:
Router# show standbyEthernet0/1 - Group 1 (version 2)State is SpeakVirtual IP address is 10.21.0.10Active virtual MAC address is unknownLocal virtual MAC address is 0000.0c9f.f001 (v2 default)Hello time 3 sec, hold time 10 secNext hello sent in 1.804 secsPreemption enabledActive router is unknownStandby router is unknownPriority 20 (configured 20)Group name is "hsrp-Et0/1-1" (default)Ethernet0/2 - Group 1State is SpeakVirtual IP address is 10.22.0.10Active virtual MAC address is unknownLocal virtual MAC address is 0000.0c07.ac01 (v1 default)Hello time 3 sec, hold time 10 secNext hello sent in 1.804 secsPreemption disabledActive router is unknownStandby router is unknownPriority 90 (default 100)Track interface Serial2/0 state Down decrement 10Group name is "hsrp-Et0/2-1" (default)The following is sample output from the show standby command with the brief keyword specified:
Router# show standby briefInterface Grp Prio P State Active addr Standby addr Group addrEt0 0 120 Init 10.0.0.1 unknown 10.0.0.12The following is sample output from the show standby command when HSRP MD5 authentication is configured:
Router# show standbyEthernet0/1 - Group 1State is Active5 state changes, last state change 00:17:27Virtual IP address is 10.21.0.10Active virtual MAC address is 0000.0c07.ac01Local virtual MAC address is 0000.0c07.ac01 (default)Hello time 3 sec, hold time 10 secNext hello sent in 2.276 secsAuthentication MD5, key-string, timeout 30 secsPreemption enabledActive router is localStandby router is unknownPriority 110 (configured 110)Group name is "hsrp-Et0/1-1" (default)The following is sample output from the show standby command when HSRP group shutdown is configured:
Router# show standbyEthernet0/0 - Group 1State is Init (tracking shutdown)3 state changes, last state change 00:30:59Track object 100 state UpTrack object 101 state DownTrack object 103 state UpThe following is sample output from the show standby command when HSRP BFD peering is enabled:
Router# show standbyEthernet0/0 - Group 2State is Listen2 state changes, last state change 01:18:18Virtual IP address is 10.0.0.1Active virtual MAC address is 0000.0c07.ac02Local virtual MAC address is 0000.0c07.ac02 (v1 default)Hello time 3 sec, hold time 10 secPreemption enabledActive router is 10.0.0.250, priority 120 (expires in 9.396 sec)Standby router is 10.0.0.251, priority 110 (expires in 8.672 sec)BFD enabledPriority 90 (configured 90)Group name is "hsrp-Et0/0-1" (default)The following is sample output from the show standby command used to display the state of the standby RP:
Router# show standbyGigabitEthernet3/25 - Group 1State is Init (standby RP, peer state is Active)Virtual IP address is 10.0.0.1Active virtual MAC address is unknownLocal virtual MAC address is 0000.0c07.ac01 (v1 default)Hello time 3 sec, hold time 10 secPreemption disabledActive router is unknownStandby router is unknownPriority 100 (default 100)Group name is "hsrp-Gi3/25-1" (default)Table 74 describes the significant fields shown in the displays.
Related Commands
show standby arp gratuitous
To display the number and configured interval of gratuitous Address Resolution Protocol (ARP) packets sent by Hot Standby Router Protocol (HSRP), use the show standby arp gratuitous command in user EXEC or privileged EXEC configuration mode.
show standby arp gratuitous [type number]
Syntax Description
Command Default
The number of user-configured gratuitous ARP packets is not displayed.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
This command displays the interface to which HSRP sends gratuitous ARP packets, the interval (in seconds) and the number. Gratuitous ARP packets are sent only when an HSRP group transitions to the Active state.
Examples
The following sample output displays information about HSRP gratuitous ARP packets:
Router# show standby arp gratuitousHSRP Gratuitous ARPInterface Interval CountEthernet0/0 3 2Related Commands
show standby capability
To display the limitation on how many virtual MAC addresses that some interfaces can listen to, use the show standby capability command in user EXEC or privileged EXEC mode.
show standby capability [type number]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
HSRP allows up to 256 groups to be configured on each interface, but it is possible that the MAC address filter of the interface does not support that many entries. For example, Versatile Interface Processor (VIP) interfaces only support 32 MAC addresses in their MAC address filter. If more HSRP groups are created than there are address filter entries, then it is likely that the router will stop listening to packets sent to the MAC address of an active HSRP group.
Examples
The following is sample output from the show standby capability command:
Router# show standby capability7206VXR * indicates hardware may support HSRP|Interface Type H Potential Max GroupsFastEthernet0/0 18 DEC21140A * 256 (0x60194B00,0x60194BE8)FastEthernet1/0 18 DEC21140A * 256 (0x60194B00,0x60194BE8)Ethernet2/0 61 AmdP2 * 256 (0x601A252C,0x601A25E4)Ethernet2/1 61 AmdP2 * 256 (0x601A252C,0x601A25E4)Ethernet2/2 61 AmdP2 * 256 (0x601A252C,0x601A25E4)Ethernet2/3 61 AmdP2 * 256 (0x601A252C,0x601A25E4)Ethernet2/4 61 AmdP2 * 256 (0x601A252C,0x601A25E4)Ethernet2/5 61 AmdP2 * 256 (0x601A252C,0x601A25E4)Ethernet2/6 61 AmdP2 * 256 (0x601A252C,0x601A25E4)Ethernet2/7 61 AmdP2 * 256 (0x601A252C,0x601A25E4)ATM3/0 74 ENHANCED ATM PA * 256 LAN emulationTokenRing4/0 66 HAWKEYE * 3 HSRP TR functionaladdresses (0x6076A590)TokenRing4/1 66 HAWKEYE * 3 HSRP TR functionaladdresses (0x6076A590)TokenRing4/2 66 HAWKEYE * 3 HSRP TR functionaladdresses (0x6076A590)TokenRing4/3 66 HAWKEYE * 3 HSRP TR functionaladdresses (0x6076A590)Serial5/0 67 M4T -Serial5/1 67 M4T -Serial5/2 67 M4T -Serial5/3 67 M4T -FastEthernet6/0 18 DEC21140A * 256 (0x60194B00,0x60194BE8)VoIP-Null0 102 VoIP-Null -Table 75 describes the significant fields in the display.
show standby delay
To display Hot Standby Router Protocol (HSRP) information about delay periods, use the show standby delay command in user EXEC or privileged EXEC mode.
show standby delay [type number]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Examples
The following is sample output from the show standby delay command:
Router# show standby delayInterface Minimum ReloadEthernet0/3 1 5Table 76 describes the significant fields shown in the display.
Related Commands
show standby internal
To display Hot Standby Routing Protocol (HSRP) internal flags and conditions, use the show standby internal command in user EXEC or privileged EXEC mode.
show standby internal [interface-type interface-number [group | summary [all]] | summary]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
The show standby internal interface-type interface-number summary command applies to both the main interface and subinterfaces. When the command is used for the main interface the display output does not include groups on subinterfaces. This command displays all configured and learned HSRP groups in various states on the specified interface or subinterface.
The show standby internal interface-type interface-number summary all command applies only to the main interface, not to subinterfaces. It displays the total number of configured and learned HSRP groups in various states, including groups on all subinterfaces under the main interface.
The show standby internal summary command displays all configured and learned HSRP groups in various states on all interfaces.
Examples
The following example shows a configuration example and sample output from the show standby internal command for the configuration. The output shows internal flags and hardware and software information for Ethernet interface 2/0. The output shows that HSRP group 1 is configured for priority and preemption, and that the standby timers and standby-use bia commands have been configured.
Router# show standby internalinterface Ethernet2/0ip address 10.0.0.254 255.255.0.0standby use-biastandby version 2standby 1 ip 10.0.0.1standby 1 timers 2 6standby 1 priority 110standby 1 preemptRouter# show standby internalGlobal Confg: 0000Et2/0 If hw AmdP2, State 0x210040Et2/0 If hw Confg: 0001, USEBIAEt2/0 If hw Flags: 0000Et2/0 If sw Confg: 0040, VERSIONEt2/0 If sw Flags: 0001, USEBIAEt2/0 Grp 1 Confg: 0072, IP_PRI, PRIORITY, PREEMPT, TIMERSEt2/0 Grp 1 Flags: 0000The following sample output from the show standby internal ethernet0/1 summary all command shows 400 active configured groups and no active learned groups for Ethernet interface 0/1:
Router# show standby internal ethernet 0/1 summary allDisable Init Learn Listen Speak Standby ActiveEthernet0/1Configured 0 0 0 0 0 0 400Learnt 0 0 0 0 0 0 0Table 77 describes the significant fields shown in the display.
Related Commands
show standby neighbors
To display information about Hot Standby Router Protocol (HSRP) peer routers on an interface, use the show standby neighbors command in privileged EXEC mode.
show standby neighbors [interface-type interface-number]
Syntax Description
Command Default
HSRP neighbor information is displayed for all interfaces.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use this command to display information about HSRP peer neighbors. This command displays the HSRP groups for which each neighbor is acting as the active and standby router and whether Bidirectional Forwarding Detection (BFD) peering is enabled for each neighbor.
Examples
The following example displays the HSRP neighbors on Ethernet interface 0/0. Neighbor 10.0.0.250 is active for group 2 and standby for groups 1 and 8, and is registered with BFD:
Router# show standby neighbors Ethernet0/0HSRP neighbors on Ethernet0/010.0.0.250Active groups: 2Standby groups: 1, 8BFD enabled10.0.0.251Active groups: 5, 8Standby groups: 2BFD enabled10.0.0.253No Active groupsNo Standby groupsBFD enabledThe following example displays information for all HSRP neighbors:
Router# show standby neighborsHSRP neighbors on FastEthernet2/010.0.0.2No active groupsStandby groups: 1BFD enabledHSRP neighbors on FastEthernet2/010.0.0.1Active groups: 1No standby groupsBFD enabledTable 78 describes the significant fields shown in the displays.
Related Commands
show standby redirect
To display Internet Control Message Protocol (ICMP) redirect information on interfaces configured with the Hot Standby Router Protocol (HSRP), use the show standby redirect command in user EXEC or privileged EXEC mode.
show standby redirect [ip-address | interface-type interface-number [active | passive | timers]]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Examples
The following is sample output from the show standby direct command with no optional keywords:
Router# show standby redirectInterface Redirects Unknown Adv HolddownEthernet0/2 enabled enabled 30 180Ethernet0/3 enabled disabled 30 180Active Hits Interface Group Virtual IP Virtual MAC10.19.0.7 0 Ethernet0/2 3 10.19.0.13 0000.0c07.ac03local 0 Ethernet0/3 1 10.20.0.11 0000.0c07.ac01local 0 Ethernet0/3 2 10.20.0.12 0000.0c07.ac02Passive Hits Interface Expires in10.19.0.6 0 Ethernet0/2 151.800Table 79 describes the significant fields in the display.
The following is sample output from the show standby redirect command with a specific interface Ethernet 0/3:
Router# show standby redirect e0/3Interface Redirects Unknown Adv HolddownEthernet0/3 enabled disabled 30 180Active Hits Interface Group Virtual IP Virtual MAClocal 0 Ethernet0/3 1 10.20.0.11 0000.0c07.ac01local 0 Ethernet0/3 2 10.20.0.12 0000.0c07.ac02The following is sample output from the show standby redirect command showing all active routers on interface Ethernet 0/3:
Router# show standby redirect e0/3 activeActive Hits Interface Group Virtual IP Virtual MAClocal 0 Ethernet0/3 1 10.20.0.11 0000.0c07.ac01local 0 Ethernet0/3 2 10.20.0.12 0000.0c07.ac02The following is sample output from the show standby redirect ip-address command, where the IP address is the real IP address of the router:
Router# show standby redirect 10.19.0.7Active Hits Interface Group Virtual IP Virtual MAC10.19.0.7 0 Ethernet0/2 3 10.19.0.13 0000.0c07.ac03Related Commands
Command Descriptionshow standby
Displays the HSRP information.
standby redirects
Enables ICMP redirect messages to be sent when HSRP is configured on an interface.
show tcp
To display the status of Transmission Control Protocol (TCP) connections when Cisco IOS or Cisco IOS Software Modularity images re running, use the show tcp command in user EXEC or privileged EXEC mode.
show tcp [line-number] [tcb address]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Examples
Example output varies between Cisco IOS software images and Cisco IOS Software Modularity software images. To view the appropriate output, choose one of the following sections:
•Cisco IOS Software Modularity
Cisco IOS Software
The following is sample output that displays the status and option flags:
Router# show tcp...Status Flags: passive open, active open, retransmission timeout, app closedOption Flags: vrf id setIP Precedence value: 6...SRTT: 273 ms, RTTO: 490 ms, RTV: 217 ms, KRTT: 0 msminRTT: 0 ms, maxRTT: 300 ms, ACK hold: 200 msStatus Flags: active open, retransmission timeoutOption Flags: vrf id setIP Precedence value: 6Table 80 contains the types of flags, all possible command output enhancements, and descriptions. See Table 81 through Table 85 for descriptions of the other fields in the sample output.
The following is sample output from the show tcp command:
Router# show tcptty0, connection 1 to host ciderConnection state is ESTAB, I/O status: 1, unread input bytes: 0Local host: 172.31.232.17, Local port: 11184Foreign host: 172.31.1.137, Foreign port: 23Enqueued packets for retransmit: 0, input: 0, saved: 0Event Timers (current time is 67341276):Timer: Retrans TimeWait AckHold SendWnd KeepAliveStarts: 30 0 32 0 0Wakeups: 1 0 14 0 0Next: 0 0 0 0 0iss: 67317172 snduna: 67317228 sndnxt: 67317228 sndwnd: 4096irs: 1064896000 rcvnxt: 1064897597 rcvwnd: 2144 delrcvwnd: 0SRTT: 317 ms, RTTO: 900 ms, RTV: 133 ms, KRTT: 0 msminRTT: 4 ms, maxRTT: 300 ms, ACK hold: 300 msFlags: higher precedence, idle user, retransmission timeoutDatagrams (max data segment is 536 bytes):Rcvd: 41 (out of order: 0), with data: 34, total data bytes: 1596Sent: 57 (retransmit: 1), with data: 35, total data bytes: 55Table 81 describes the first five lines of output shown in the above display.
Note Use the show tcp brief command to display information about the ECN-enabled connections.
The following line of output shows the current elapsed time according to the system clock of the local host. The time shown is the number of milliseconds since the system started.
Event Timers (current time is 67341276):The following lines of output display the number of times that various local TCP timeout values were reached during this connection. In this example, the local host re-sent data 30 times because it received no response from the remote host, and it sent an acknowledgment many more times because there was no data.
Timer: Retrans TimeWait AckHold SendWnd Keepalive GiveUp PmtuAgerStarts: 30 0 32 0 0 0 0Wakeups: 1 0 14 0 0 0 0Next: 0 0 0 0 0 0 0Table 82 describes the fields in the above lines of output.
The following lines of output display the sequence numbers that TCP uses to ensure sequenced, reliable transport of data. The local host and remote host each use these sequence numbers for flow control and to acknowledge receipt of datagrams.
iss: 67317172 snduna: 67317228 sndnxt: 67317228 sndwnd: 4096irs: 1064896000 rcvnxt: 1064897597 rcvwnd: 2144 delrcvwnd: 0Table 83 describes the fields shown in the display above.
The following lines of output display values that the local host uses to keep track of transmission times so that TCP can adjust to the network that it is using.
SRTT: 317 ms, RTTO: 900 ms, RTV: 133 ms, KRTT: 0 msminRTT: 4 ms, maxRTT: 300 ms, ACK hold: 300 msFlags: higher precedence, idle user, retransmission timeoutTable 84 describes the significant fields shown in the output above.
Note For more information on the above fields, see Round Trip Time Estimation, P. Karn and C. Partridge, ACM SIGCOMM-87, August 1987.
The following lines of output display the number of datagrams that are transported with data.
Datagrams (max data segment is 536 bytes):Rcvd: 41 (out of order: 0), with data: 34, total data bytes: 1596Sent: 57 (retransmit: 1), with data: 35, total data bytes: 55Table 85 describes the significant fields shown in the last lines of the show tcp command output.
The following is sample output from the show tcp tcb command that displays detailed information by hexadecimal address about an ECN-enabled connection:
Router# show tcp tcb 0x62CD2BB8
Connection state is LISTEN, I/O status: 1, unread input bytes: 0Connection is ECN enabledLocal host: 10.10.10.1, Local port: 179Foreign host: 10.10.10.2, Foreign port: 12000Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)Event Timers (current time is 0x4F31940):Timer Starts Wakeups NextRetrans 0 0 0x0TimeWait 0 0 0x0AckHold 0 0 0x0SendWnd 0 0 0x0KeepAlive 0 0 0x0GiveUp 0 0 0x0PmtuAger 0 0 0x0DeadWait 0 0 0x0iss: 0 snduna: 0 sndnxt: 0 sndwnd: 0irs: 0 rcvnxt: 0 rcvwnd: 4128 delrcvwnd: 0SRTT: 0 ms, RTTO: 2000 ms, RTV: 2000 ms, KRTT: 0 msminRTT: 60000 ms, maxRTT: 0 ms, ACK hold: 200 msFlags: passive open, higher precedence, retransmission timeoutTCB is waiting for TCP Process (67)Datagrams (max data segment is 516 bytes):Rcvd: 6 (out of order: 0), with data: 0, total data bytes: 0Sent: 0 (retransmit: 0, fastretransmit: 0), with data: 0, total databytes: 0Cisco IOS Software Modularity
The following is sample output from the show tcp tcb command from a Software Modularity image:
Router# show tcp tcb 0x1059C10
Connection state is ESTAB, I/O status: 0, unread input bytes: 0Local host: 10.4.2.32, Local port: 23Foreign host: 10.4.2.39, Foreign port: 11000VRF table id is: 0Current send queue size: 0 (max 65536)Current receive queue size: 0 (max 32768) mis-ordered: 0 bytesEvent Timers (current time is 0xB9ACB9):Timer Starts Wakeups Next(msec)Retrans 6 0 0SendWnd 0 0 0TimeWait 0 0 0AckHold 8 4 0KeepAlive 11 0 7199992PmtuAger 0 0 0GiveUp 0 0 0Throttle 0 0 0irs: 1633857851 rcvnxt: 1633857890 rcvadv: 1633890620 rcvwnd: 32730iss: 4231531315 snduna: 4231531392 sndnxt: 4231531392 sndwnd: 4052sndmax: 4231531392 sndcwnd: 10220SRTT: 84 ms, RTTO: 650 ms, RTV: 69 ms, KRTT: 0 msminRTT: 0 ms, maxRTT: 200 ms, ACK hold: 200 msKeepalive time: 7200 sec, SYN wait time: 75 secGiveup time: 0 ms, Retransmission retries: 0, Retransmit forever: FALSEState flags: noneFeature flags: NagleRequest flags: noneWindow scales: rcv 0, snd 0, request rcv 0, request snd 0Timestamp option: recent 0, recent age 0, last ACK sent 0Datagrams (in bytes): MSS 1460, peer MSS 1460, min MSS 1460, max MSS 1460Rcvd: 14 (out of order: 0), with data: 10, total data bytes: 38Sent: 10 (retransmit: 0, fastretransmit: 0), with data: 5, total data bytes: 76Header prediction hit rate: 72 %Socket states: SS_ISCONNECTED, SS_PRIVRead buffer flags: SB_WAIT, SB_SEL, SB_DEL_WAKEUPRead notifications: 4Write buffer flags: SB_DEL_WAKEUPWrite notifications: 0Socket status: 0Related Commands
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
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
If the ip domain lookup command is enabled on the router, and you execute the show tcp brief command, the response time of the router to display the output is very slow. To get a faster response, you should disable the ip domain lookup command.
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 briefTCB Local Address Foreign Address (state)609789AC Router.cisco.com.23 cider.cisco.com.3733 ESTABThe following example shows the IP activity by using the numeric keyword to display the addresses in IP format:
Router# show tcp brief numericTCB Local Address Foreign Address (state)6523A4FC 10.1.25.3.11000 10.1.25.3.23 ESTAB65239A84 10.1.25.3.23 10.1.25.3.11000 ESTAB653FCBBC *.1723 *.* LISTENTable 86 describes the significant fields shown in the display.
Related Commands
Command Descriptionip domain lookup
Enables the IP DNS-based hostname-to-address translation.
show tcp
Displays the status of TCP connections.
show tcp statistics
To display TCP statistics, use the show tcp statistics command in user EXEC or privileged EXEC mode.
show tcp statistics
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Cisco IOS Software Modularity
There are three transport protocols used in Software Modularity: TCP, UDP, and raw IP. The transport protocol statistics are generally counters, though some are averages and time stamps. Use the show tcp statistics command to display the TCP statistics and use the clear tcp statistics command to reset the TCP statistics. Many of the statistics are relevant to all of the transport protocols. To view the other transport protocol statistics used in Software Modularity, see the show raw statistics and show udp statistics commands.
Examples
Example output varies between Cisco IOS software images and Cisco IOS Software Modularity software images. To view the appropriate output, choose one of the following sections:
•Cisco IOS Software Modularity
Cisco IOS Software
The following is sample output from the show tcp statistics command:
Router# show tcp statisticsRcvd: 210 Total, 0 no port0 checksum error, 0 bad offset, 0 too short132 packets (26640 bytes) in sequence5 dup packets (502 bytes)0 partially dup packets (0 bytes)0 out-of-order packets (0 bytes)0 packets (0 bytes) with data after window0 packets after close0 window probe packets, 0 window update packets0 dup ack packets, 0 ack packets with unsend data69 ack packets (3044 bytes)Sent: 175 Total, 0 urgent packets16 control packets (including 1 retransmitted)69 data packets (3029 bytes)0 data packets (0 bytes) retransmitted73 ack only packets (49 delayed)0 window probe packets, 17 window update packets7 Connections initiated, 1 connections accepted, 8 connections established8 Connections closed (including 0 dropped, 0 embryonic dropped)1 Total rxmt timeout, 0 connections dropped in rxmt timeout0 Keepalive timeout, 0 keepalive probe, 0 Connections dropped in keepaliveTable 87 describes the significant fields shown in the display.
Cisco IOS Software Modularity
The following is sample output from the show tcp statistics command when a Software Modularity image is running under Cisco IOS Release 12.2(18)SXF4:
Router# show tcp statisticsCurrent packet level is 0 (Clear)Rcvd: 0 Total, 0 no port0 checksum error, 0 bad offset, 0 too short0 packets (0 bytes) in sequence0 dup packets (0 bytes)0 partially dup packets (0 bytes)0 out-of-order packets (0 bytes)0 packets (0 bytes) with data after window0 packets after close0 window probe packets, 0 window update packets0 dup ack packets, 0 ack packets for unsent data0 ack packets (0 bytes)0 packets dropped due to PAWS0 packets dropped due to receive packet limits0 packets dropped due to receive byte limitsSent: 0 Total, 0 urgent packets0 control packets (including 0 retransmitted)0 data packets (0 bytes)0 data packets (0 bytes) retransmitted0 data packets (0 bytes) fastretransmitted0 Sack retransmitted bytes, 0 Sack skipped bytes0 ack only packets (0 delayed)0 window probe packets, 0 window update packets0 Connections initiated, 0 connections accepted, 0 connections established0 Connections closed (including 0 dropped, 0 embryonic dropped)0 Total rxmt timeout, 0 connections dropped in rxmt timeout0 RTO, 0 KRTO (milliseconds)0 VJ SRTT, 0 variance (milliseconds)0 min RTT, 0 max RTT (milliseconds)0 Keepalive timeout, 0 keepalive probe, 0 Connections dropped in keepalive0 increase MSS, 0 decrease MSS15 Open sockets0 Timer interrupts0 Packets used by socket I/O0 Packets used by TCP reassembly0 Packets recovered after starvation0 Packet memory warnings0 Packet memory alarms0 Packet allocation errors0 Packet to octet switches due to send flow control0 Packet to octet switches due to partial ACKs0 Packet to octet switches due to inadequate resources0 Output function calls0 Truncated write I/O vectors0 Transmission pulse errors0 Packet punts from IP 0 Packet punts to IP0 Packet punts from application0 Packet punts to applicationTable 88 describes the significant fields shown in the display that are different from Table 87.
Related Commands
Command Descriptionclear tcp statistics
Clears TCP statistics.
show raw statistics
Displays raw IP transport protocol statistics.
show udp statistics
Displays UDP transport protocol statistics.
show tech-support
To display general information about the router when it reports a problem, use the show tech-support command in privileged EXEC mode.
show tech-support [page] [password] [cef | ipc | ipmulticast [vrf vrf-name] | isis | mpls | ospf [process-id | detail] | rsvp | voice | wccp]
Cisco 7600 Series
show tech-support [cef | ipmulticast [vrf vrf-name] | isis | password [page] | platform | page | rsvp]
Syntax Description
Defaults
The output scrolls without page breaks.
Passwords and other security information are removed from the output.Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
To interrupt and terminate the show tech-support output, simultaneously press and release the CTRL, ALT, and 6 keys.
Press the Return key to display the next line of output, or press the Spacebar to display the next page of information. If you do not enter the page keyword, the output scrolls (that is, it does not stop for page breaks).
If you do not enter the password keyword, passwords and other security-sensitive information in the output are replaced with the label "<removed>."
The show tech-support command is useful for collecting a large amount of information about your routing device for troubleshooting purposes. The output of this command can be provided to technical support representatives when reporting a problem.
Note This command can generate a very large amount of output. You may want to redirect the output to a file using the show inventory | redirect url command syntax extension. Redirecting the output to a file also makes sending this output to your technical support representative easier. See the command documentation for show <command> | redirect for more information on this option.
The show tech-support command displays the output of a number of show commands at once. The output from this command varies depending on your platform and configuration. For example, access servers display voice-related show command output. Additionally, the show protocol traffic commands are displayed for only the protocols enabled on your device. For a sample display of the output of the show tech-support command, see the individual show command listed.
If you enter the show tech-support command without arguments, the output displays, but is not limited to, the equivalent of these show commands:
•show appletalk traffic
•show bootflash
•show bootvar
•show buffers
•show cdp neighbors
•show cef
•show clns traffic
•show context
•show controllers
•show decnet traffic
•show disk0: all
•show dmvpn details
•show environment
•show fabric channel-counters
•show file systems
•show interfaces
•show interfaces switchport
•show interfaces trunk
•show ip interface
•show ip traffic
•show logging
•show mac-address-table
•show module
•show power
•show processes cpu
•show processes memory
•show running-config
•show spanning-tree
•show stacks
•show version
•show vlan
Note Crypto information is not duplicated by the show dmvpn details command output.
When the show tech-support command is entered on a virtual switch (VS), the output displays the output of the show module command and the show power command for both the active and standby switches.
Use of the optional cef, ipc, ipmulticast, isis, mpls, ospf, or rsvp keywords provides a way to display a number of show commands specific to a particular protocol or process in addition to the show commands listed previously.
For example, if your Technical Assistance Center (TAC) support representative suspects that you may have a problem in your Cisco Express Forwarding (CEF) configuration, you may be asked to provide the output of the show tech-support cef command. The show tech-support [page] [password] cef command will display the output from the following commands in addition to the output for the standard show tech-support command:
•show adjacency summary
•show cef drop
•show cef events
•show cef interface
•show cef not-cef-switched
•show cef timers
•show interfaces stats
•show ip cef events summary
•show ip cef inconsistency records detail
•show ip cef summary
If you enter the ipmulticast keyword, the output displays, but is not limited to, these show commands:
•show ip dvmrp route
•show ip igmp groups
•show ip igmp interface
•show ip mcache
•show ip mroute
•show ip mroute count
•show ip pim interface
•show ip pim interface count
•show ip pim interface df
•show ip pim mdt
•show ip pim mdt bgp
•show ip pim neighbor
•show ip pim rp
•show ip pim rp metric
•show mls ip multicast rp-mapping gm-cache
•show mmls gc process
•show mmls msc rpdf-cache
If you enter the wccp keyword, the output displays, but is not limited to, these show commands:
•show ip wccp service-number
•show ip wccp interfaces cef
Examples
For a sample display of the output from the show tech-support command, refer to the documentation for the show commands listed in the "Usage Guidelines" section.
Related Commands
show time-range ipc
To display the statistics about the time-range interprocess communications (IPC) messages between the Route Processor and line card, use the show time-range ipc command in user EXEC or privileged EXEC mode.
show time-range ipc
Syntax Description
This command has no argument or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.2(2)T
This command was introduced.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Usage Guidelines
The debug time-range ipc EXEC command must be enabled for the show time-range ipc command to display the time-range IPC message statistics.
Examples
The following is sample output from the show time-range ipc command:
Router# show time-range ipcRP Time range Updates Sent :3RP Time range Deletes Sent :2Table 89 describes the significant fields shown in the display.
Related Commands
show track
To display information about objects that are tracked by the tracking process, use the show track command in privileged EXEC mode.
show track [object-number [brief] | interface [brief] | ip route [brief] | resolution | timers]
Syntax Description
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
Use this command to display information about objects that are tracked by the tracking process. When no arguments or keywords are specified, information for all objects is displayed.
As of Cisco IOS Release 15.1(3)T, a maximum of 1000 objects can be tracked. Although 1000 tracked objects can be configured, each tracked object uses CPU resources. The amount of available CPU resources on a router is dependent upon variables such as traffic load and how other protocols are configured and run. The ability to use 1000 tracked objects is dependent upon the available CPU. Testing should be conducted on site to ensure that the service works under the specific site traffic conditions.
Examples
The following example shows information about the state of IP routing on the interface that is being tracked:
Router# show track 1Track 1Interface Ethernet0/2 ip routingIP routing is Down (no IP addr)1 change, last change 00:01:08Tracked by:HSRP Ethernet0/3 1The following example shows information about the line-protocol state on the interface that is being tracked:
Router# show track 1Track 1Interface Ethernet0/1 line-protocolLine protocol is Up1 change, last change 00:00:05Tracked by:HSRP Ethernet0/3 1The following example shows information about the reachability of a route that is being tracked:
Router# show track 1Track 1IP route 10.16.0.0 255.255.0.0 reachabilityReachability is Up (RIP)1 change, last change 00:02:04First-hop interface is Ethernet0/1Tracked by:HSRP Ethernet0/3 1The following example shows information about the threshold metric of a route that is being tracked:
Router# show track 1Track 1IP route 10.16.0.0 255.255.0.0 metric thresholdMetric threshold is Up (RIP/6/102)1 change, last change 00:00:08Metric threshold down 255 up 254First-hop interface is Ethernet0/1Tracked by:HSRP Ethernet0/3 1The following example shows the object type, the interval in which it is polled, and the time until the next poll:
Router# show track timersObject type Poll Interval Time to next pollinterface 1 expiredip route 30 29.364The following example shows the state of the IP SLAs tracking:
Router# show track 50Track 50IP SLA 400 stateState is Up1 change, last change 00:00:23Delay up 60 secs, down 30 secsLatest operation return code: UnknownThe following example shows whether a route is reachable:
Router# show track 3Track 3IP SLA 1 reachabilityReachability is Up1 change, last change 00:00:47Latest operation return code: over thresholdLatest RTT (millisecs) 4Tracked by:HSRP Ethernet0/1 3Table 90 describes the significant fields shown in the displays.
The following output shows that there are two objects. Object 1 has been configured with a weight of 10 "down," and object 2 has been configured with a weight of 20 "up." Object 1 is down (expressed as 0/10) and object 2 is up. The total weight of the tracked list is 20 with a maximum of 30 (expressed as 20/30). The "up" threshold is 20, so the list is "up."
Router# show trackTrack 6List threshold weightThreshold weight is Up (20/30)1 change, last change 00:00:08object 1 Down (0/10)object 2 weight 20 Up (20/30)Threshold weight down 10 up 20Tracked by:HSRP Ethernet0/3 1The following example shows information about the Boolean configuration:
Router# show trackTrack 3List boolean andBoolean AND is Down1 change, last change 00:00:08object 1 not Upobject 2 DownTracked by:HSRP Ethernet0/3 1Table 91 describes the significant fields shown in the displays.
The following example shows information about a stub object that has been created to be tracked using Embedded Event Manager (EEM):
Router# show trackTrack 1Stub-objectState is Up1 change, last change 00:00:04, by UndefinedThe following example shows information about a stub object when the brief keyword is used:
Router# show track briefTrack Object Parameter Value Last Change1 Stub-object Undefined Up 00:00:12The following example shows information about the line-protocol state on an interface that is being tracked and which has carrier-delay detection enabled:
Router# show trackTrack 101Interface Ethernet1/0 line-protocolLine protocol is Down (carrier-delay)1 change, last change 00:00:03Table 92 describes the significant fields shown in the displays.
Table 93 describes the significant fields shown in the displays.
Related Commands
show udp
To display IP socket information about User Datagram Protocol (UDP) processes, use the show udp command in user EXEC or privileged EXEC mode.
show udp [detail]
Syntax Description
Command Default
IP socket information about UDP processes is not displayed.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Use this command to verify that the UDP 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 udp command with the detail keyword specified:
Router# show udp detailProto Remote Port Local Port In Out Stat TTY OutputIF17 10.0.0.0 0 10.0.21.70 67 0 0 2211 0Queues: output 0input 0 (drops 0, max 50, highwater 0)Proto Remote Port Local Port In Out Stat TTY OutputIF17 10.0.0.0 0 10.0.21.70 2517 0 0 11 0Queues: output 0input 0 (drops 0, max 50, highwater 0)Proto Remote Port Local Port In Out Stat TTY OutputIF17 10.0.0.0 0 10.0.21.70 5000 0 0 211 0Queues: output 0input 0 (drops 0, max 50, highwater 0)Proto Remote Port Local Port In Out Stat TTY OutputIF17 10.0.0.0 0 10.0.21.70 5001 0 0 211 0Queues: output 0input 0 (drops 0, max 50, highwater 0)Proto Remote Port Local Port In Out Stat TTY OutputIF17 10.0.0.0 0 10.0.21.70 5002 0 0 211 0Queues: output 0input 0 (drops 0, max 50, highwater 0)Proto Remote Port Local Port In Out Stat TTY OutputIF17 10.0.0.0 0 10.0.21.70 5003 0 0 211 0Queues: output 0input 0 (drops 0, max 50, highwater 0)Proto Remote Port Local Port In Out Stat TTY OutputIF17 10.0.0.0 0 10.0.21.70 5004 0 0 211 0Queues: output 0input 0 (drops 0, max 50, highwater 0)Table 94 describes the significant fields shown in the display.
Related Commands