1-7
Use the
undo info-center channel
command to restore the default name of the channel whose
number is
channel
-
number
.
By default, the name of channel 0 to channel 9 is (in turn)
console
,
monitor
,
loghost
,
trapbuffer
,
logbuffer
,
snmpagent
,
channel6
,
channel7
,
channel8
,
channel9
.
Do not configure two different channels with the same name.
Examples
# Name channel 0 as “execconsole”.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] info-center channel 0 name execconsole
info-center console channel
Syntax
info
-
center console channel
{
channel
-
number |
channel
-
name
}
undo info
-
center console channel
View
System view
Parameters
channel
-
number
: Channel number, ranging from 0 to 9, corresponding to the 10 channels of the system.
channel
-
name
: Channel name, by default, the name of channel 0 to channel 9 is (in turn)
console
,
monitor
,
loghost
,
trapbuffer
,
logbuffer
,
snmpagent
,
channel6
,
channel7
,
channel8
,
channel9
.
Description
Use the
info
-
center console channel
command to set the channel through which information is output
to the console.
Use the
undo info-center console channel
command to restore the default channel through which
system information is output to the console.
By default, output of information to the console is enabled with channel 0 as the default channel (known
as console).
This command works only when the information center is enabled.
Related commands:
info-center enable
and
display info-center
.
Examples
# Configure to output information to the console through channel 0.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] info-center console channel 0