
Debugging and Logging
©2008 Allied Telesis Inc. All rights reserved.
9.2
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
Introduction
AlliedWare Plus
TM
has a comprehensive debugging and logging facility in various protocols and
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:
1.
Turn on the debug options by using the relevant
debug
command.
2.
Run the
terminal monitor
command.
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 2 16:41:49 localhost RSVP[6518]: RSVP: RSVP message sent to
10.10.23.60/32 via interface VLAN2
Dec 2 16:41:57 localhost RSVP[6518]: RSVP: Received an RSVP message
of type RSVP Reservation from 192.168.0.60 via interface VLAN2
Dec 2 16:41:57 localhost RSVP[6518]: RSVP: Received a RESV message
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
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......