ZyXEL Communications P-2302R-P1C Manuel D’Utilisation

Page de 145
 
 
P2302R-P1C Support Notes 
 
 
 
All contents Copyright 
 2007 ZyXEL Communications Corporation.   
120 
The  ZyXEL  Device  packet  trace  records  and  analyzes  packets  running  on  LAN  and  WAN  interfaces.  It  is 
designed for users with technical backgrounds who are interested in the details of the packet flow on LAN or 
WAN end of the ZyXEL Device. It is also very helpful for diagnostics if you have compatibility problems with 
your ISP or if you want to know the details of a packet for configuring a filter rule.   
The format of the display is as following:   
Packet: 
 
0    11880.160 ENET0-R[0062] TCP 192.168.1.2:1108->192.31.7.130:80
 
[index] [timer/second][channel-receive/transmit][length]   [protocol] [sourceIP/port] [destIP/port]   
There are two ways to dump the trace:   
1.  Online Trace--display the trace real time on screen   
2.  Offline Trace--capture the trace first and display later   
The details for capturing the trace in SMT menu 24.8 are as follows.   
Online Trace   
1. Trace LAN packet   
2. Trace WAN packet   
 
1. Trace LAN packet   
1.1 Disable to capture the WAN packet by entering: 
sys trcp channel enet1 none
   
1.2 Enable to capture the LAN packet by entering: 
sys trcp channel enet0 bothway
   
1.3 Enable the trace log by entering: 
sys trcp sw on 
sys trcl sw on
   
1.4 Display the brief trace online by entering: 
sys trcd brief
   
or   
1.5 Display the detailed trace online by entering: 
sys trcd parse
   
Example:
    
Prestige> sys trcp channel enet1 none