|
|
Use the mac-address command to set the MAC layer address.
mac-address ieee-address
ieee-address | 48-bit IEEE MAC address written as a dotted triplet of 4-digit hexadecimal numbers. |
No MAC layer address is set.
Cisco IOS ATM command.
Interface configuration.
This command is not supported on the Catalyst 4000 and 2948G series switches.
If you have a LECS, LES, or BUS configured on an ATM module, and you replace the supervisor engine module or move the ATM module from one slot to another, you can use the mac-address command to modify the default ATM address network service access points (NSAPs). This way, if you replace the supervisor engine module or move the ATM module from one slot to another, the NSAP is taken from the MAC address instead of the supervisor engine module.
This example shows how to set the MAC layer address, where xx.xxxx is an appropriate second half of the MAC address to use.
ATM(config-if)#mac-address 5000.5axx.xxxx
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]
-l | (Optional) Keyword to specify long listing---displays DRAM configurations. |
This command has no default setting.
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
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
Use the mpoa client config name command to define an MPC with a specified name. Use the no form of this command to delete the MPC.
mpoa client config name mpc-name
mpc-name | Name of the specific MPC. |
The system defaults are as follows:
Cisco IOS ATM command.
Global configuration.
This command is not supported on the Catalyst 4000 and 2948G series switches.
When you enter this command, you are placed in the MPC configuration/definition mode. From here, you can enter subcommands to define or change MPC variables specific only to this MPC. Note that the MPC is not functional until it is attached to a hardware interface.
This example shows how to create or modify the MPC named ip_mpc:
ATM> enable ATM#configure ATM (config)#mpoa client config name ip_mpc mpoa-client-config#
atm-address
shortcut-frame-count
shortcut-frame-time
Use the mpoa client name command to attach an MPC to a major ATM interface. Use the no form of this command to break the attachment.
mpoa client name mpc-name
mpc-name | Name of the specific MPC. |
This command has no default setting.
Cisco IOS ATM command.
Interface configuration.
This command is not supported on the Catalyst 4000 and 2948G series switches.
The mpoa client name command provides an interface to the MPC through which the MPC can set up and receive calls.
When you enter this command on a major interface that is up and operational, the named MPC becomes operational. After the MPC is fully operational, it can register its ATM address.
This example shows how to attach the MPC ip_mpc to an interface:
ATM (config)#mpoa client config name ip_mpc mpoa-client-config#int atm 1/0 config-if#mpoa client name ip_mpc config-if#
show mpoa client
mpoa client config name
show mpoa default-atm-addresses
Use the mtu command to set the interface MTU.
mtu size
size | MTU size in bytes. Valid values are 64 to 17944. Valid ATM values are 1500, 4528, and 9218 for Ethernet; and 4490 and 9180 for Token Ring. |
This command has no default setting.
Cisco IOS ATM command.
Interface configuration.
This command is not supported on the Catalyst 4000 and 2948G series switches.
This command is not supported by these modules:
This example shows how to set the MTU to 1500 for an Ethernet module:
ATM (config-if)#mtu 1500 ATM (config-if)#
Use the name command to assign a unique ELAN name to a LES and to configure an ELAN. The no form of this command deletes the specified ELAN name.
name elan-name elan-id id {local-seg-id | new-name | preempt | restricted | server-atm-address | un-restricted} atm-addr
elan_name | Name of the ELAN. |
elan_id | Keyword to specify the ELAN ID of the ELAN. |
id | ELAN ID of the ELAN. |
local-seg-id | Keyword to specify the local segment number for this emulated TR LAN. |
new-name | Keyword to introduce a new name for this ELAN. |
preempt | Keyword to turn on higher priority LES preemption. |
restricted | Keyword to close this ELAN to access by name only. |
server-atm- address | Keyword to specify the LES-NSAP address for this ELAN. |
un-restricted | Keyword to open this ELAN to access by name only. |
atm-addr | ATM address of the LANE client. |
The default has higher priority LES preemption off.
Catalyst 5000, 2926G, and 2926 series ATM module command.
Database configuration.
This command is not supported on the Catalyst 4000 and 2948G series switches.
Use this command when setting up the LECS database on Catalyst 5000, 2926G, and 2926 series switches or when configuring the address of a LES/BUS.
When you enter the name elan-name elan-id id preempt command to turn on higher priority LES preemption, if the primary LANE server (LES) fails, a switchover to a secondary LES occurs. But when a LES that is ranked higher in the priority list becomes active, the active LES is switched to the new LES (with the higher priority).
If you use the default configuration, the second switchover to the new LES does not occur, regardless of the priority. Use the no form of the command to turn off higher priority LES preemption.
The new-name and preempt keywords are supported in Catalyst 5000, 2926G, and 2926 series ATM software release 3.2(8) and later.
This example shows how to configure the LES ATM NSAP address for the default ELAN:
ATM(lane-config-database)#name default server-atm-address 47.0091810000000061705b7701.00400BFF0011.00 ATM(lane-config-database)#
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) 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. |
This command has no default setting.
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>
set interface
set ip route
show interface
show ip route
Use the pwd command to show the current setting of the cd command.
pwd [mod]
mod | (Optional) Number of the module containing the Flash device. |
If no module number is specified, pwd defaults to the first module of the active device.
Switch command.
Privileged.
A colon (:) is required after the specified device.
This command applies only to the Supervisor Engine III and the Catalyst 4000 and 2948G series switch supervisor engine modules. If you attempt to run this command on a Supervisor Engine I or II, you will receive an error message.
This example shows how to use the pwd command to display the current listing of the cd command:
Console> pwd bootflash Console> cd Default flash device set to slot0. Console> pwd slot0
|
|