|
|
Use the meminfo command to display information about the main memory, packet memory, and NVRAM.
meminfo [-l]
-l | (Optional) Keyword to specify the long listing, which displays the supported DRAM configurations. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
ROM monitor command.
Normal.
The minus sign (-) is required with the -l option.
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
Use the ping command to send ICMP echo request packets to another node on the network.
ping [-s] host [packet_size] [packet_count]
-s | (Optional) Argument to cause ping to send one datagram per second when a response is received from the specified host. |
host | IP address or IP alias of the host. |
packet_size | (Optional) Number of bytes in each ICMP echo request packet. |
packet_count | (Optional) Number of packets to send. |
The default is to send a single 56-byte ICMP echo request packet to the specified host.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
Press Ctrl-C to stop pinging.
Following are sample results of the ping command:
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>
This example shows how to ping IP host elvis 10 times using 1200 byte packets:
Console> ping -s elvis 1200 10 PING elvis:1200 data bytes 1208 bytes from elvis:icmp_seq=0. time=3 ms 1208 bytes from elvis:icmp_seq=1. time=3 ms 1208 bytes from elvis:icmp_seq=2. time=3 ms 1208 bytes from elvis:icmp_seq=3. time=3 ms 1208 bytes from elvis:icmp_seq=4. time=3 ms 1208 bytes from elvis:icmp_seq=5. time=3 ms 1208 bytes from elvis:icmp_seq=6. time=3 ms 1208 bytes from elvis:icmp_seq=7. time=3 ms 1208 bytes from elvis:icmp_seq=8. time=4 ms 1208 bytes from elvis:icmp_seq=9. time=3 ms ----elvis PING Statistics---- 10 packets transmitted, 10 packets received, 0% packet loss round-trip (ms) min/avg/max = 3/3/4 Console>
set interface
set ip route
show interface
show ip route
Use the pwd command to show the current default Flash device.
pwd [mod]
mod | (Optional) Module number of the supervisor engine for which to display the current default Flash device. |
If no module number is specified, pwd defaults to the active supervisor engine.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Privileged.
This command is not supported on the Catalyst 5000 family Supervisor Engine II, II G, and III G.
This example shows how to use the pwd command to display the current default Flash device:
Console> pwd bootflash Console> cd Default flash device set to slot0. Console> pwd slot0
Use the quit command to exit a CLI session.
quitThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
The exit and logout commands perform the same function as the quit command.
This example shows how to quit a CLI session:
Console> quit Connection closed by foreign host. host%
Use the reconfirm vmps command to reconfirm the current dynamic port VLAN membership assignments with the VMPS server.
reconfirm vmpsThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Privileged.
VMPS database changes are not conveyed automatically to switches participating in VMPS. Therefore, after making a VMPS database change, use this command on VMPS clients and servers to apply the database changes.
This example shows how to reconfirm the current dynamic port VLAN membership with VMPS:
Console (enable) reconfirm vmps reconfirm process started Use 'show dvlan statistics' to see reconfirm status Console (enable)
clear vmps server
show dvlan statistics
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Mar 21 09:08:34 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.