ZyXEL Communications P-2302R-P1C User Manual

Page of 145
 
 
P2302R-P1C Support Notes 
 
 
 
All contents Copyright 
 2007 ZyXEL Communications Corporation.   
131 
2. Trace WAN packet   
1.1 Disable to capture the LAN packet by entering: 
sys trcp channel enet0 none
   
1.2 Enable to capture the WAN packet by entering: 
sys trcp channel enet1 bothway
   
1.3 Enable the trace log by entering: 
sys trcp sw on 
sys trcl sw on
   
1.4 Wait for packet passing through ZyXEL Device over WAN   
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>
   
Example:
      
Prestige> sys trcp channel enet0 none  
Prestige> sys trcp channel enet1 bothway  
Prestige> sys trcl sw on  
Prestige> sys trcp sw on  
Prestige> sys trcl sw off  
Prestige> sys trcp sw off  
Prestige> sys trcp brief  
   0    12864.800 ENET1-T[0411] TCP 202.132.155.97:10278->204.217.0.2:80  
   1    12864.890 ENET1-R[0247] TCP 204.217.0.2:80->202.132.155.97:10282  
   2    12864.900 ENET1-T[0416] TCP 202.132.155.97:10282->204.217.0.2:80  
   3    12865.120 ENET1-R[0247] TCP 204.217.0.2:80->202.132.155.97:10278  
   4    12865.130 ENET1-T[0411] TCP 202.132.155.97:10278->204.217.0.2:80  
   5    12865.220 ENET1-R[0247] TCP 204.217.0.2:80->202.132.155.97:10282  
Prestige> sys trcp parse 3 4  
---<0003>----------------------------------------------------------------  
LAN Frame: ENET1-RECV   Size: 247/  96   Time: 12865.120 sec  
Frame Type: TCP 204.217.0.2:80->202.132.155.97:10278  
  Ethernet Header:  
    Destination MAC Addr     = 00A0C5921312  
    Source MAC Addr          = 00A0C5591284  
    Network Type             = 0x0800 (TCP/IP)  
  IP Header:  
    IP Version               = 4  
    Header Length            = 20