beautypg.com

12 log – Draytek Telnet Command 1.11 User Manual

Page 51

background image

Telnet Command Reference Guide V1.1

45

2.12 log

This command allows users to view log for WAN, ISDN interface such as call log, IP filter log,
flush log buffer, etc.

log [-cfhiptwx?] [-F a| c | f | w]

Syntax Description

-c

It means to show the latest call log.

-f

It means to show the IP filter log.

-F

It means to show the flush log buffer.
a: flush all logs
c: flush the call log
f: flush the IP filter log
s: flush the IP state log
w: flush the WAN(ISDN and PPP) log

-h

It means to show this usage help.

-i

It means to show all the exchange message on ISDN interface.

-p

It means to show PPP/MP log.

-t

It means to show all logs saved in the log buffer.

-w

It means to show WAN (ISDN and PPP) log.

-x

It means to show packet body hex dump.

Example

>log –w

0:12:23.690---- >DHCP Len=300 Release XID = 0x5261da

Client

IP

=10.0.0.211

Your

IP

=

0.0.0.0

Next server IP = 0.0.0.0

Relay agent IP = 0.0.0.0

Option 53: Message Type = 7

Option 61: Client Identifier = 01 00 50 7f 31 9d 70

Option 54: Server Identifier = 10.0.0.2

0:12:24.920---- >DHCP Len=300 Release XID = 0x80a6f950

………………