Troubleshooting for Yamaha router
How to troubleshoot This document describes how to troubleshoot for Yamaha router. - Some points which should be considered before the trouble - What you should do when the trouble happened Before the trouble Set the syslog level Set the syslog server Set the log outputting for each function. In the trouble Get the syslog Get the configuration Get all information of router Set the process to output the syslog to external-memory. 2
~ Before the trouble ~ 3
Syslog Level Level Description Command Default info Brief logs of router operating status are output. syslog info on e.g.) When the IPsec is established 20XX/XX/XX 00:00:00: IP Tunnel[1] Up notice Result of packet filtering function is output. syslog notice off e.g.) When the Packet is rejected by filtering 20XX/XX/XX 00:00:00: PP[1] Rejected at IN(1) ~ debug More detailed information is output than info level. syslog debug off It is not possible to know the cause of the trouble by only info level syslog. The debug level syslog should be configured to prepare the trouble. ## Since the load of processing will be high, you should not set notice level syslog usually. 4
How to set the syslog level by console Command syslog info <SWITCH> syslog notice <SWITCH> syslog debug <SWITCH> syslog host <HOST> 1 2 3 4 1 Enable info level syslog 2 Enable notice level syslog // 1 3 Enable debug level syslog // 2 // 3 4 Set the syslog server. Yamaha router sends the syslog to specified syslog server. // 4 The syslog is recorded also to an internal memory of router. 5
How to set the syslog level by GUI (1) Select [Advanced settings]. 6
How to set the syslog level by GUI (2) Select syslog of product. 7
How to set the syslog level by GUI (3) Select the syslog level. Input the IP address of syslog server, if you want to send the syslog to the server. Click [Submit]. 8
Syslog settings for IPsec (1) Each function has some commands to output more detailed information. These information is output to debug level syslog. Commands regarding to IPsec function: ipsec ike keepalive log <GATEWAY_ID> <SWITCH> 1 ipsec ike log <GATEWAY_ID> <TYPE> <TYPE> <TYPE> 2 // 1 // 2 1 Enable the IKE keepalive log to output to debug level syslog. When IPsec is disconnected, it is possible to know when the keepalive packets are lost. 9 2 Enable the IKE negotiation log to output to debug level syslog. Each parameter is described on next page.
Syslog settings for IPsec (2) Parameter of ipsec ike log command: TYPE payload-info message-info key-info Description Payload information of IKE message is output to syslog. When IPsec is not established, it is possible to know which parameter should be changed, or which option is assigned from opposite. Packet dump of IKE message is output to syslog. When IPsec is not established, it is possible to know whether or not received the management packet correctly, or encrypted packet is encrypted correctly or not. Processing of key calculation of IKE message is output to syslog. This type is for developer side. No need to use this type normally. When above types is configured, many logs are output to syslog. It is not recommended to configure these types normally, and please configure them when you have trouble in IPsec. ## ipsec ike log command can be configure from only console. 10
Output syslog to external-memory Yamaha router supports the function to output the syslog to external-memory (USB or SD). Command external-memory syslog filename <FILENAME> <option > 1 // 1 Procedure 1. Attach the USB memory to USB port of Yamaha router. 2. Set above command. All syslog is output to USB memory. File name is yamaha.txt 11
~ In the trouble ~ 12
Get syslog by console Command show log Output the syslog to console. 13
Get configuration by console Command show config <CONFIG_NUM> Output the configuration to console. 14
Get all information by console Command show techinfo Output all information of router to console. 15
Output the info to external-memory Command show log > [USB memory] show config > [USB memory] show techinfo > [USB memory] Procedure 1. Attach the USB memory to USB port of Yamaha router. 2. Execute above commands. Output of each command is recorded to USB memory. 16
Get information from GUI (1) Select [Advanced settings]. 17
Get information from GUI (2) To get configuration. To get syslog. To get system information. 18
Get information from GUI (3) Get configuration: 19
Get information from GUI (4) Get Syslog: 20
Get information from GUI (5) Get System information: 21