Info-Center Diagnostic-Logfile Directory; Info-Center Diagnostic-Logfile Enable - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

undo enable log updown
Default
All interfaces are allowed to generate link up and link down logs.
Views
Interface view
Predefined user roles
network-admin
Examples
# Disable GigabitEthernet 1/0/1 from generating link up or link down logs.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo enable log updown

info-center diagnostic-logfile directory

Use info-center diagnostic-logfile directory to configure the directory to save the diagnostic log
file.
Syntax
info-center diagnostic-logfile directory dir-name
Default
The diagnostic log file directory is flash:/diagfile.
Views
System view
Predefined user roles
network-admin
Parameters
dir-name: Specifies a directory by its name, a string of 1 to 64 characters.
Usage guidelines
The specified directory must have been created.
This command cannot survive an IRF reboot or a master/subordinate switchover.
Examples
# Set the diagnostic log file directory to flash:/test.
<Sysname> mkdir test
Creating directory flash:/test... Done.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile directory flash:/test

info-center diagnostic-logfile enable

Use info-center diagnostic-logfile enable to enable saving diagnostic logs to the diagnostic log
file.
Use undo info-center diagnostic-logfile enable to disable saving diagnostic logs to the diagnostic
log file.
332

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents