Cisco Systems OL-4858-07 manual Logging main-cpu, Global configuration

Page 32

Chapter 6 Command Reference

Command Details

logging main-cpu

To configure MWAM log redirection to the Supervisor for all events up to a maximum specified log level, use the logging main-cpucommand in global configuration mode. To remove this configuration, use the no form of the command.

logging main-cpuudp_port [log_level] [ip_addr]

no logging main-cpuudp_port [log_level] [ip_addr]

Syntax Description

 

udp_port

Specifies 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 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

 

 

 

alerts (severity level 1)— immediate action required

 

 

 

critical (severity level 2)—critical condition

 

 

 

errors (severity level 3)—error condition

 

 

 

warnings (severity level 4)—warning condition

 

 

 

notifications (severity level 5)—normal but significant condition

 

 

 

informational (severity level 6)—informational message

 

 

 

debugging (severity level 7)—debug messages

 

 

 

 

 

 

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.

 

 

 

 

 

Default value for the log level is errors (3).

Defaults

 

Command Modes

Command History

Global configuration.

ReleaseModification

12.3(1a)BW

This command was introduced.

 

 

Usage Guidelines Use 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

 

 

Image 32
Contents Command Reference Following commands are available at the Supervisor consoleProcessor Control Commands Following commands are available at the Mwam consoleCommand Modes Command History Global configurationMwam module allowed-vlan ReleaseModificationMwam Module Port Vlan-based Mwam module vlan-basedModule Port Vlan-based Exec mode 12.29ZA This command was introducedSession slot Usage Guidelines2003 Following example illustrates the show mwam module command Show mwam moduleSup-7606#sho mwam mod 7 port 1 state Sup-7606#sho mwam mod 7 port 1 trafficSup-7606#sho mwam mod 7 port 3 state Multiprocessor WAN Application Module User Guide OL-4858-07 Mwam bootflash access Defaults Command Modes Command HistoryConfiguration Sup-7606config#mwam bootflash accessSyntax Description Defaults There are no default behavior or valuesOn the MWAM, you have configured processor 2 as follows Logging listen mwamMwam Processor Base UDP Port 40-10000Additional UDP Port 40-10002 40-10003 40-10004 40-10005 40-10006Defaults Command Modes Command History Usage Guidelines There are no default behavior or values Privileged ExecExecute-on Release ModificationSlot Connection, use the show line linenumber commandSup-7600#execute-on 5 2 log show running-config Sup-7600config#mwam module all cpu all logging error Mwam module cpu loggingSup-7600config#mwam module 5 cpu 2 logging debug Show logging Release ModificationCommand Reference Command Details Clear logging slot Router# clear logging slot 6 countsShow processor Counter DescriptionRoot@mwam-9# Shows the upgrade log Following examples illustrate the show log commandShow log Shows the Mwam and process restart logReload Recover-ios Root@mwam-9#recover-iosNormal-ios 12.9ZA This command was introducedFollowing example illustrates the normal-ioscommand Show images Use this command to list the image names on the MwamFollowing example illustrates the show images command Restore Following example illustrates the restore commandReporting a problem Following example illustrates the show tech-supportcommandShow tech-support Root@mwam-4#show tech-supportShow version Mwam config-mode Local mode12.31aBW This command was introduced Syntax DescriptionShow mwam config-mode Show Mwam Config-modeLogging main-cpu Mwam-6-4config#logging main-cpu Mwam-6-4config#logging main-cpu 10000 debugFollowing examples illustrate the show mwam command Show mwam0x214800000x214FFFFF 0x0014800000x0014FFFFF OL-4858-07