Terminal Debugging - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

mdc-admin
Usage guidelines
This command enables the device to send an SNMP notification for each log message it outputs.
The device encapsulates logs in SNMP notifications and then sends them to the SNMP module and
the log trap buffer.
For the SNMP module to send the received SNMP notifications correctly, you must also configure
SNMP on the device. For more information about SNMP configuration, see the network
management and monitoring configuration guide for the device.
To view the traps in the log trap buffer, access the MIB corresponding to the log trap buffer. The log
trap buffer size can be set by using the info-center syslog trap buffersize command.
Examples
# Enable the device to send SNMP notifications for log messages.
<Sysname> system-view
[Sysname] snmp-agent trap enable syslog
Related commands
info-center syslog trap buffersize

terminal debugging

Use terminal debugging to enable display of debug information on the current terminal.
Use undo terminal debugging to disable display of debug information on the current terminal.
Syntax
terminal debugging
undo terminal debugging
Default
Display of debug information is disabled on the current terminal.
Views
User view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
To enable display of debug information on the console, perform the following tasks:
1.
Execute the terminal debugging command.
2.
Enable the information center. The information center is enabled by default.
3.
Use a debugging command to enable the related debugging.
To enable display of debug information on the current terminal, perform the following tasks:
4.
Execute the terminal monitor and terminal debugging commands.
5.
Enable the information center. The information center is enabled by default.
6.
Use a debugging command to enable the related debugging.
This command takes effect only for the current connection between the terminal and the device. If a
new connection is established, the default is restored.
407

Advertisement

Table of Contents
loading

Table of Contents