cc/td/doc/product/lan/cat6000/sw5_1
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

show ip route
show log
show logging
show logging buffer
show mac
show microcode
show module
show multicast group
show multicast group count
show multicast router
show netstat
show ntp

show ip route

Use the show ip route command to display IP routing table entries.

show ip route [noalias]
Syntax Description

noalias

(Optional) Keyword to force the display to show IP addresses, not IP aliases.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the IP route table:

Console> show ip route
Fragmentation   Redirect   Unreachable
-------------   --------   -----------
enabled         enabled    enabled
 
Destination      Gateway          RouteMask    Flags   Use       Interface
---------------  ---------------  ----------   -----   --------  ---------
172.20.0.0       172.20.26.70     0xffff0000   U      8           sc0
default          default          0xff000000   UH      0           sl0 
Console> 
 
Related Commands

set ip route
clear ip route


show log

Use the show log command to display the error log for the system or a specific module.

show log [mod_num]
Syntax Description

mod_num

(Optional) Number of the module for which the log is displayed.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

To display the contents of ASIC error messages as soon as they are received from SLCP/LCP, refer to the set logging server command.

Example

This example shows a partial display of the output from the show log command:

Console> show log
 
Network Management Processor (ACTIVE NMP) Log:
  Reset count:   56
  Re-boot History:   Jan 07 1999  0:11:13 0, Dec 28 1998 17: 0:56 0
                     Dec 08 1998 14:53:40 0, Dec 07 1998 17: 5:18 0
                     Dec 07 1998 17: 0: 3 0, Dec 07 1998 16:57: 9 0
                     Dec 07 1998 16:49:53 0, Dec 07 1998 16:31:15 0
                     Dec 07 1998 16:18:46 0, Dec 07 1998 16:10: 9 0
  Bootrom Checksum Failures:      0   UART Failures:                  0
  Flash Checksum Failures:        0   Flash Program Failures:         0
  Power Supply 1 Failures:       23   Power Supply 2 Failures:       13
  Swapped to CLKA:                0   Swapped to CLKB:                0
  Swapped to Processor 1:         3   Swapped to Processor 2:         0
  DRAM Failures:                  0
Exceptions:                     1
Last software reset by user: 1/7/99,00:10:37
 
...
 
NVRAM log:
        
Module 3 Log:
  Reset Count:   3
  Reset History: Thu Jan 7 1999, 00:13:49
                 Tue Dec 8 1998, 14:59:47

Table 2-13 describes the possible fields in the output from the show log command.


Table 2-13: show log Command Output Fields
Field Description

Network Management Processor (ACTIVE NMP) Log

Log that applies to the NMP on the supervisor engine.

    Reset Count

Number of times the system has reset.

    Re-boot History

Date and times the system has rebooted.

    Bootrom Checksum Failures

Number of bootrom checksum failures.

   UART Failures

Number of times the UART has failed.

    Flash Checksum Failures

Number of times the Flash Checksum has failed.

    Flash Program Failures

Number of times the Flash Program has failed.

    Power Supply 1 Failures

Number of times Power Supply 1 has failed.

    Power Supply 2 Failures

Number of times Power Supply 2 has failed.

    Swapped to CLKA

Number of times a switchover to clock A has occurred.

    Swapped to CLKB

Number of times a switchover to clock B has occurred.

    Swapped to Processor 1

Number of times a switchover to processor 1 has occurred.

    Swapped to Processor 2

Number of times a switchover to processor 2 has occurred.

    DRAM Failures

Number of times the DRAM has failed.

Exceptions:

Exceptions log.

     Last software reset by user

Date of the last time the software was reset.

NVRAM log

Number of times NVRAM errors have occurred.

Reset Count

Number of times the system has reset.

Reset History

Date and times the system has reset.

Related Command

clear log

show logging

Use the show logging command to display the system message log configuration.

show logging
Syntax Description

This command has no arguments.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows the default system message log configuration:

Console <enable> show logging 
Logging buffered size:        500
        timestamp option:     disabled
Logging history size:         1
Logging console:              enabled
Logging server:               disabled
        server facility:      LOCAL7
        server severity:      warnings(4)
 
 
Facility            Default Severity         Current Session Severity
-------------       -----------------------  ------------------------
cdp                 4                        4
mcast               2                        2
dtp                 5                        5
dvlan               2                        2
earl                2                        2
fddi                2                        2
ip                  2                        2
pruning             2                        2
snmp                2                        2
spantree            2                        2
sys                 5                        5
tac                 2                        2
tcp                 2                        2
telnet              2                        2
tftp                2                        2
vtp                 2                        2
vmps                2                        2
kernel              2                        2
filesys             2                        2
drip                2                        2
pagp                5                        5
mgmt                5                        5
mls                 5                        5
protfilt            2                        2
security            2                        2
udld                4                        4
gvrp                2                        2
 
 
0(emergencies)        1(alerts)             2(critical)
3(errors)             4(warnings)           5(notifications)
6(information)        7(debugging) 
 

Table 2-14 describes the fields in the show logging command output.


Table 2-14: show logging Command Output Fields
Field Description

Logging buffered size

Size of the logging buffer.

timestamp option

Status of whether the timestamp option is enabled or disabled.

Logging history size

Size of the logging history buffer.

Logging console

Status of whether logging to the console is enabled or disabled.

Logging server

Status of whether logging to the logging server is enabled or disabled.

Current Logging Session

Status of whether system logging messages are sent to the current login session.

Facility

Name of the facility to be logged.

Server/Default Severity

Default severity level at which point an error from that facility is logged.

Current Session Severity

Severity level at which point an error from that facility is logged during the current session.

0 (emergencies), 1 (alerts)...

Key to the numeric severity level codes.

Related Commands

clear logging server
set logging console
set logging level
set logging server
set logging session
show logging buffer

show logging buffer

Use the show logging buffer command to display system messages from the internal buffer.

show logging buffer [-] [number_of_messages]
Syntax Description

-

(Optional) Keyword to force the display to show system messages starting from the end of the buffer.

number_of_messages

(Optional) Number of system messages to be displayed. The range of number_of_messages is 1 to 1023.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

If the - keyword is not used, system messages are displayed from the beginning of the buffer. If number_of_messages is not specified, all messages in the buffer are displayed.

Examples

This example shows how to display the first four system messages from the internal buffer:

Console <enable> show logging buffer 4
10/20/1998,13:52:46:SYS-5:Module 1 is online
10/20/1998,13:52:52:SYS-5:Module 5 is online
10/20/1998,13:52:54:SYS-5:Module 3 failed due to CBL0, CBL1, or CBL2 Error
10/20/1998,13:52:54:SYS-5:Module 3 failed configuration
Console <enable> 
 

This example shows how to display the last four system messages from the internal buffer:

Console <enable> show logging buffer -4
10/20/1998,13:52:54:SYS-5:Module 3 failed configuration
10/20/1998,13:53:04:SYS-5:Module 4 is online
10/20/1998,13:53:31:SNMP-6:Subagent 2 connected
10/20/1998,13:54:45:SNMP-5:Cold Start Trap
Console <enable> 
Related Command

show logging

show mac

Use the show mac command to display MAC counters.

show mac [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module. If you do not specify a number, all modules are shown.

/port_num

(Optional) Number of the port on the module. If you do not specify a number, all ports are shown.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display MAC information for port 3 on module 4:

Console> show mac 3/4
MAC      Rcv-Frms   Xmit-Frms  Rcv-Multi  Xmit-Multi Rcv-Broad  Xmit-Broad
-------- ---------- ---------- ---------- ---------- ---------- ----------
 3/4              0          0          0          0          0          0
 
MAC      Dely-Exced MTU-Exced  In-Discard Lrn-Discrd In-Lost    Out-Lost
-------- ---------- ---------- ---------- ---------- ---------- ----------
 3/4              0          0          0          0          0          0
 
MAC     SMT-Address       Curr-Path  TReq     TNeg     TMax     TVX
------- ----------------- ---------- -------- -------- -------- --------
3/4     00:06:7c:b3:bc:98 primary      165000   165000   165004     2509
        00-60-3e-cd-3d-19
 
MAC     Upstream-Nbr      Downstream-Nbr    Old-Upstrm-Nbr    Old-Downstrm-Nbr
------- ----------------- ----------------- ----------------- -----------------
3/4 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:00
        00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00
 
MAC     Rcv-Smt    Xmit-Smt   Rcv-llc    Xmit-llc   Tvx-Exp-Ct RingOp-Ct
------- ---------- ---------- ---------- ---------- ---------- ----------
3/4              0          0          1         61          0          1
 
Port     Rcv-Unicast          Rcv-Multicast        Rcv-Broadcast
-------- -------------------- -------------------- --------------------
3/4                         0                    0                    0
 
Port     Xmit-Unicast         Xmit-Multicast       Xmit-Broadcast
-------- -------------------- -------------------- --------------------
3/4                         0                    0                    0
 
Port     Rcv-Octet            Xmit-Octet
-------- -------------------- --------------------
3/4                         0                    0
 
Last-Time-Cleared
--------------------------
Tue Dec 29 1998, 08:31:20
Console> 
 

Table 2-15 describes the possible fields in the show mac command output.


Table 2-15: show mac Command Output Fields
Field Description

MAC

Module and port.

Rcv-Frms

Frames received on the port.

Xmit-Frms

Frames transmitted on the port.

Rcv-Broad

Broadcast frames received on the port.

Xmit-Broad

Broadcast frames transmitted on the port.

Dely-Exced

Total transmit frames aborted due to excessive deferral.

MTU-Exced

Frames for which the MTU size was exceeded.

In-Discard

Incoming frames that were discarded because the frame did not need to be switched.

Lrn-Discard

CAM entries discarded due to page full in EARL.

In-Lost

Incoming frames that were lost before being forwarded (due to insufficient buffer space).

On-Lost

Outgoing frames that were lost before being forwarded (due to insufficient buffer space).

Curr-Path

Current path used (primary or secondary).

TVX

Value of the valid transmission timer.

Upstream-Nbr

MAC address of the current upstream neighbor.

Downstream-Nbr

MAC address of the current downstream neighbor.

Old-Upstrm-Nbr

MAC address of the previous upstream neighbor.

Old-Downstrm-Nbr

MAC address of the previous downstream neighbor.

Rcv-Smt

Number of SMT frames received by the port.

Xmit-Smt

Number of NSMT frames transmitted by the port.

Rcv-llc

Number of NLLC frames received by the port.

Xmit-llc

Number of LLC frames transmitted by the port.

Rcv-Octet

Number of octet frames received on the port.

Xmit-Octet

Number of octet frames transmitted on the port.

Rcv-Unicast

Number of unicast frames received on the port.

Rcv-Broadcast

Number of broadcast frames received on the port.

Xmit-Unicast

Number of unicast frames transmitted on the port.

Xmit-Broadcast

Number of broadcast frames transmitted on the port.

Tvx-Exp-Ct

Number of times the TVX timer expired.

Last-Time-Cleared

Date and time of the last clear counters command.

show microcode

Use the show microcode command to display the version of the microcode and the module version information.

show microcode
Syntax Description

This command has no arguments.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows the show microcode output for a supervisor engine:

Console> show microcode
Bundled Images  Version              Size    Built
--------------- -------------------- ------- -----------------
LCP SLCP        4.2(0.24)VAI58        302506 12/03/98 03:51:46
LCP LX1000      4.2(0.24)VAI58        288508 12/03/98 03:53:12
LCP LX10100     4.2(0.24)VAI58        379810 12/03/98 03:52:33
 

Table 2-16 describes possible fields in the show microcode command output.


Table 2-16: show microcode Command Output Fields
Field Description

Bundled Images

Name of the bundled image.

Version

Version of the image.

Size

Size of the image.

Built

Date image was built.

show module

Use the show module command to display module status and information. For supervisor engines, the show module command displays the supervisor engine's module number but appends the uplink daughter card's module type and information.

show module [mod_num]
Syntax Description

mod_num

(Optional) Number of the module. If you do not specify a number, all modules are shown.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

The MAC addresses for the supervisor engine are displayed in three lines of output. The first line lists the two MAC addresses for inband ports; the second line lists the two MAC addresses for the two gigabit-uplink ports, and the third line lists the allocated 0x3ff MAC address for the chassis backplane.

Examples

This example shows how to display status and information for all modules:

Console> show module
Mod Slot Ports Module-Type               Model                Status
--- ---- ----- ------------------------- -------------------- ----------
1   1     2    1000BaseX Supervisor      WS-X6000            ok
2   2     3    1000BaseX Supervisor      WS-X6000            standby
3   3     12   100BaseX Ethernet         WS-X6412-LX-SC      ok
4   4     48   10/100BaseTX Ethernet       WS-X6248-RJ-21       power-down
 
Mod Module-Name          Serial-Num
--- -------------------- -----------
1                        ABC57639152
2                        GWX22851112
3                        DWC01906016
4                        SDC21906017
 
Mod MAC-Address(es)                        Hw     Fw         Sw
--- -------------------------------------- ------ ---------- -----------------
1   00-e0-1e-98-0a-00 to 00-e0-1e-98-0a-01 0.1    5.1(0.1)   5.1(0.1)
    00-e0-1e-98-1a-00 to 00-e0-1e-98-1a-01 
    00-e0-1e-98-20-00 to 00-e0-1e-98-23-ff
2   00-e0-1e-98-0b-00 to 00-e0-1e-98-0b-01 0.1    5.1(0.1)   5.1(0.1)
    00-e0-1e-98-1b-00 to 00-e0-1e-98-1b-01 
3   00-40-0b-33-33-33 to 00-40-0b-33-33-3f 1.0    5.1(0.1)   5.1(0.1)
4   00-60-70-eb-34-88 to 00-60-70-eb-34-b8 3.0    5.1(0.1)   5.1(0.1)
 
Mod Sub-Type            Sub-Model Sub-Serial Sub-Hw
--- ------------------- --------- ---------- ------
1   L2 Switching Engine WS-F1234  0006842977 1.0
Console> 
 

This example shows how to display status and information for module 3:

Console> show module 3
Mod Slot Ports Module-Type               Model                Status
--- ---- ----- ------------------------- -------------------- ----------
3   3     12   100BaseX Ethernet         WS-X6412-LX-SC       ok
 
Mod Module-Name          Serial-Num
--- -------------------- -----------
3                        DWC01906016
 
Mod MAC-Address(es)                        Hw     Fw         Sw
--- -------------------------------------- ------ ---------- -----------------
3   00-40-0b-33-33-33 to 00-40-0b-33-33-3f 1.0    5.1(0.1)   5.1(0.1)
Console> 
 

Table 2-17 describes the possible fields in the show module command output.


Table 2-17: show module Command Output Fields
Field Description

Mod

Module number.

Slot

Number of the slot the module or submodule resides in.

Ports

Number of ports on the module.

Module-Type

Module (such as 10BaseT Ethernet).

Model

Model number of the module.

Status

Status of the module. Possible status strings are ok, disable, faulty, other, standby, error, pwr-down1, and pwr-deny states1.

Module-Name

Name of the module.

Serial-Num

Serial number of the module.

MAC-Address(es)

MAC address or MAC address range for the module.

Hw2

Hardware version of the module.

Fw3

Firmware version of the module.

Sw

Software version on the module.

Sub-Type4

Submodule type.

Sub-Model4

Model number of the submodule.

Sub-Serial4

Serial number of the submodule.

Sub-Hw4

Hardware version of the submodule.

1The pwr-down and pwr-deny states are supported by the power management feature.
2Hw for the supervisor engine displays the supervisor engine's EARL hardware version.
3Fw for the supervisor engine displays the supervisor engine's boot version.
4This field displays EARL information.

show multicast group

Use the show multicast group command to display the multicast group configuration.

show multicast group [mac_addr] [vlan_id]
Syntax Description

mac_addr

(Optional) Destination MAC address.

vlan_id

(Optional) Number of the VLAN.

Default

There is no default setting for this command.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the multicast group configuration for VLAN 1:

Console> show multicast group 1
GMRP enabled
IGMP disabled
 
VLAN  Dest MAC/Route Des  Destination Ports or VCs / [Protocol Type]
----  ------------------  ----------------------------------------------------
1     01-00-5e-00-01-28*  3/1,12/9
1     01-00-5e-63-7f-6f*  3/1,12/5,12/9
Total Number of Entries = 2
Console> 
 

This example shows how to display the multicast group configuration for a specific MAC address on VLAN 5:

Console> show multicast group 01-00-5E-00-00-5C 5
GMRP enabled
IGMP disabled
 
VLAN  Dest MAC/Route Des  Destination Ports or VCs / [Protocol Type]
----  ------------------  ----------------------------------------------------
5     01-00-5E-00-00-5C   3/1, 3/9
Total Number of Entries = 1
Console> 
 

Table 2-18 describes the fields in the show multicast group command output.


Table 2-18: show multicast group Command Output Fields
Field Description

GMRP enabled

Status of whether GMRP is enabled or disabled.

IGMP enabled

Status of whether IGMP is enabled or disabled.

VLAN

VLAN number.

Dest MAC/Route Des

Group destination MAC address.

*

Indication that the port was configured manually.

Destination Ports or VCs

List of all the ports that belong to this multicast group. Traffic destined to this group address will be forwarded on all these ports.

Total Number of Entries

Total number of entries in the multicast group table that match the criteria specified by the command.

Related Commands

clear multicast router
set igmp
set multicast router
show multicast router

show multicast group count

Use the show multicast group count command to show the total count of multicast addresses (groups) in a VLAN.

show multicast group count [vlan_id]
Syntax Description

vlan_id

(Optional) Number of the VLAN.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

An asterisk in the show multicast group count command output indicates the port was configured manually.

Examples

This example shows how to display the total count of multicast groups in VLAN 5:

Console> show multicast group 5
GMRP enabled
 
Total Number of Entries = 2
Console> 
Related Commands

clear multicast router
set multicast router
show multicast router

show multicast router

Use the show multicast router command to display which ports have IGMP-capable routers assigned to them.

show multicast router [mod_num/port_num] [vlan_id]
Syntax Description

mod_num

(Optional) Number of the module.

port_num

(Optional) Number of the port on the module.

vlan_id

(Optional) Number of the VLAN.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display the multicast router configuration:

Console> show multicast router
IGMP enabled
 
Port       Vlan
---------  ----------------
2/1        99
2/2        255
3/1     *  1
7/9        2,99
11/1       99
12/9       1
 
Total Number of Entries = 6
'*' - Configured
Console> 

This example shows how to display the multicast router configuration for VLAN 99:

Console> show multicast router 99
IGMP enabled
 
Port       Vlan
---------  ----------------
2/1        99
7/9        2,99
11/1       99
 
Total Number of Entries = 3
'*' - Configured
Console> 
 

Table 2-19 describes the fields in the show multicast router command output.


Table 2-19: show multicast router Command Output Fields
Field Description

IGMP enabled

Status of whether IGMP is enabled or disabled.

Port

Port through which a multicast router can be reached.

*

Indication that the port was configured manually.

Vlan

VLAN associated with the port.

Total Number of Entries

Total number of entries in the table that match the criteria specified by the command.

Related Commands

clear multicast router
set multicast router
show multicast group count

show netstat

Use the show netstat command to display the currently active network connections and to list statistics for the various protocols in the TCP/IP.

show netstat [tcp | udp | ip | icmp | routes | stats | interfaces]
Syntax Description

tcp

(Optional) Keyword to show TCP statistics.

udp

(Optional) Keyword to show UDP statistics.

ip

(Optional) Keyword to show IP statistics.

icmp

(Optional) Keyword to show ICMP statistics.

routes

(Optional) Keyword to show the IP routing table.

stats

(Optional) Keyword to show all statistics for TCP, UDP, IP, and ICMP.

interfaces

(Optional) Keyword to show interface statistics.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display the current active network connections:

Console> show netstat
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0    128  172.20.25.142.23       171.68.10.75.44720     ESTABLISHED
tcp        0      0  *.7161                 *.*                    LISTEN
tcp        0      0  *.23                   *.*                    LISTEN
udp        0      0  *.*                    *.*
udp        0      0  *.161                  *.*
udp        0      0  *.123                  *.*
Console>
 

This example shows how to display TCP statistics:

Console> show netstat tcp
tcp:
        5122 packets sent
                4642 data packets (102292 bytes)
                28 data packets (6148 bytes) retransmitted
                434 ack-only packets (412 delayed)
                0 URG only packets
                0 window probe packets
                1 window update packet
                17 control packets
        7621 packets received
                4639 acks (for 103883 bytes)
                69 duplicate acks
                0 acks for unsent data
                3468 packets (15367 bytes) received in-sequence
                12 completely duplicate packets (20 bytes)
                0 packets with some dup. data (0 bytes duped)
                4 out-of-order packets (0 bytes)
                0 packets (0 bytes) of data after window
                0 window probes
                0 window update packets
                0 packets received after close
                0 discarded for bad checksums
                0 discarded for bad header offset fields
                0 discarded because packet too short
        6 connection requests
        6 connection accepts
        10 connections established (including accepts)
        11 connections closed (including 1 drop)
        2 embryonic connections dropped
        4581 segments updated rtt (of 4600 attempts)
        28 retransmit timeouts
                0 connections dropped by rexmit timeout
        0 persist timeouts
        66 keepalive timeouts
                63 keepalive probes sent
                3 connections dropped by keepalive
Console>
 

Table 2-20 describes the fields in the show netstat tcp command output.


Table 2-20: show netstat tcp Command Output Fields
Field Description

packets sent

Total number of TCP packets sent.

data packets (bytes)

Number of TCP data packets sent and the size of those packets in bytes.

data packets (bytes) retransmitted

Number of TCP data packets retransmitted and the size of those packets in bytes.

ack-only packets (delayed)

Number of TCP acknowledgment-only packets sent and the number of those packets delayed.

URG only packets

Number of URG packets.

window probe packets

Number of window probe packets.

window update packet

Number of window update packets.

packets received

Total number of TCP packets received.

acks (for x bytes)

Number of TCP acknowledgments received and the total bytes acknowledged.

duplicate acks

Number of duplicate TCP acknowledgments received.

acks for unsent data

Number of TCP acknowledgments received for data that was not sent.

packets (bytes) received in-sequence

Number of TCP packets (and the size in bytes) received in sequence.

completely duplicate packets (bytes)

Number of duplicate TCP packets (and the size in bytes) received.

packets with some dup. data (bytes duped)

Number of TCP packets received with duplicate data (and the number of bytes of duplicated data).

out-of-order packets (bytes)

Number of out-of-order TCP packets (and the size in bytes) received.

packets (bytes) of data after window

Number of TCP packets (and the size in bytes) received outside of the specified data window.

discarded for bad checksums

Number of TCP packets received and discarded that failed the checksum.

discarded because packet too short

Number of TCP packets received and discarded that were truncated.

connection requests

Total number of TCP connection requests sent.

connection accepts

Total number of TCP connection accepts sent.

connections established (including accepts)

Total number of TCP connections established, including those for which a connection accept was sent.

connections closed (including x drops)

Total number of TCP connections closed, including dropped connections.

retransmit timeouts

Number of timeouts that occurred when a retransmission was attempted.

connections dropped by rexmit timeout

Number of connections dropped due to retransmission timeouts.

keepalive timeouts

Number of keepalive timeouts that occurred.

keepalive probes sent

Number of TCP keepalive probes sent.

connections dropped by keepalive

Number of connections dropped.

This example shows how to display UDP statistics:

Console> show netstat udp
udp:
        0 incomplete headers
        0 bad data length fields
        0 bad checksums
        0 socket overflows
        1116 no such ports
Console>
 

Table 2-21 describes the fields in the show netstat udp command output.


Table 2-21: show netstat udp Command Output Fields
Field Description

incomplete headers

Number of UDP packets received with incomplete packet headers.

bad data length fields

Number of UDP packets received with a data length field that did not match the actual length of the packet payload.

bad checksums

Number of UDP packets received that failed the checksum.

socket overflows

Number of socket overflows.

no such ports

Number of UDP packets received destined for nonexistent ports.

This example shows how to display IP statistics:

Console> show netstat ip
ip:
        76894 total packets received
        0 bad header checksums
        0 with size smaller than minimum
        0 with data size < data length
        0 with header length < data size
        0 with data length < header length
        0 fragments received
        0 fragments dropped (dup or out of space)
        0 fragments dropped after timeout
        0 packets forwarded
        0 packets not forwardable
        0 redirects sent
Console>
 

Table 2-22 describes the fields in the show netstat ip command output.


Table 2-22: show netstat ip Command Output Fields
Field Description

total packets received

Total number of IP packets received.

bad header checksums

Number of received IP packets that failed the checksum.

with size smaller than minimum

Number of received IP packets that were smaller than the minimum IP packet size.

with data size < data length

Number of packets in which the data size was less than the data length.

with header length < data size

Number of packets in which the header length was less than the data size.

with data length < header length

Number of packets in which the data length was less than the minimum header length.

fragments received

Number of IP packet fragments received.

fragments dropped (dup or out of space)

Number of received IP packet fragments that were dropped because of duplicate data or buffer overflow.

fragments dropped after timeout

Number of received IP packet fragments that were dropped.

packets forwarded

Number of forwarded IP packets.

packets not forwardable

Number of IP packets that the switch did not forward.

redirects sent

Number of IP packets that the switch redirected.

This example shows how to display ICMP statistics:

Console> show netstat icmp
icmp:
        Redirect enabled
        0 calls to icmp_error
        0 errors not generated 'cuz old message was icmp
        Output histogram:
                echo reply: 1001
        1 message with bad code fields
        0 messages < minimum length
        0 bad checksums
        0 messages with bad length
        Input histogram:
                echo reply: 12
                destination unreachable: 3961
                echo: 1001
        1001 message responses generated
Console>
 

Table 2-23 describes the fields in the show netstat icmp command output.


Table 2-23: show netstat icmp Command Output Fields
Field Description

Redirect enabled

Status of whether ICMP redirection is enabled or disabled.

Output histogram

Frequency distribution statistics for output ICMP packets.

echo reply

Number of output echo reply ICMP packets.

messages with bad code fields

Number of ICMP packets with an invalid code field.

messages < minimum length

Number of ICMP packets with less than the minimum packet length.

bad checksums

Number of ICMP packets that failed the checksum.

messages with bad length

Number of ICMP packets with an invalid length.

Input histogram

Frequency distribution statistics for input ICMP packets.

echo reply

Number of input echo reply ICMP packets.

destination unreachable

Number of input destination unreachable ICMP packets.

echo

Number of input echo ICMP packets.

message responses generated

Number of ICMP message responses the system generated.

This example shows how to display the IP routing table:

Console> show netstat routes
DESTINATION     GATEWAY         FLAGS   USE             INTERFACE
default         172.16.1.201    UG      6186            sc0
172.16.0.0      172.16.25.142   U       6383            sc0
default         default         UH      0               sl0
Console>
 

Table 2-24 describes the fields in the show netstat routes command output.


Table 2-24: show netstat routes Command Output Fields
Field Description

DESTINATION

Destination IP address or network.

GATEWAY

Next hop to the destination.

FLAGS

Flags indicating the interface state.

USE

Number of times this route was used.

INTERFACE

Interface out of which packets to the destination should be forwarded.

This example shows how to display interface statistics:

Console> show netstat interface
Interface          InPackets InErrors OutPackets OutErrors
sl0                        0        0          0         0
sc0                   368996        0      12624         0
Console> 
Interface Rcv-Octet            Xmit-Octet
--------- -------------------- --------------------
sc0       182786               0
sl0       0                    0
Interface Rcv-Unicast          Xmit-Unicast
--------- -------------------- --------------------
sc0       3002                 1314
sl0       0                    0
Console> 
 

Table 2-25 describes the fields in the show netstat interface command output.


Table 2-25: show netstat interface Command Output Fields
Field Description

Interface

Interface number (sl0 is the SLIP interface; sc0 is the in-band interface).

InPackets

Number of input packets on the interface.

InErrors

Number of input errors on the interface.

OutPackets

Number of output packets on the interface.

OutErrors

Number of output errors on the interface.

Rcv-Octet

Number of octet frames received on the port.

Xmit-Octet

Number of octet frames transmitted on the port.

Rcv-Unicast

Number of unicast frames received on the port.

Xmit-Unicast

Number of unicast frames transmitted on the port.

Related Commands

set interface
set ip route

show ntp

Use the show ntp command to display the current NTP status.

show ntp
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the current NTP status:

Console> show ntp
Current time: Tue Sep 29 1998, 11:19:03 pst
Timezone: 'pst', offset from UTC is -8 hours
Summertime: 'pst', enabled
Last NTP update:
Broadcast client mode: enabled
Broadcast delay: 3000 microseconds
Client mode: disabled
 
NTP-Server
----------------------------------------
time_server.cisco.com
Console>
 

Table 2-26 describes the fields in the show ntp command output.


Table 2-26: show ntp Command Output Fields
Field Description

Current time

Current system time.

Timezone

Time zone and the offset in hours from UTC.

Summertime

Time zone for daylight saving time and whether the daylight saving time adjustment is enabled or disabled.

Last NTP update

Time of the last NTP update.

Broadcast client mode

Status of whether NTP broadcast-client mode is enabled or disabled.

Broadcast delay

Configured NTP broadcast delay.

Client mode

Status of whether NTP client mode is enabled or disabled.

NTP-Server

List of configured NTP servers.

Related Commands

clear ntp server
set ntp broadcastclient
set ntp broadcastdelay
set ntp client
set ntp server


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Feb 4 18:37:49 PST 1999
Copyright 1989-1999©Cisco Systems Inc.