As shown in Figure 1, the PC connects to SwitchA through a console interface. It is required that debugging messages of the ARP module be displayed on the PC.
The configuration roadmap is as follows:
Enable the information center.
Configure a channel and a rule for outputting debugging messages to the console so that the console can receive debugging messages generated by SwitchA.
Enable terminal display so that users can use the terminal to view debugging messages generated by SwitchA.
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] info-center enable
# Configure a channel for outputting debugging messages to the console.
[SwitchA] info-center console channel console
# Configure a rule for outputting debugging messages to the console.
[SwitchA] info-center source arp channel console debug level debugging state on [SwitchA] quit
<SwitchA> terminal monitor <SwitchA> terminal debugging
<SwitchA> debugging arp packet
# View debugging message output.
<SwitchA> 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
416e0000 ARP Y warning Y debugging Y debugging