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

Table of Contents

meminfo
ping
pwd
quit
repeat
reset---ROM monitor
reset---ROM monitor

meminfo

Use the meminfo command to display information about the main memory, packet memory, and NVRAM. With the -l option, the supported DRAM configurations are displayed.

meminfo [-l]
Syntax Description

-l

(Optional) Keyword to specify long listing---displays DRAM configurations.

Default

This command has no default setting.

Command Type

ROM monitor command.

Command Mode

Normal.

Usage Guideline

The minus sign (-) is required with the -l option.

Example

This example shows how to use the meminfo command:

rommon 9 > meminfo
 
Main memory size: 16 MB in 32 bit mode.
Available main memory starts at 0xa000e000, size 16328KB
IO (packet) memory size: 25 percent of main memory.
NVRAM size: 32KB

On a Cisco 3640 router, meminfo -l displays the following tables. The size of the SIMM indicated is its total size. The "-DUAL" attached to the size indicates that the SIMM is a dual-bank SIMM. For example, "8M" indicates that the SIMM is a single bank with a total size of 8 MB. "8M-DUAL" indicates that the SIMM is dual bank with a total size of 8 MB (4 MB on each bank).

rommon 10 > meminfo -l
 
Supported 64 bit configurations:
 
SIMM 0    SIMM 1    SIMM 2    SIMM 3
--------------------------------------
 4M        4M        4M        4M
 8M        8M
 8M-DUAL   8M-DUAL
 8M        8M        4M        4M
 8M-DUAL   8M-DUAL   4M        4M
 8M        8M        8M        8M
 8M        8M        8M-DUAL   8M-DUAL
 8M-DUAL   8M-DUAL   8M        8M
 8M-DUAL   8M-DUAL   8M-DUAL   8M-DUAL
16M       16M
16M       16M        4M        4M
16M       16M        8M        8M
16M       16M        8M-DUAL   8M-DUAL
16M       16M       16M       16M
32M-DUAL  32M-DUAL
32M-DUAL  32M-DUAL   4M        4M
32M-DUAL  32M-DUAL   8M        8M
32M-DUAL  32M-DUAL   8M-DUAL   8M-DUAL
32M-DUAL  32M-DUAL  16M       16M
32M-DUAL  32M-DUAL  32M-DUAL  32M-DUAL
 
Supported 32 bit configurations:
 
SIMM 0    SIMM 1    SIMM 2    SIMM 3
--------------------------------------
 4M
 4M        4M
 4M        8M
 4M       16M
 4M        4M        4M
 4M        4M        8M
 8M
 8M        4M
 8M       16M
 8M        8M        4M
 8M        8M        8M
 8M        8M       16M
 8M        8M        4M        8M
 8M        8M        8M        4M
16M
16M        4M
16M        8M
16M       16M        4M
16M       16M        8M
16M       16M       16M
16M       16M        4M        8M
16M       16M        4M       16M
16M       16M        8M        4M
16M       16M        8M       16M
16M       16M       16M        4M
16M       16M       16M        8M

On a Cisco 3620 router, meminfo -l displays the following table:

rommon 10 > meminfo -l
 
Supported memory configurations:
 
SIMM 0    SIMM 1    SIMM 2    SIMM 3
--------------------------------------
 4M
 4M        4M
 4M        8M
 4M       16M
 4M        4M        4M
 4M        4M        8M
 4M        4M        4M        4M
 8M
 8M        4M
 8M        8M
 8M       16M
 8M        8M        4M
 8M        8M        8M
 8M        8M       16M
 8M        8M        4M        4M
 8M        8M        4M        8M
 8M        8M        8M        4M
 8M        8M        8M        8M
16M
16M        4M
16M        8M
16M       16M
16M       16M        4M
16M       16M        8M
16M       16M       16M
16M       16M        4M        4M
16M       16M        4M        8M
16M       16M        4M       16M
16M       16M        8M        4M
16M       16M        8M        8M
16M       16M        8M       16M
16M       16M       16M        4M
16M       16M       16M        8M
16M       16M       16M       16M
 
 

ping

Use the ping command to send ICMP echo request packets to another node on the network.

ping [-s] host [packet_size] [packet_count]
Syntax Description

-s

(Optional) Keyword to cause ping to send one datagram per second, printing one line of output for every response received. The ping command returns output only when a response is received.

host

IP address or IP alias of the host.

packet_size

(Optional) Number of bytes in a packet, from 56 to 1472 bytes. The default is 56 bytes; the actual packet size will be 8 bytes larger than the size specified because the switch adds header information.

packet_count

(Optional) Number of packets to send.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

Press Ctrl-C to stop pinging.

Following are sample results of the ping command:

Examples

This example shows how to ping a host with IP alias elvis a single time:

Console> ping elvis
elvis is alive
Console> 
 

This example shows how to ping a host with IP alias elvis once per second until you press Ctrl-C to stop pinging:

Console> ping -s elvis
ping elvis: 56 data bytes
64 bytes from elvis: icmp_seq=0. time=11 ms
64 bytes from elvis: icmp_seq=1. time=8 ms
64 bytes from elvis: icmp_seq=2. time=8 ms
64 bytes from elvis: icmp_seq=3. time=7 ms
64 bytes from elvis: icmp_seq=4. time=11 ms
64 bytes from elvis: icmp_seq=5. time=7 ms
64 bytes from elvis: icmp_seq=6. time=7 ms
^C
 
----elvis PING Statistics----
7 packets transmitted, 7 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 7/8/11
Console> 
Related Commands

set interface
set ip route
show interface
show ip route

pwd

Use the pwd command to show the current setting of the cd command.

pwd [[m/]device:]
Syntax Description

m/

(Optional) Module number of the supervisor engine containing the Flash device.

device:

(Optional) Device where the Flash resides.

Default

If no module number or device is specified, pwd defaults to the first module of the active device.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

A colon (:) is required after the specified device.

Example

This example shows how to use the pwd command to display the current listing of the cd command:

Console> cd slot0:
Default flash device set to slot0.
Console> pwd
slot0
 

quit

Use the quit command to exit a CLI session.

quit
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

The exit and logout commands perform the same function as the quit command.

Example

This example shows how to quit a CLI session:

Console> quit
Connection closed by foreign host.
host%

repeat

Use the repeat command to repeat a command.

repeat [num | string]
Syntax Description

number

(Optional) Number of the command.

string

(Optional) Command string.

Default

If no argument is specified, the last command is repeated.

Command Type

ROM monitor command.

Command Mode

Normal.

Usage Guidelines

The optional command number (from the history buffer list) or match string specifies which command to repeat.

In the match string, the most recent command to begin with the specified string is executed again.

If the string contains white space, you must use quotation marks.

This command is usually aliased to the letter "r."

Examples

These examples show how to use the repeat command. You use the history command to display the list of previously entered commands:

rommon 22 > history
 
8   dir 
9   dir bootflash:
10   dis
11   dis 0xa0001000
12   dis 0xbe000000
13   history
14   meminfo
15   meminfo -l
16   meminfo
17   meminfo -l
18   meninfo
19   meminfo
20   meminfo -l
21   meminfo -l
22   history
rommon 23 > repeat dir
dir bootflash:
         File size           Checksum   File name
   1973032 bytes (0x1e1b28)   0xdadf5e24    llue
rommon 24 > repeat
dir bootflash:
         File size           Checksum   File name
   1973032 bytes (0x1e1b28)   0xdadf5e24    llue
rommon 25 > repeat 15
meminfo -l
 
Main memory size: 16 MB.
Packet memory size: 0 MB
Main memory size: 0x1000000
Available main memory starts at 0xa000e000, size 0xff2000
NVRAM size: 0x20000
 
Parity Map for the DRAM Banks
Socket 0 in Bank 0 Has No Parity
Socket 1 in Bank 0 Has No Parity
Socket 0 in Bank 1 Has No Parity
Socket 1 in Bank 1 Has No Parity
==========================================================================

reset---ROM monitor

Use the reset ROM monitor command to perform a soft reset of the switch.

reset [-s]
Syntax Description

mod_num

Number of the module to be reset.

-s

Keyword to reset the entire switch.

Default

The default Flash device is slot0.

Command Type

ROM monitor command.

Command Mode

Normal.

Example

This example shows how to use the reset command:

rommon 26 > reset
 
System Bootstrap, Version 3.1(1.69)
Copyright (c) 1994-1997 by cisco Systems, Inc.
Supervisor processor with 16384 Kbytes of main memory
 
rommon 1 > 
===========================================================================
 
 

reset---ROM monitor

Use the reset ROM monitor command to perform a soft reset of the switch.

reset [-s]
Syntax Description

mod_num

Number of the module to be reset.

-s

(Optional) Keyword to perform a sync before the reset.

Default

The default Flash device is slot0.

Command Type

ROM monitor command.

Command Mode

Normal.

Example

This example shows how to use the reset command:

rommon 26 > reset
 
System Bootstrap, Version 3.1(1.69)
Copyright (c) 1994-1997 by cisco Systems, Inc.
Supervisor processor with 16384 Kbytes of main memory
 
rommon 1 > 
===========================================================================
 
 

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