R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

288
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.
The configuration made by this command cannot survive a system restart.
A local user can use this command only after being authorized as the security log administrator by the
system administrator through the authorization-attribute user-role security-audit command. For more
information about the authorization-attribute command, see Security Command Reference.
The following matrix shows the command and router compatibility:
Command MSR900 MSR93X MSR20-1X
MSR20
MSR30 MSR50 MSR1000
info-center
security-logfile
switch-directory
Yes. Yes. No. Yes. Yes. Yes. No.
Examples
# Set the directory to save the security log file to flash:/test.
<Sysname> mkdir test
%Created dir flash:/test.
<Sysname> info-center security-logfile switch-directory flash:/test
info-center snmp channel
Use info-center snmp channel to configure the SNMP output channel. The system uses this channel to
output information to the SNMP module.
Use undo info-center snmp channel to restore the default SNMP output channel.
Syntax
info-center snmp channel { channel-number | channel-name }
undo info-center snmp channel
Default
The system outputs information to the SNMP module through channel 5 (snmpagent).
Views
System view
Default command level
2: System level
Parameters
channel-number: Specifies a channel by its number in the range of 0 to 9.
channel-name: Specifies a channel by its name, a default name or a self-defined name. For information
about how to a channel name, see the info-center channel name command.