Cisco Systems OL-4858-07 User Manual

Command Reference
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.
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
Defaults There are no default behavior or values.
Command Modes Global configuration.
Command History
Usage Guidelines Each processor is connected to the backplane (i.e., switch fabric) through an Ethernet port connection.
slot_number Specifies the slot that the module is plugged into.
port port_number Specifies 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-list Configures the appropriate VLANs for this port.
Release Modification
12.2(9)ZA This 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.
Examples The 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_number Specifies the slot that the module is plugged into. port_number Specifies one of three switch fabric interface ports (1-3) that connect the
Supervisor module to the MWAM.
Defaults There are no default behavior or values.
Command Modes Global configuration.
Command History
Release Modification
12.2(14)ZA7 This command was introduced.
Usage Guidelines Use 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.
Examples The 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.
session slot slot_number processor processor_number
Syntax Description
slot_number Specifies the slot that the MWAM is plugged into.
processor
processor_number
Specifies the MWAM processor (1-6) to connect to.
Note Only MWAM processors 2-6 contain application images; MWAM
processor 1 provides control commands for MWAM processors and complexes.
Defaults There are no default behavior or values.
Command Modes EXEC mode.
Command History
Release Modification
12.2(9)ZA This command was introduced.
Usage Guidelines When you session into processor 1, you must enter the user name (root) and password (cisco).
Examples The 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_number Displays the slot that the module is plugged into.
port port_number Displays the actual port number (1-3) used to connect to a processor
complex within an MWAM (Figure 1-1).
state Displays the interface status. traffic Displays the interface statistics.
Defaults There are no default behavior or values.
Command Modes EXEC mode.
Command History
Release Modification
12.2(9)ZA This command was introduced.
Examples The 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

Note The 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
Defaults MWAM bootflash access is enabled by default. To disable access, issue no mwam bootflash access.
Command Modes Configuration
Command History
Release Modification
12.2(14)ZA4 This command was introduced.
Usage Guidelines Use the no form of this command to disable MWAM access to the Supervisor bootflash.
Examples The 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_port Specifies 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).
Defaults There are no default behavior or values.
Command Modes Global configuration.
Command History
Release Modification
12.2(14)ZA4 This command was introduced.
Usage Guidelines Use 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:
Multiprocessor WAN Application Module User Guide
6-11
Loading...
+ 25 hidden pages