Chapter 9. Debugging And Logging; Introduction; Debugging; Logging To Terminal - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Debugging and Logging

Introduction

AlliedWare Plus
components. This chapter describes how to start/stop debugging and logging.

Debugging

Many protocols have debug commands. Debug commands, when used with the parameters,
log protocol-specific information. For example, using the debug mstp protocol command,
results in the device writing all debugging messages generated by the MSTP algorithm to the
logging system.
On using a debug command, the protocol continues to generate output until the no parameter
is used with the command. Use the log commands in the configure mode to specify where the
debugging output is sent. You can set the logging levels by using parameters with these
commands.

Logging to terminal

To start debugging to the terminal:
Step 1:
Step 2:
awplus> enable
awplus# configure terminal
awplus(config)# debug <protocol> (parameter)
awplus(config)# exit
awplus# terminal monitor
Sample Output
This is a sample output of the debug rsvp events command displayed on the terminal:
awplus#terminal monitor
Dec
10.10.23.60/32 via interface VLAN2
Dec
of type RSVP Reservation from 192.168.0.60 via interface VLAN2
Dec
from 10.10.23.60/32

Turning off debugging

To turn off debugging, use the no debug or undebug command. When a protocol is
specified with the no debug or undebug commands, debugging is stopped for the specified
protocol. To stop all debugging, use the all parameter with these commands.
awplus(config)# no debug bgp events
or
awplus#undebug all
9.2
TM
has a comprehensive debugging and logging facility in various protocols and
Turn on the debug options by using the relevant
Run the
terminal monitor
2 16:41:49 localhost RSVP[6518]: RSVP: RSVP message sent to
2 16:41:57 localhost RSVP[6518]: RSVP: Received an RSVP message
2 16:41:57 localhost RSVP[6518]: RSVP: Received a RESV message
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
debug
command.
command.
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents