LAN/WAN Packet Trace
The Prestige 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 Prestige. 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:
The details for capturing the trace in SMT menu 24.8 are as follows.
1. Trace LAN packet
2. Trace WAN packet
1.1 Disable to capture the WAN packet by entering: sys
trcp channel mpoa00 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:
P642> sys trcp channel mpoa00 none p642> sys trcp channel enet0 bothway P642> sys trcp sw on P642> sys trcl sw on P642> sys trcd brief 0 11880.160 ENET0-R[0062] TCP 192.168.1.2:1108->192.31.7.130:80 1 11883.100 ENET0-R[0062] TCP 192.168.1.2:1108->192.31.7.130:80 2 11883.330 ENET0-T[0058] TCP 192.31.7.130:80->192.168.1.2:1108 3 11883.340 ENET0-R[0060] TCP 192.168.1.2:1108->192.31.7.130:80 4 11883.340 ENET0-R[0339] TCP 192.168.1.2:1108->192.31.7.130:80 5 11883.610 ENET0-T[0054] TCP 192.31.7.130:80->192.168.1.2:1108 6 11883.620 ENET0-T[0102] TCP 192.31.7.130:80->192.168.1.2:1108 7 11883.630 ENET0-T[0054] TCP 192.31.7.130:80->192.168.1.2:1108 8 11883.630 ENET0-R[0060] TCP 192.168.1.2:1108->192.31.7.130:80 9 11883.650 ENET0-R[0060] TCP 192.168.1.2:1108->192.31.7.130:80 10 11883.650 ENET0-R[0062] TCP 192.168.1.2:1109->192.31.7.130:80 p642> sys trcd parse ---<0000>---------------------------------------------------------------- LAN Frame: ENET0-RECV Size: 62/ 62 Time: 12089.790 sec Frame Type: TCP 192.168.1.2:1116->192.31.7.130:80 Ethernet
Header: IP Header: TCP Header: RAW DATA: Ethernet Header: IP Header: TCP Header: RAW DATA: Ethernet Header: IP Header: TCP Header: TCP Data: (Length=6, Captured=6) RAW DATA: |
1.1 Disable the capture of the LAN packet by entering: sys
trcp channel enet0 none
1.2 Enable to capture the WAN packet by entering: sys trcp
channel mpoa00 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:
P642> sys trcp channel enet0 none P642> sys trcp channel mpoa00 bothway p642> sys trcp sw on p642> sys trcl sw on P642> sys trcd brief 0 12367.680 MPOA00-R[0070] UDP 202.132.155.95:520->202.132.155.255:520 1 12370.980 MPOA00-T[0062] TCP 202.132.155.97:10261->192.31.7.130:80 P642> sys trcd parse ---<0000>---------------------------------------------------------------- LAN Frame: MPOA00-RECV Size:1181/ 96 Time: 12387.260 sec Frame Type: TCP 192.31.7.130:80->202.132.155.97:10270 Ethernet
Header: IP Header: TCP Header: TCP Data: (Length=1127, Captured=42) RAW DATA: |
1. Trace LAN packet
2. Trace WAN packet
1.1 Disable the capture of the WAN packet by entering: sys
trcp channel mpoa00 none
1.2 Enable the capture of 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 Wait for packet passing through the Prestige over LAN
1.5 Disable the trace log by entering: sys trcp sw off & sys trcl sw off
1.6 Display the trace briefly by entering: sys trcp brief
1.7 Display specific packets by using: sys trcp parse
<from_index> <to_index>