No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display channel

display channel

Function

The display channel command displays the channel configuration.

Format

display channel [ channel-number | channel-name ]

Parameters

Parameter Description Value
channel-number

Specifies the number of a channel.

The value is an integer than 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 4-19 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-sensitive characters. The value consists of letters or numbers and must start with a letter.
Table 4-19  Relationship between channel and output directions

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 logs, traps, and debugging messages. 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

logfile

Log file that can receive logs, traps, and debugging messages. Information is saved to the USB flash drive or SD card in file format.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display channel command displays the channel configuration.

When using this command, note the following points:

  • When channel-number or channel-name is specified, the display channel command displays the specified channel that information passes through and information severity.
  • When channel-number or channel-name is not specified, the display channel command displays all the channels that information passes through and information severity.

Example

# 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    
Table 4-20  Description of the display channel command output

Item

Description

channel number

Channel number, which ranges from 0 to 9.

channel name

Channel name. Table 4-19 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:
  • Y
  • N

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:
  • emergencies

  • alert

  • critical

  • error

  • warning

  • notification

  • informational

  • debugging

To set the lowest severity of output logs, run the info-center source channel command.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 90736

Downloads: 61

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next