P-2024 Support Notes
All contents copyright (c) 2006 ZyXEL Communications Corporation.
63
You can use the packet trace feature on the P-2024 to record and analyze packets transmitting through the LAN
and WAN interfaces. It is designed for technical users who are interested in the details of the packet flow on the
P-2024's LAN or WAN interface. It is also a very helpful diagnostic tool to solve Internet connection
problems or if you want to know the details of a packet for configuring a filter rule.
The format of the result is displayed as follows:
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 display the trace results:
1.
Online Trace--display real-time trace results on the screen
2.
Offline Trace-- save the trace results first and display them later
The following shows you how to obtain and display the packet trace results 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 capture the WAN packet trace:
sys trcp channel mpoa00 none
1.2 Enable capture the LAN packet trace:
sys trcp channel enet0 bothway
1.3 Enable trace logging:
sys trcp sw on
&
sys trcl sw on
1.4 Display brief online trace results:
sys trcd brief
or
1.5 Display detailed online trace results:
sys trcd parse
Example:
ras> sys trcp channel mpoa00 none