packets going through the network and loopback and header information. Log messages are
written to the
/var/adm/nettl.LOG000
file. To format and view the contents of this file, enter
the following command:
# netfmt -v -f /var/adm/nettl.LOG000 | more
Look for
Error
and
Disaster
messages.
APA also supports the logging of status messages to the
syslog.log
file. See
“Logging messages
to the syslog.log file” (page 43)
for information on enabling this feature.
You can access the logging and tracing utility using either the graphical user interface (GUI)
version or the command line interface. The GUI version does the following:
•
Guides you through logging and tracing tasks.
•
Enables you to create and format reports.
•
Collects logging and tracing information specific to a subsystem.
•
Displays report screens that are updated instantaneously with current logging and tracing
information by the subsystem.
•
Provides context-sensitive on-line help.
To access the GUI version of the logging and tracing utility, enter the following command:
nettladm
There are three levels of logging:
•
At link aggregate level
•
At Cisco's FEC level
•
At IEEE 802.3ad LACP level
The following examples show how to perform different tasks from the command line:
•
To turn on all logging at link aggregate level, enter:
nettl -log 0xf -e HP_APA
•
To turn on all logging at Cisco's FEC level, enter:
nettl -log 0xf -e HP_APAPORT
•
To turn on all logging at IEEE 802.3ad level, enter:
nettl -log 0xf -e HP_APALACP
•
To examine the log file with cause and action descriptions, enter:
netfmt -v -f /var/adm/nettl.LOG00 | more
•
To examine just the log messages in the log file, enter:
netfmt -f /var/adm/nettl.LOG00
•
To check network logging and tracing status, enter:
nettl -status
•
To start Cisco's FEC tracing to the file
/tmp/tracefile.TRC0
, enter:
nettl -traceon all -entity HP_APAPORT -file /tmp/tracefile
•
To stop Cisco's FEC tracing, enter:
nettl -traceoff all -entity HP_APAPORT
•
To start LACP tracing to the file
/tmp/tracefile.TRC0
, enter:
nettl -traceon all -entity HP_APALACP -file /tmp/tracefile
82
Troubleshooting HP APA