Cisco Systems SMNMADPTR manual Configuring Logging Options and Generating Diagnostics

Page 51

Configuring the NME-NAM-120S For Network Connectivity

Table 4

Common Verification and Troubleshooting Commands (continued)

 

 

 

Configuration Mode

Command

Purpose

 

 

 

 

Router#

 

show version

Displays information about the loaded

 

 

 

router, software or network module

 

 

 

bootloader version, and also hardware

 

 

 

and device information.

 

 

 

 

Router#

 

test scp ping

Pings the network module to check

 

 

 

network connectivity.

 

 

 

 

Router#

 

verify

Displays version information for installed

 

 

 

hardware and software.

 

 

 

 

SE-Module>

 

ping

Pings a specified IP address to check

 

 

 

network connectivity (does not accept a

 

 

 

hostname as destination).

 

 

 

 

Configuring Logging Options and Generating Diagnostics

To configure logging options for NME-NAM-120S, use commands as needed from the list of common network module commands shown in Table 5 and Table 6.

Note Some keyword options for many of the log and trace commands is provision to display diagnostic output on your screen or to pipe it to a file or a URL.

 

 

Table 5

Common Syslog Commands

 

 

 

 

 

 

 

 

 

 

 

Configuration Mode

Command

Purpose

 

 

 

 

 

 

 

 

Router#

 

show log

Displays the contents of the specified log.

 

 

 

 

 

 

 

 

 

 

copy log

Saves the syslog to a destination of your

 

 

 

 

 

choice.

 

 

 

 

 

 

 

 

 

 

show log

Displays the contents of the specified log.

 

 

 

 

 

 

 

 

 

 

show logs

Displays a list of available log files.

 

 

 

 

 

 

 

 

 

 

 

Table 6

Common Trace Commands

 

 

 

 

 

 

 

 

 

 

 

Configuration Mode

Command

Purpose

 

 

 

 

 

 

 

 

 

 

clear trace

Clears logged trace events for specified

 

 

 

 

 

modules.

 

 

 

 

 

 

 

 

 

 

log trace

Logs configured traces to the network

 

 

 

 

 

module (can be done locally or remotely).

 

 

 

 

 

 

 

 

 

 

no trace

Disables tracing for specified modules,

 

 

 

 

 

entities, or activities.

 

 

 

 

 

 

 

 

 

 

show errors

Displays error statistics by module,

 

 

 

 

 

entity, or activity.

 

 

 

 

 

 

 

 

 

 

show trace

Displays trace settings.

 

 

 

 

 

 

 

 

 

 

Cisco Branch Routers Series Network Analysis Module (NME-NAM-120S) Installation and Configuration Note, 4.0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-14942-02

 

 

 

 

51

 

 

 

 

 

 

 

Image 51
Contents Description Series multi-services and integrated services routersPrerequisites for NME-NAM-120S ContentsRouter Platform IOS Version Minimum Required? Network ModulesFile Server Upgrade or DowngradeConfiguration Restrictions for the NME-NAM-120SMonitoring Traffic Through Internal Interface NAM SoftwareGateway router Hardware InterfacesIp unnumbered type number How to Install, Upgrade, or Downgrade NME-NAM-120SSetting Up Network Module Interfaces From the Host-Router CLICommand or Action Purpose Using the commands ip interface internal and ip addressExample Examples Using the commands ip interface external and ip addressOpening a Session You can conduct only one session at a timeFrom the Router CLI From the Router prompt Closing a SessionUse the following steps to close a session Control-Shift-6Prerequisites Upgrading or Reinstalling NAM SoftwareTypes of NAM Software Upgrades NAM Software ImagesUpgrading the NME-NAM-120S Application Image Full Image From the Service-Module InterfaceConfigure Show config Boot helper Boot compactflashSession into the NME-NAM-120S console Locate the following fileOptional Verify your bootloader configuration settings Enter boot helperEnter boot flash Upgrading the NAM Application Image Patch Upgrading the NAM Helper Image NAM CLI Download and save the NAM helper image to the NAM Exit the NAM CLI prompt and get to the NAM loginBecause the exit command closes the session FTP server must be reachable from NAM CLIUpgrading the NAM Helper Image This section describes how to upgrade the NAM helper imageFrom the Router Enable exec Mode Prompt From the Service Module InterfaceAddress, NAM default gateway Reboot the NAMBreak to the NAM bootloader prompt Configure the bootloader to loadDownload helper image from FTP server Configuring the NME-NAM-120S for ManagementReboot the NAM. By default the NAM will Boot to the NAM application imageFor the integrated-service-engine Enter IOS exec modeEnter IOS configuration from terminal Enter IOS interface configuration modeSetup a full 32-bit static route for Exit the router configuration modeNAM management address Callout Interface Location Router Configuration Cisco IOS SoftwareNAM Configuration NAM Software Bring up the integrated-service-engine Enter the IOS interface configuration modeFor the integrated-service-engine interface Integrated-service-engine interfaceRouter Configuration Cisco IOS Software Configuring the External Interface for Management Exit from interface configuration mode Enter IOS exec modeEnter IOS configuration from terminal Enable the loopback interfaceAddress Setup the NAM default gatewayCallout Interface Location Login authentication list-name End Show running-config Disabling AAA Login Authentication on the NAM Console LineCreates a local authentication list Enables privileged Exec modeEnter your password if prompted Enters global configuration modeShow ip Ip interface internal externalOptional Enables outside logins Configures the NAM system IP addressOptional Configures the NAM system broadcast address Configures the NAM system default gateway addressThis section provides the following examples Configuring the NME-NAM-120SChecking Network Connectivity with Ping Sample Output for the show ip NAM CLI CommandEnabling NAM Packet Monitoring What to Do NextEnable Configure terminal Ip cef End Show running-configAnalysis-module monitoring This section provides the following example Verify that you enabled the Cisco Express ForwardingSwitching path and enabled packet monitoring on Correct interfacesIp http server enable or Ip http secure server enable Enabling and Accessing the NAM Traffic AnalyzerOpen a Telnet or SSH session to the NAM. See Enables the Http serverEnables the Http secure server HTTPs Enter a password Configures a password for the web usernameEnabling the NAM Traffic Analyzer Accessing the NAM Traffic AnalyzerPassword root Changing the NAM Root PasswordVerifying the NAM Root Password Resetting the NAM Root Password to the Default ValueTroubleshooting Tips Changing the NAM Root PasswordReloads the software on Enables privileged Exec modeEnter your password if prompted Opening and Closing a Telnet or SSH Session to the NAMTelnet Prerequisites SSH PrerequisitesExit Logout Leaves a subcommand mode Return to command modeTo the NAM and return to the Cisco IOS CLI, complete Shutting Down and Starting Up NME-NAM-120S Managing the NME-NAM-120SConfiguration Mode Command Purpose Verifying System Status Configuring Logging Options and Generating Diagnostics Trace Additional ReferencesShow trace buffer Show trace storeRFCs Title MIBsRFCs MIBs MIBs LinkFeature Information for Network Analysis Module Technical AssistanceDescription Link Glossary NetFlow Service engineService or services Engine Service moduleSyslog TelnetVoIP OL-14942-02