Cisco Systems OL-4858-07 manual Logging listen mwam, Syntax Description Defaults

Page 11

Chapter 6 Command Reference

Command Details

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

Syntax Description

Defaults

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).

 

 

There are no default behavior or values.

Command Modes

Command History

Global configuration.

ReleaseModification

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

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

 

OL-4858-07

6-11

 

 

 

Image 11
Contents Following commands are available at the Supervisor console Command ReferenceFollowing commands are available at the Mwam console Processor Control CommandsReleaseModification Command Modes Command HistoryGlobal configuration Mwam module allowed-vlanMwam Module Port Vlan-based Mwam module vlan-basedModule Port Vlan-based Usage Guidelines Exec mode12.29ZA This command was introduced Session slot2003 Sup-7606#sho mwam mod 7 port 1 traffic Following example illustrates the show mwam module commandShow mwam module Sup-7606#sho mwam mod 7 port 1 stateSup-7606#sho mwam mod 7 port 3 state Multiprocessor WAN Application Module User Guide OL-4858-07 Sup-7606config#mwam bootflash access Mwam bootflash accessDefaults Command Modes Command History ConfigurationLogging listen mwam Syntax Description DefaultsThere are no default behavior or values On the MWAM, you have configured processor 2 as follows40-10002 40-10003 40-10004 40-10005 40-10006 Mwam Processor Base UDP Port40-10000 Additional UDP PortRelease Modification Defaults Command Modes Command History Usage GuidelinesThere are no default behavior or values Privileged Exec Execute-onSlot Connection, use the show line linenumber commandSup-7600#execute-on 5 2 log show running-config Mwam module cpu logging Sup-7600config#mwam module all cpu all logging errorSup-7600config#mwam module 5 cpu 2 logging debug Release Modification Show loggingCommand Reference Command Details Router# clear logging slot 6 counts Clear logging slotCounter Description Show processorRoot@mwam-9# Shows the Mwam and process restart log Shows the upgrade logFollowing examples illustrate the show log command Show logReload Root@mwam-9#recover-ios 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 Following example illustrates the restore command RestoreRoot@mwam-4#show tech-support Reporting a problemFollowing example illustrates the show tech-supportcommand Show tech-supportShow version Syntax Description Mwam config-modeLocal mode 12.31aBW This command was introducedShow Mwam Config-mode Show mwam config-modeLogging main-cpu Mwam-6-4config#logging main-cpu 10000 debug Mwam-6-4config#logging main-cpuShow mwam Following examples illustrate the show mwam command0x214800000x214FFFFF 0x0014800000x0014FFFFF OL-4858-07