Parameter | Description | Value |
---|---|---|
channel-number | Specifies the number of a channel. |
The value is an integer that ranges from 0 to 9. That is, the system has 10 channels. Channels 0 to 5 have default names and the six channels map to six different output directions. Table 1 shows the relationship between channels and output directions. |
channel-name | Specifies the name of a channel. |
The value is a string of 1 to 30 case-insensitive characters. The value consists of letters or numbers and must start with a letter. |
Channel Number |
Default Channel Name |
Output Direction |
Description |
---|---|---|---|
0 |
console |
console |
Console that can receive logs, traps, and debugging messages. |
1 |
monitor |
monitor |
VTY terminal that can receive logs, traps, and debugging messages, which facilitates remote maintenance. |
2 |
loghost |
loghost |
Log host that can receive. By default, information is saved on the log host in file format for easy reference. |
3 |
trapbuffer |
trapbuffer |
Trap buffer that can receive traps. |
4 |
logbuffer |
logbuffer |
Log buffer that can receive logs. |
5 |
snmpagent |
snmpagent |
SNMP agent that can receive traps. |
6 |
channel6 |
Unspecified |
Reserved. You can specify to which destination this channel can output information. |
7 |
channel7 |
Unspecified |
Reserved. You can specify to which destination this channel can output information. |
8 |
channel8 |
Unspecified |
Reserved. You can specify to which destination this channel can output information. |
9 |
channel9 |
Unspecified |
Reserved. You can specify to which destination this channel can output information. |
The display channel command displays the channel configuration.
When using this command, note the following points:
# Display the configuration of channel 0.
<HUAWEI> display channel 0
channel number:0, channel name:console
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y warning Y debugging Y debugging
# Display the configuration of all channels.
<HUAWEI> display channel
channel number:0, channel name:console
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y warning Y debugging Y debugging
channel number:1, channel name:monitor
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y warning Y debugging Y debugging
channel number:2, channel name:loghost
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y informational Y debugging N debugging
channel number:3, channel name:trapbuffer
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default N informational Y debugging N debugging
channel number:4, channel name:logbuffer
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y warning N debugging N debugging
channel number:5, channel name:snmpagent
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default N debugging Y debugging N debugging
channel number:6, channel name:channel6
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y debugging Y debugging N debugging
channel number:7, channel name:channel7
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y debugging Y debugging N debugging
channel number:8, channel name:channel8
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y debugging Y debugging N debugging
channel number:9, channel name:channel9
MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y debugging Y debugging N debugging
Item |
Description |
---|---|
channel number |
Channel number, which ranges from 0 to 9. |
channel name |
Channel name. Table 1 lists default channel names. To set the channel name, run the info-center channel name command. |
MODU_ID |
Module ID. The default value is ffff0000. |
NAME |
Module name. The default value is default. To set the module name, run the info-center source channel command. |
ENABLE |
Whether logs/traps/debugging messages are allowed to pass through a channel:
To specify the channel, run the info-center source channel command. |
LOG_LEVEL/TRAP_LEVEL/DEBUG_LEVEL |
Lowest severity of output logs/traps/debugging messages. The following severities are listed in descending order of priority:
To set the lowest severity of output logs, run the info-center source channel command. |