This chapter lists new and revised commands specific to the MWAM configuration. The commands are
categorized according to the console from which they are executed.
Supervisor Console Commands
The following commands are available at the Supervisor console:
• mwam module allowed-vlan
• mwam module vlan-based
• session slot
• show mwam module
• mwam bootflash access
• execute-on
• logging listen mwam
• mwam module cpu logging
• show logging
• clear logging slot
CHAPTER
6
OL-4858-07
Multiprocessor WAN Application Module User Guide
6-1
Processor Control Commands
Processor Control Commands
The Processor Control (PC) commands are available when you session into MWAM processor 1 from
the Supervisor console. The PC commands provide various functions for MWAM processors.
To access the PC commands, use the session slot command to establish a connection to processor 1.
Then log into the PC as root user with the password cisco.
• show processor
• show log
• show tech-support
• show version
• show images
• reload
• recover-ios
• normal-ios
• restore
Chapter 6 Command Reference
MWAM Console Commands
The following commands are available at the MWAM console:
• mwam config-mode
• show mwam config-mode
• logging main-cpu
• show mwam
6-2
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
Command Details
mwam module allowed-vlan
To configure the Ethernet connectivity from the backplane (i.e., switch fabric) to the individual
processors on the MWAM, use the mwam module allowed-vlan command in global configuration
mode. To remove this configuration, use the no form of the command.
mwam module slot_number port port_number allowed-vlan vlan-list
no mwam module slot_number port port_number allowed-vlan vlan-list
Command Details
Syntax Description
DefaultsThere are no default behavior or values.
Command ModesGlobal configuration.
Command History
Usage GuidelinesEach processor is connected to the backplane (i.e., switch fabric) through an Ethernet port connection.
slot_numberSpecifies the slot that the module is plugged into.
port port_numberSpecifies the actual port number (1-3) used to connect to a processor
complex within the MWAM (Figure 1-1 shows the port layout).
allowed-vlan vlan-listConfigures the appropriate VLANs for this port.
ReleaseModification
12.2(9)ZAThis command was introduced.
When both processors within a complex are enabled, they are required to share the Ethernet port
connection, thus their port configurations must be in common.
See Figure 1-1 and Table 1-1 to determine which port corresponds to each processor.
ExamplesThe following example illustrates the mwam module allowed-vlan command:
router(config)# mwam module 4 port 2 allowed-vlan 101
Multiprocessor WAN Application Module User Guide
OL-4858-07
6-3
Command Details
mwam module vlan-based
To assign MWAM traffic to a VLAN QoS policy,usethe mwam module vlan-based command in global
configuration mode. To remove this configuration, use the no form of the command.
mwam module slot_number port port_number vlan-based
no mwam module slot_number port port_number vlan-based
Chapter 6 Command Reference
Syntax Description
slot_numberSpecifies the slot that the module is plugged into.
port_numberSpecifies one of three switch fabric interface ports (1-3) that connect the
Supervisor module to the MWAM.
DefaultsThere are no default behavior or values.
Command ModesGlobal configuration.
Command History
ReleaseModification
12.2(14)ZA7This command was introduced.
Usage GuidelinesUse this command to assign MWAM traffic to a VLAN QoS policy.
See Figure 1-1 and Table 1-1 to determine which port corresponds to each processor.
ExamplesThe following example illustrates the mwam module vlan-based command:
Sup-7606(config)# mwam module 5 port 1 vlan-based
Sup-7606(config)# mwam module 5 port 2 vlan-based
Sup-7606(config)# mwam module 5 port 3 vlan-based
6-4
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
session slot
Command Details
To establish a command session to a processor on an MWAM, use the session slot command in
privileged EXEC mode.
processor 1 provides control commands for MWAM processors and
complexes.
DefaultsThere are no default behavior or values.
Command ModesEXEC mode.
Command History
ReleaseModification
12.2(9)ZAThis command was introduced.
Usage GuidelinesWhen you session into processor 1, you must enter the user name (root) and password (cisco).
ExamplesThe following example illustrates the session slot command for processor 2 on the MWAM in slot 9:
Sup-7606#session slot 9 processor 2
The default escape character is Ctrl-^, then x.
You can also type 'exit' at the remote prompt to end the session
Trying 127.0.0.92 ... Open
OL-4858-07
proc2-9>
Press RETURN to get started!
proc2-9>
The following example illustrates the session slot command for processor 1 on the MWAM in slot 9:
Sup-7606#session slot 9 processor 1
The default escape character is Ctrl-^, then x.
You can also type 'exit' at the remote prompt to end the session
Trying 127.0.0.91 ... Open
SVCMWAM Image version 2.1(0.1b)
Multiprocessor WAN Application Module User Guide
6-5
Command Details
Chapter 6 Command Reference
Tue Oct 14 11:04:43 EDT 2003
Copyright (c) 2002-2003 by cisco Systems, Inc.
All rights reserved.
Kernel 2.4.10.komodo on an i686
login: root
Password:
SVCMWAM Image version 2.1(0.1b)
Tue Oct 14 11:04:43 EDT 2003
Copyright (c) 2002-2003 by cisco Systems, Inc.
All rights reserved.
SVCMWAM Image version 2.1(0.1b)
Tue Oct 14 11:04:43 EDT 2003
Copyright (c) 2002-2003 by cisco Systems, Inc.
All rights reserved.
root@mwam-9#
6-6
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
show mwam module
To display connectivity information about the individual processors on the MWAM, use the showmwam
module command in privileged EXEC mode.
show mwam module slot_number port port_number {state | traffic}
Command Details
Syntax Description
slot_numberDisplays the slot that the module is plugged into.
port port_numberDisplays the actual port number (1-3) used to connect to a processor
complex within an MWAM (Figure 1-1).
stateDisplays the interface status.
trafficDisplays the interface statistics.
DefaultsThere are no default behavior or values.
Command ModesEXEC mode.
Command History
ReleaseModification
12.2(9)ZAThis command was introduced.
ExamplesThe following example illustrates the show mwam module command:
Sup-7606#sho mwam mod 7 port 1 state
Mwam module 7 data-port 1:
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: 1-999
Pruning VLANs Enabled: 2-1001
Vlans allowed on trunk:1-999
Vlans allowed and active in management domain:1,3,11-12,17,60
Vlans in spanning tree forwarding state and not pruned:
1,3,11-12,17,60
Allowed-vlan : 1-999
OL-4858-07
Sup-7606#sho mwam mod 7 port 1 traffic
Specified interface is up line protocol is up
Hardware is C6k 1000Mb 802.3, address is 0010.7b00.0cb0 (bia 0010.7b00.0cb0)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s
Last input never, output never, output hang never
Multiprocessor WAN Application Module User Guide
6-7
Command Details
Chapter 6 Command Reference
Last clearing of "show interface" counters never
Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 67
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 3 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
46504312 packets output, 2501255885 bytes, 0 underruns
0 output errors, 0 collisions, 10 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Sup-7606#sho mwam mod 7 port 2 state
Mwam module 7 data-port 2:
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: 1-999
Pruning VLANs Enabled: 2-1001
Vlans allowed on trunk:1-999
Vlans allowed and active in management domain:1,3,11-12,17,60
Vlans in spanning tree forwarding state and not pruned:
1,3,11-12,17,60
Allowed-vlan : 1-999
Sup-7606#sho mwam mod 7 port 2 traffic
Specified interface is up line protocol is up
Hardware is C6k 1000Mb 802.3, address is 0010.7b00.0cb1 (bia 0010.7b00.0cb1)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s
Last input 00:00:09, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 68
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 1000 bits/sec, 1 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
24922473 packets input, 430882532 bytes, 0 no buffer
Received 93145 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
26261319 packets output, 4263983434 bytes, 0 underruns
0 output errors, 0 collisions, 10 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Sup-7606#sho mwam mod 7 port 3 state
Mwam module 7 data-port 3:
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
6-8
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: 1-999
Pruning VLANs Enabled: 2-1001
Vlans allowed on trunk:1-999
Vlans allowed and active in management domain:1,3,11-12,17,60
Vlans in spanning tree forwarding state and not pruned:
1,3,11-12,17,60
Allowed-vlan : 1-999
Sup-7606#sho mwam mod 7 port 3 traffic
Specified interface is up line protocol is up
Hardware is C6k 1000Mb 802.3, address is 0010.7b00.0cb2 (bia 0010.7b00.0cb2)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s
Last input 00:00:11, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 22
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
35270 packets input, 5189978 bytes, 0 no buffer
Received 4444 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
46510270 packets output, 2501832096 bytes, 0 underruns
0 output errors, 0 collisions, 10 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Command Details
OL-4858-07
Multiprocessor WAN Application Module User Guide
6-9
Command Details
mwam bootflash access
NoteThe MWAM bootflash access must be enabled if you want to operate in Supervisor mode.
To enable file transfer requests between the Supervisor bootflash and the individual processors on the
MWAM, use the mwam bootflash access command in configuration mode. To remove this
configuration, use the no form of the command.
mwam bootflash access
no mwam bootflash access
Chapter 6 Command Reference
Syntax Description
mwam bootflash
Configures bootflash access for MWAM file transfer requests.
access
DefaultsMWAM bootflash access is enabled by default. To disable access, issue no mwam bootflash access.
Command ModesConfiguration
Command History
ReleaseModification
12.2(14)ZA4This command was introduced.
Usage GuidelinesUse the no form of this command to disable MWAM access to the Supervisor bootflash.
ExamplesThe following example illustrates the mwam bootflash access command:
Sup-7606(config)# mwam bootflash access
6-10
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
logging listen mwam
To configure MWAM logging input to the Supervisor from an MWAM in the chassis, use the logging
listen mwam command in global configuration mode. To remove this configuration, use the no form of
the command.
logging listen mwam udp_port
no logging listen mwam udp_port
Command Details
Syntax Description
udp_portSpecifies the UDP port on the Supervisor module for listening to logs from
MWAM(s) in the chassis. This command is required to enable the remote
console and logging feature.
A UDP port must be defined at both the Supervisor and the MWAM, and the
defined ports must match.
The port range is 4000-10000. The port must be divisible by 100 (for
MWAM processor identification).
DefaultsThere are no default behavior or values.
Command ModesGlobal configuration.
Command History
ReleaseModification
12.2(14)ZA4This command was introduced.
Usage GuidelinesUse this command to specify the Supervisor UDP port for listening to MWAM logging. Use the logging
main-cpu command from the MWAM console to enable slave log generation to the Supervisor. Ensure
that the UDP ports defined at both the Supervisor and MWAM are the same.
When selecting the UDP port for an MWAM processor, you are defining a base UDP port used at the
Supervisor. Two additional source ports, based on the selected port, are then automatically defined.
For example, on the Supervisor you have configured the following:
logging listen mwam 10000
OL-4858-07
On the MWAM, you have configured processor 2 as follows:
logging main-cpu 10000 emergencies 99.99.99.99
The Supervisor listens on port 10000 and uses this port as its base UDP port. Ports 10002 and 10012
are automatically defined for traffic streams. On MWAM processor 3, the defined ports would be 10003
and 10013. The port numbering pattern for the additional ports is shown here:
slot_numberSpecifies the slot that the module is plugged into.
allSpecifies all the MWAMs in the chassis.
1
processor_numberSpecifies the processor number within the MWAM.
allSpecifies all the processors in the MWAM.
1
commandSpecifiesthe command to execute on the MWAMprocessor.The following
commands are supported:
• debug
• dir
• show
• systat
• undebug
• ping
• log {show | systat | dir}
ip_addr
The commands of the PC are also supported (see Processor Control
Commands).
subcommand(Optional) Additional parameters to be included with the command and
executed by the remote processor.
NoteNo Help is available for the parameter portion of the command.
1. When using the all option, the command is executed on all active processors but is not executed on processors that are
inactive. The processor state can be shown using the show logging command.
DefaultsThere are no default behavior or values.
Command ModesPrivileged EXEC.
Command History
ReleaseModification
12.2(14)ZA4This command was introduced.
12.3(5a)BAdded remote console support for PC commands.
Usage GuidelinesThe remote console and logging feature must be configured to use the execute-on command. See
Configuring Remote Console and Logging.
When using the all options, the designated command is executed on all active processors. Inactive
processors are ignored. Use the show logging command to determine if the processor is active.
Multiprocessor WAN Application Module User Guide
OL-4858-07
6-13
Chapter 6 Command Reference
Command Details
To terminate a remote command that is in progress, the user can activate the escape sequence defined on
the Supervisor console. For example, if a user initiates a log show command on a remote MWAM
processor and the command execution is longer than expected, the user can terminate the command from
the Supervisor console by entering Ctrl-^. To determine the escape sequence for your console/vty
connection, use the show line line_number command.
ExamplesThe following example executes the log show running-config command on processor 2 of the MWAM
in slot 5.
Sup-7600# execute-on 5 2 log show running-config
6-14
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
mwam module cpu logging
To configure the severity level of MWAM logging information to send to the Supervisor module, use the
mwam module cpu logging command in global configuration mode. To remove this configuration, use
the no form of the command.
mwam module {slot_number | all} cpu {processor_number | all} logging log_level
no mwam module {slot_number | all} cpu {processor_number | all} logging log_level
Command Details
Syntax Description
slot_number | allSpecifies the slot that the module is plugged into or all MWAMs in the
chassis
cpu_number | allSpecifies the processor on the MWAM or all processors on the MWAM.
log_levelLimits the logging of messages to be sent to the Supervisor to a specified
level (e.g., if log_level is critical, then emergencies, alerts, and critical
events are sent). You can enter the level number or name.
• emergencies (severity level 0)—system is unusable
DefaultsThe default configuration is logging enabled on all MWAM processors for emergencies.
Command ModesGlobal configuration.
Command History
ReleaseModification
12.2(14)ZA4This command was introduced.
Usage GuidelinesLogging methods may require additional configurationsuchas the destination IP address for the receiver
of the log traffic. To configure the destination IP address, use the logging main-cpu command.
ExamplesThe followingexamplesetsthe logging levelforall MWAM processors in the chassis to the error logging
level:
Sup-7600(config)# mwam module all cpu all logging error
Multiprocessor WAN Application Module User Guide
OL-4858-07
6-15
Command Details
Chapter 6 Command Reference
The following example allows the Supervisor console to display debugging log messages received from
processor 2 on the MWAM in slot 5:
Sup-7600(config)#mwam module 5 cpu 2 logging debug
6-16
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
show logging
Command Details
To display the slave log options that are enabled on the MWAM, use the show logging command in
privileged EXEC mode.
show logging {slot slot_number | summary}
Syntax Description
slot_numberSpecifies the slot that the module is plugged into.
summaryDisplays logging information for all MWAMs in the chassis.
DefaultsThere are no default behavior or values.
Command ModesPrivileged EXEC configuration.
Command History
ReleaseModification
12.2(14)ZA4This command was introduced.
12.2(14)ZA5The output of this command was modified to incorporate improvements in
the display of information.
Usage GuidelinesUse this command to display the slave log options that are enabled.
ExamplesThe following example illustrates the show logging command:
router# show logging slot 5
CPU: 05/2 State: ACTIVE Command Active: No
ttynum: -1 Logging Level: debugging
timeouts: 1 logevents: 0
sequence errors: 0 reset count: 16001 KPA_missed: 4294967201
send seq: 5 tty recv seq: 0 log recv seq: 0
Current queue count: 0 IP addr: 172.18.48.94
.
.
.
OL-4858-07
NoteEach processor (CPU) on the MWAM in slot 5 is displayed in the output.
Multiprocessor WAN Application Module User Guide
6-17
Command Details
Chapter 6 Command Reference
Field descriptions for the output of this command are listed below:
ActiveProcessor is operational and remote console/logging is active.
OnlineProcessor is operational but remote console/logging is not active.
NoteThis state commonly occurs when a processor is not enabled by the
application running on the MWAM.
InactiveProcessor is rest or resetting, and remote console/logging is inactive.
ProvingThe remote console connection is testing the IP path between the Supervisor
and MWAM processor before moving to the ACTIVE state. If there is a
configurationproblem or VLAN mismatch, the connection may stay in Proving
state until the configuration issue is resolved.
ttynumLine number of the user with an active command on the processor. A value of
-1 indicates no user.
Logging LevelIndicates the maximum severity level at which the Supervisor displays logger
messages from an MWAM.
timeoutsNumber of occurrences of remote command execution time-out.
logeventsNumber of logging events.
sequence errorsProtocol sequence errors caused by overrun or time-out.
reset countNumber of times the connection reset because of connection time-out or
MWAM processor reload.
KPA_missedNumber of keepalives missed.
send seqSequence number of remote commands sent.
tty recv seqSequence number of remote command response messages received from the
MWAM processor.
log recv seqSequence number of remote logging messages received from the MWAM
processor.
Current queue count Number of messages received at the Supervisor and queued to be processed
(logged/displayed).
IP addrIP address of the MWAM processor.
NoteTypically, this is an internal address, but it can be a defined address,
such as the one shown in processor 6 (06/6) in the example. Use the
logging main-cpu command on the MWAM processor to define a
different IP address, if required.
6-18
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
clear logging slot
To clear the slave log options that are enabled on the MWAM, use the clear logging slot command in
privileged EXEC mode.
Command Details
clear logging slot slot_number counts
Syntax Description
slot_numberSpecifies the slot that the module is plugged into.
DefaultsThere are no default behavior or values.
Command ModesPrivileged EXEC configuration.
Command History
ReleaseModification
12.2(14)ZA4This command was introduced.
Usage GuidelinesUse this command to clear the slave log options that are enabled.
ExamplesThe following example illustrates the clear logging slot command:
router# clear logging slot 6 counts
OL-4858-07
Multiprocessor WAN Application Module User Guide
6-19
Command Details
show processor
To show status information about an MWAM processor, use the show processor command available at
the PC complex (processor 1 on the MWAM).
Chapter 6 Command Reference
show processor {processor_number | all}
Syntax Description
show processorShows status information for the MWAM processor.
processor_numberSpecifies the MWAM processor number (2-6).
allSpecifies all processors on the MWAM.
DefaultsThere are no default behavior or values.
Command ModesPC command
Command History
ReleaseModification
12.3(3)B1This command was introduced.
Usage GuidelinesUse this command when you want to show the status of one or more MWAM processors.
NoteYou must first establish a session to processor 1 (session slot command).
The output of this command provides the following counter information:
CounterDescription
User ResetsNumber of times the user manually reloaded the processor
IOS ReloadsNumber of times the user issued the reload command on the processor itself
Unknown Resets Number of times the processor reset without a known cause (e.g., IOS crash)
TimeoutsNumber of times the processor complex stopped responding to heartbeats
ExamplesThe following example illustrates the show processor command for processor 2 in slot 9:
root@mwam-9#show processor 2
Processor 2, Complex 1, Core 0
Complex Status is Online
Information
Health Monitoring
0 User Resets, 0 IOS Reloads, 0 Unknown Resets
0 Timeouts
0 Consecutive heartbearts missed
244528/244528 Heartbeats acked since last reset
Multiprocessor WAN Application Module User Guide
6-20
OL-4858-07
Chapter 6 Command Reference
0% CPU Utilization
Messages
4115/4115 VRTC Update(s) acked by PC
244528/244528 Heartbeats(s) acked from IOS
1/1 ROMMON Config Msg(s) acked from ROMMON
0/0 Supervisor Switchover Msg(s) acked from IOS
0/0 Prepare Reload Msg(s) acked from IOS
root@mwam-9#
Command Details
OL-4858-07
Multiprocessor WAN Application Module User Guide
6-21
Command Details
show log
Chapter 6 Command Reference
To show the upgrade or restart logs, use the show log command available at the PC complex (processor
1 on the MWAM).
show log {upgrade | restart}
Syntax Description
upgradeShows the upgrade log.
restartShows the MWAM and process restart log.
DefaultsThere are no default behavior or values.
Command ModesPC command
Command History
ReleaseModification
12.3(3)B1This command was introduced.
Usage GuidelinesUse this command when you want to display the contents of the upgrade log.
NoteYou must first establish a session to processor 1 (session slot command).
ExamplesThe following examples illustrate the show log command:
root@mwam-4#show log upgrade
Log 'upgrade' is not available.
root@mwam-4
6-22
root@mwam-4# show log restart
MWAM started on Fri Jan 1 00:02:20 UTC 1988
Restarting rcal on Fri Jan 1 00:02:24 UTC 1988
MWAM started on Fri Jan 1 00:02:20 UTC 1988
MWAM shutdown on Mon Jun 14 15:29:47 UTC 2004
MWAM started on Fri Jan 1 00:02:22 UTC 1988
root@mwam-4#
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
reload
Command Details
To reload processors on an MWAM, use the reload command available at the PC complex (processor 1
on the MWAM).
NoteEven though only one processor is specified, both processors on the
complex will reload.
complex
Specifies a complex (0, 1, 2, or all) on the MWAM.
complex_number
allSpecifies all processors on the MWAM.
DefaultsThere are no default behavior or values.
Command ModesPC command
Command History
ReleaseModification
12.3(3)B1This command was introduced.
Usage GuidelinesUse this command when you want to reload MWAM processors or complexes.When you reload a single
processor, the other processor on the complex will also reload. See Table 1-1 for processor-to-complex
mapping.
NoteYou must first establish a session to processor 1 (session slot command).
ExamplesThe following examples illustrate the reload command.
This example reloads processors 4 and 5 on complex 2 of the MWAM in slot 9:
root@mwam-9#reload complex 2
This example also reloads processors 4 and 5 on complex 2 of the MWAM in slot 9:
root@mwam-9#reload processor 4
This example reloads processors 2-6 of the MWAM in slot 9:
root@mwam-9#reload all
Multiprocessor WAN Application Module User Guide
OL-4858-07
6-23
Command Details
recover-ios
Chapter 6 Command Reference
To set the configuration register to boot with a clean configuration, use the recover-ios command
available at the PC complex (processor 1 on the MWAM).
recover-ios complex_number
Syntax Description
complex_numberSpecifies a complex (0, 1, 2, or all) on the MWAM.
DefaultsThere are no default behavior or values.
Command ModesPC command
Command History
ReleaseModification
12.2(9)ZAThis command was introduced.
Usage GuidelinesUse this command when you want to recover from a lockout condition on an MWAM processor as
described in Recovering from MWAM Processor Lockout.
NoteYou must first establish a session to processor 1 (session slot command).
ExamplesThe following example illustrates the recover-ios command on processor complex 2 of the MWAM in
slot 9:
root@mwam-9#recover-ios 2
processing -p
processing -c
Setting DHCP options for processor complex 2
Setting config-reg value to: 0x40
Base external MAC: "0003.FEAB.9FB6"
Internet Software Consortium DHCP Server V3.0.1rc6
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth0/02:00:00:00:0f:00/128.0.1.0/24
Sending on LPF/eth0/02:00:00:00:0f:00/128.0.1.0/24
Listening on LPF/eth1/02:00:00:00:0f:10/128.0.2.0/24
Sending on LPF/eth1/02:00:00:00:0f:10/128.0.2.0/24
Sending on Socket/fallback/fallback-net
6-24
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
normal-ios
Command Details
To set the configuration register to boot with a normal configuration, use the normal-ios command
available at the PC complex (processor 1 on the MWAM).
normal-ios
Syntax Description
normal-iosSets the configuration register to boot with a normal configuration.
DefaultsThere are no default behavior or values.
Command ModesPC command
Command History
ReleaseModification
12.(9)ZAThis command was introduced.
Usage GuidelinesUse this command to set the configuration register to boot using the normal startup configuration. This
command resets the effects of the recover-ios command. It is used in Recovering from MWAM
Processor Lockout.
NoteYou must first establish a session to processor 1 (session slot command).
ExamplesThe following example illustrates the normal-ios command:
root@mwam-9#normal-ios
Base external MAC: "0003.FEAB.9FB6"
Internet Software Consortium DHCP Server V3.0.1rc6
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth0/02:00:00:00:0f:00/128.0.1.0/24
Sending on LPF/eth0/02:00:00:00:0f:00/128.0.1.0/24
Listening on LPF/eth1/02:00:00:00:0f:10/128.0.2.0/24
Sending on LPF/eth1/02:00:00:00:0f:10/128.0.2.0/24
Sending on Socket/fallback/fallback-net
root@mwam-9#
Multiprocessor WAN Application Module User Guide
OL-4858-07
6-25
Command Details
show images
To list the images stored on the MWAM, use the show images command available at the PC complex
(processor 1 on the MWAM).
show images
Syntax DescriptionThis command has no arguments or keywords.
DefaultsThere are no default behavior or values.
Command ModesPC command
Chapter 6 Command Reference
Command History
ReleaseModification
12.(9)ZAThis command was introduced.
Usage GuidelinesUse this command to list the image names on the MWAM.
NoteYou must first establish a session to processor 1 (session slot command).
ExamplesThe following example illustrates the show images command:
root@mwam-9#show images
Device namePartition#Image name
------------------------------Compact flash(cf)6SIMPSON_RAM.bin
Version Information:
Compiled Tue 19-Aug-03 13:35 by dchih
Compact flash(cf)6svcmwam-js-mz.geo_t_040121
Version Information:
Compiled Wed 21-Jan-04 02:34 by $
AP software is c6svcmwam-js-mz.geo_t_040121.2-1-0-3b.6cpu.bin
root@mwam-9#
6-26
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
restore
To restore the previously loaded IOS image and ROM-Monitor image, use the restore command
available at the PC complex (processor 1 on the MWAM).
restore
Syntax DescriptionThis command has no arguments or keywords.
DefaultsThere are no default behavior or values.
Command ModesPC command
Command Details
Command History
ReleaseModification
12.3(5a)BThis command was introduced.
Usage GuidelinesUse this command to restore the previously loaded IOS image on the MWAM. You must then reload the
MWAM or the individual processors to activate the image. You can revert to the previous image only if
you have not rebooted/recycled the MWAM.
NoteYou must first establish a session to processor 1 (session slot command).
ExamplesThe following example illustrates the restore command:
To display general information about the MWAM and its processors when it reports a problem, use the
show tech-support command available at the PC complex (processor 1 on the MWAM).
show tech-support
Syntax DescriptionThis command has no arguments or keywords.
DefaultsThere are no default behavior or values.
Command ModesPC command
Chapter 6 Command Reference
Command History
ReleaseModification
12.(9)ZAThis command was introduced.
Usage GuidelinesThe show tech-support command from the PC displays the output of a number of show commands. The
show tech-support command is useful for collecting a large amount of information for troubleshooting
purposes. The output of this command can be provided to technical support representatives when
reporting a problem.
NoteYou must first establish a session to processor 1 (session slot command).
ExamplesThe following example illustrates the show tech-support command:
root@mwam-4# show tech-support
-------------------------- show version --------------------------
SVCMWAM Image version 2.1(1.0)
Mon Feb 23 01:29:45 EST 2004
Copyright (c) 2002-2003, 2004 by cisco Systems, Inc.
All rights reserved.
~snipped~
6-28
Multiprocessor WAN Application Module User Guide
OL-4858-07
Chapter 6 Command Reference
show version
To display information about the currently loaded software version along with hardware and device
information, use the show version command available at the PC complex (processor 1 on the MWAM).
show version
Syntax DescriptionThis command has no arguments or keywords.
DefaultsThere are no default behavior or values.
Command ModesPC command
Command Details
Command History
ReleaseModification
12.(9)ZAThis command was introduced.
Usage GuidelinesThe show version command from the PC displays information about the software version currently
running on the MWAM.
NoteYou must first establish a session to processor 1 (session slot command).
ExamplesThe following example illustrates the show version command:
root@mwam-4# show version
SVCMWAM Image version 2.1(1.0)
Mon Feb 23 01:29:45 EST 2004
Copyright (c) 2002-2003, 2004 by cisco Systems, Inc.
All rights reserved.
AP software is c6svc-5mwam-g4js-bf21_10.123-7.T1
AP software is based upon Maintenance image version: 3.1(0.2)
IOS Software is svcmwam-g4js-mz.123-7.T1
5 Processor Configuration
Line Card Number :WS-SVC-MWAM-1
Number of Pentium-class Processors : 1
BIOS Vendor: Phoenix Technologies Ltd.
BIOS Version: 4.0-Rel 6.0.4
Total available memory: 500 MB
Size of compact flash: 122 MB
OL-4858-07
root@mwam-4#
Multiprocessor WAN Application Module User Guide
6-29
Command Details
mwam config-mode
To set the MWAM configuration file storage mode, use the mwam config-mode command in privileged
EXEC mode from the MWAM console.
mwam config-mode {local | supervisor}
Chapter 6 Command Reference
Syntax Description
mwam config-modeSets the MWAM configuration file storage mode.
localStores configuration files locally in NVRAM of the MWAM processor.
supervisorStores configuration files in the Supervisor bootflash.
DefaultsDefault setting depends on the contents of NVRAM. If NVRAM contains no startup-config file, the
default setting is Supervisor mode. If the NVRAM contains a startup-config file, the default setting is
local mode.
Command ModesPrivileged EXEC
Command History
ReleaseModification
12.3(1a)BWThis command was introduced.
Usage GuidelinesUse this command when you want to set the MWAM configuration file storage mode. You must first
enable MWAMaccess to the Supervisor bootflash with the mwam bootflash access command from the
Supervisor console.
CautionIf you are operating in the Supervisor mode in a chassis that does not have redundant Supervisor
modules, back up both the startup-config file of the Supervisor module and all SLOT*PC*.cfg files on
the bootflash device. Failure to take this precaution could result in the loss of all MWAM configurations,
along with the Supervisor configuration.
ExamplesThe following examples illustrate the mwam config-mode command:
mwam-6-4# mwam config-mode local
Building configuration...
[OK]
Successfully changed mode: mwam config-mode local
mwam-6-4# mwam config-mode supervisor
Writing bootflash:SLOT6PC4.cfg
Config uploaded to supervisor in slot 1
To show the MWAM configuration file storage mode, use the show mwam config-mode command in
privileged EXEC mode.
show mwam config-mode
Command Details
Syntax Description
show mwam
Displays the MWAM configuration file storage mode.
config-mode
DefaultsThere are no default behavior or values.
Command ModesPrivileged EXEC
Command History
ReleaseModification
12.3(1a)BWThis command was introduced.
Usage GuidelinesUse this command when you want to display the current file storage mode for MWAM configuration
files.
ExamplesThe following examples illustrate the show mwam config-mode command:
mwam-6-4# show mwam config-mode
mwam config-mode local
OL-4858-07
mwam-6-6# show mwam config-mode
mwam config-mode supervisor
Multiprocessor WAN Application Module User Guide
6-31
Command Details
logging main-cpu
To configureMWAM log redirection to the Supervisor for all events up to a maximum specified log level,
use the logging main-cpu command in global configuration mode. Toremovethis configuration,use the
no form of the command.
Chapter 6 Command Reference
logging main-cpu udp_port [log_level][ip_addr]
no logging main-cpu udp_port [log_level][ip_addr]
Syntax Description
udp_portSpecifies the UDP port on the MWAM for sending logs to the Supervisor.
A UDP port must be defined at both the Supervisor and the MWAM, and the
ports must match.
The port range is 4000-10000. The port must be divisible by 100.
log_level(Optional) Limits the logging of messages displayed on the console
terminal to a specifiedlevel (e.g., if log_level is critical, then emergencies,
alerts, and critical events are sent). You can enter the level number or name.
• emergencies (severity level 0)—system is unusable
ip_addr(Optional) Specifies an IP address for traffic flow through the switching
fabric instead of the EOBC. You can use this option to direct traffic on a
dedicated management VLAN.
DefaultsDefault value for the log level is errors (3).
Command ModesGlobal configuration.
Command History
ReleaseModification
12.3(1a)BWThis command was introduced.
Usage GuidelinesUse this command to specify the MWAM UDP port for sending MWAM logs to the Supervisor. Use the
logging listen mwam command from the Supervisor console to enable MWAM log input to the
Supervisor. Ensure that the UDP ports defined at both the Supervisor and MWAM are the same.
Multiprocessor WAN Application Module User Guide
6-32
OL-4858-07
Chapter 6 Command Reference
When selecting the UDP port for an MWAM processor, you are defining a base UDP port used at the
Supervisor. Two additional source ports, based on the selected port, are then automatically defined.
For example, on the Supervisor you have configured the following:
logging listen mwam 10000
On the MWAM, you have configured processor 2 as follows:
logging main-cpu 10000 emergencies 99.99.99.99
The Supervisor listens on port 10000 and uses this port as its base UDP port. Ports 10002 and 10012
are automatically defined for traffic streams. On MWAM processor 3, the defined ports would be 10003
and 10013. The port numbering pattern for the additional ports is shown here:
The port numbering pattern is important if you are configuringother UDP ports on either the Supervisor
or the MWAM processor.
ExamplesThe following example enables the remote console and logging feature for an MWAM processor and
specifies UDP port 10000 to match the port designated on the Supervisor. There is no logging default
value; therefore, this command only enables the console portion of the feature.
mwam-6-4(config)#logging main-cpu 10000
The following example enables logging messages up to level 7 (debug) to be sent to the Supervisor
module. Specifying the logging level is required to direct the logging messages to the Supervisor.
mwam-6-4(config)#logging main-cpu 10000 debug
The following example includes the IP address to direct logging and console messages to the Catalyst
switching fabric. This can be used by service providers that define a management VLAN between the
Supervisor and each MWAM processor.