Troubleshooting for Yamaha router

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
In the trouble
 Set the syslog level
 Get the syslog
 Set the syslog server
 Get the configuration
 Set the log outputting
for each function.
 Get all information of router
 Set the process to output
the syslog to external-memory.
2
© Yamaha Corporation
~ Before the trouble ~
3
© Yamaha Corporation
Syslog Level
Level
Description
Command
Default
info
Brief logs of router operating status are output.
syslog info
on
syslog notice
off
syslog debug
off
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.
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.
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
© Yamaha Corporation
How to set the syslog level by console
Command
syslog info <SWITCH>
syslog notice <SWITCH>
syslog debug <SWITCH>
syslog host <HOST>
・・・・・・①
・・・・・・②
・・・・・・③
・・・・・・④
① Enable info level syslog
② Enable notice level syslog
// ①
③ Enable debug level syslog
// ②
④ Set the syslog server.
Yamaha router sends the syslog
to specified syslog server.
// ③
// ④
5
The syslog is recorded also to
an internal memory of router.
© Yamaha Corporation
How to set the syslog level by GUI (1)
Select [Advanced settings].
6
© Yamaha Corporation
How to set the syslog level by GUI (2)
Select “ syslog of product ”.
7
© Yamaha Corporation
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
© Yamaha Corporation
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> ・・・・・・①
ipsec ike log <GATEWAY_ID> <TYPE> <TYPE> <TYPE> ・・・・・・②
// ①
// ②
① 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.
② Enable the IKE negotiation log to output to debug level syslog.
Each parameter is described on next page.
9
© Yamaha Corporation
Syslog settings for IPsec (2)
Parameter of “ipsec ike log” command:
TYPE
Description
payload-info
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.
message-info
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.
key-info
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
© Yamaha Corporation
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…>
・・・・・・①
// ①
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
© Yamaha Corporation
~ In the trouble ~
12
© Yamaha Corporation
Get syslog by console
Command
show log
Output the syslog to console.
13
© Yamaha Corporation
Get configuration by console
Command
show config <CONFIG_NUM>
Output the configuration to
console.
14
© Yamaha Corporation
Get all information by console
Command
show techinfo
Output all information of router
to console.
15
© Yamaha Corporation
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
© Yamaha Corporation
Get information from GUI (1)
Select [Advanced settings].
17
© Yamaha Corporation
Get information from GUI (2)
To get configuration.
To get syslog.
To get system information.
18
© Yamaha Corporation
Get information from GUI (3)
Get configuration:
19
© Yamaha Corporation
Get information from GUI (4)
Get Syslog:
20
© Yamaha Corporation
Get information from GUI (5)
Get System information:
21
© Yamaha Corporation