Guest

Cisco UCS Manager

Enable and Disable Debug on Cisco UCS

Document ID: 110861



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
Configure
      Network Diagram
      How to Enable and Disable Debug on a Cisco UCS
Verify
Troubleshoot
Related Information

Introduction

This document describes how to enable and disable debug on a Cisco Unified Computing System (UCS).

Prerequisites

Requirements

Cisco recommends that you:

  • Have a working knowledge of Cisco UCS Server Blade software and hardware.

  • Be familiar with the UCS manager GUI.

  • Understand the impact and implications of the different commands described in this document.

  • Be familiar with the UCS components and topology.

Components Used

The information in this document is based on Cisco UCS.

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a default configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

Refer to the Cisco Technical Tips Conventions for more information on document conventions.

Configure

Note: Use the Command Lookup Tool (registered customers only) in order to obtain more information on the commands used in this section.

Network Diagram

A typical Cisco UCS topology looks something like this:

upgrade-ucs-blade.gif

How to Enable and Disable Debug on a Cisco UCS

Complete these steps:

  1. Log into Cisco UCS Manager through CLI.

  2. Connect to "NXOS" mode.

  3. Enable term mon in order to pipe debug display to console port.

  4. Enable the desired debug option.

  5. After the debug is done, disable debug all.

  6. Turn off the display to console port.

How to Enable and Disable Debug on a Cisco UCS



 ! Steps 1 & 2.   Enter "nxos" mode.

Power-A#
Power-A# connect nxos
Cisco UCS 6100 Series Fabric Interconnect

TAC support: http://www.cisco.com/tac

Copyright (c) 2009, Cisco Systems, Inc. All rights reserved.

The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software may be covered under the GNU Public
License or the GNU Lesser General Public License. A copy of
each such license is available at
http://www.gnu.org/licenses/gpl.html and
http://www.gnu.org/licenses/lgpl.html
Power-A(nxos)#



 ! Step 3.   Check available debug option and pipe debug display to console

Power-A(nxos)#
Power-A(nxos)# term mon
Power-A(nxos)# debug ?
  aaa             Enable debugging for aaa
  aclmgr          Configure aclmgr debug
  adjmgr          Adjacency Manager events
  afm             Configure afm debug
  all             Enable all debugging
  altos           Configure altos debugging
  biosd           Configure bios_daemon debugging
  bootvar         Enable bootvar debugging
  callhome        Enable debugging for Callhome
  cdp             Configure CDP debugging
  cert-enroll     Configure debugging for cert enroll daemon
  cli             debug cli
-- More --



 ! Step 4.   Supposed we want to enable debug on "port-channel" feature

Power-A(nxos)# debug port-channel ?
  all      Configure all debug flags of port-channel
  demux    Configure debugging of port-channel message
  deque    Configure debugging of port-channel message dequeue
  error    Configure debugging of port-channel error
  event    Configure debugging of port-channel FSM and Events
  ha       Configure debugging of port-channel HA
  trace    Configure debugging of port-channel trace
  warning  Configure debugging of port-channel warning

Power-A(nxos)# debug port-channel all
Power-A(nxos)# 2009 Aug 28 04:45:30.265303 port-channel:
2009 Aug 28 04:45:30.265426 port-channel: fu_fsm_execute_all: null fsm_event_list
2009 Aug 28 04:45:30.265517 port-channel: fu_fsm_engine_post_event_processing:
2009 Aug 28 04:45:32.740302 port-channel: fu_priority_select:
2009 Aug 28 04:45:32.740369 port-channel: fu_priority_select_select_queue: round credit(6)
2009 Aug 28 04:45:32.740406 port-channel:     curr_q - FU_PSEL_Q_CAT_CQ, 
2009 Aug 28 04:45:32.740443 port-channel: fu_priority_select: returning 
2009 Aug 28 04:45:32.740569 port-channel: pcm_get_data_from_queue(1013): (1013):
2009 Aug 28 04:45:32.740615 port-channel: fu_fsm_engine: line[2297]



 ! Steps 5 & 6.   Disable all debug running, and disable "term mon" 

Power-A(nxos)# undebug all
Power-A(nxos)# 2009 Aug 28 04:45:46.270338 port-channel: fu_priority_select:

Power-A(nxos)# term no mon
Power-A(nxos)# exit
Power-A#

Verify

Use the previous section to confirm that your configuration works properly.

Troubleshoot

There is currently no specific troubleshooting information available for this configuration.


Related Information



Updated: Sep 10, 2009 Document ID: 110861