+ All Categories
Home > Documents > Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog...

Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog...

Date post: 11-Apr-2019
Category:
Upload: hacong
View: 233 times
Download: 0 times
Share this document with a friend
21
Troubleshooting for Yamaha router
Transcript
Page 1: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

Troubleshooting for Yamaha router

Page 2: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 2

How to troubleshoot

Before the trouble In the trouble

Set the syslog level Set the syslog server

Set the log outputting for each function.

Set the process to output the syslog to external-memory.

Get the syslog Get the configuration

Get all information of router

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

Page 3: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 3

~ Before the trouble ~

Page 4: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 4

Syslog Level

Level Description Command Default

info Brief logs of router operating status are output. e.g.) When the IPsec is established 20XX/XX/XX 00:00:00: IP Tunnel[1] Up

syslog info on

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) ~

syslog notice off

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.

Page 5: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation

How to set the syslog level by console

5

syslog info <SWITCH> ・・・・・・① syslog notice <SWITCH> ・・・・・・② syslog debug <SWITCH> ・・・・・・③ syslog host <HOST> ・・・・・・④

Command

// ③

// ②

// ① ③ Enable debug level syslog

② Enable notice level syslog

① Enable info level syslog

// ④

④ Set the syslog server. Yamaha router sends the syslog to specified syslog server. The syslog is recorded also to an internal memory of router.

Page 6: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 6

How to set the syslog level by GUI (1)

Select [Advanced settings].

Page 7: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 7

Select “ syslog of product ”.

How to set the syslog level by GUI (2)

Page 8: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 8

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].

Page 9: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 9

Syslog settings for IPsec (1) Each function has some commands to output more detailed information. These information is output to debug level syslog.

ipsec ike keepalive log <GATEWAY_ID> <SWITCH> ・・・・・・① ipsec ike log <GATEWAY_ID> <TYPE> <TYPE> <TYPE> ・・・・・・②

Commands regarding to IPsec function:

// ②

// ①

② Enable the IKE negotiation log to output to debug level syslog. Each parameter is described on next page.

① 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.

Page 10: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 10

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.

Page 11: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 11

Output syslog to external-memory Yamaha router supports the function to output the syslog to external-memory (USB or SD).

external-memory syslog filename <FILENAME> <option…> ・・・・・・①

Command

// ①

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

Procedure

Page 12: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 12

~ In the trouble ~

Page 13: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 13

Get syslog by console

show log

Command

Output the syslog to console.

Page 14: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 14

Get configuration by console

show config <CONFIG_NUM>

Command

Output the configuration to console.

Page 15: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 15

Get all information by console

show techinfo

Command

Output all information of router to console.

Page 16: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 16

Output the info to external-memory

show log > [USB memory] show config > [USB memory] show techinfo > [USB memory]

Command

1. Attach the USB memory to USB port of Yamaha router. 2. Execute above commands. Output of each command is recorded to USB memory.

Procedure

Page 17: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 17

Get information from GUI (1)

Select [Advanced settings].

Page 18: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 18

To get configuration.

To get syslog.

To get system information.

Get information from GUI (2)

Page 19: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 19

Get information from GUI (3)

Get configuration:

Page 20: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 20

Get information from GUI (4)

Get Syslog:

Page 21: Troubleshooting for Yamaha router ① ③ Enable debug level syslog ② Enable notice level syslog ① Enable info level syslog // ④ ④ Set the syslog server. Yamaha router sends

© Yamaha Corporation 21

Get information from GUI (5)

Get System information:


Recommended