Alcatel Carrier Internetworking Solutions 8800 User Manual

Page of 614
Dshell
Troubleshooting BOOTP/DHCP/UDP Relay
page 5-6
OmniSwitch Troubleshooting Guide
September 2005
Dshell
To send the UDP Relay debug to the console, follow the following commands:
Note. Dshell commands should only be used by Alcatel personnel or under the direction of Alcatel. 
Misuse or failure to follow procedures that use Dshell commands in this guide correctly can cause lengthy 
network down time and/or permanent damage to hardware.
• Use the command udprelay_do_systrace = 0 to disable systrace and enable console output.
• Use the command C = x (where x=1 to 9.) This increases the levels of udprelay debug. A level of 5 
will display the source, destination IP, and MAC lines seen below. A level of 8 will include the hex 
dump of the packet. In addition, this level is very CPU intensive and will delay the UDP function. A 
level of 9 displays all packets as well as IPC messages. At this time running a level of 9 uses up so 
much of the UDP function that the relay agent can not pass traffic. A level of 9 is not recommended.
• And to turn it off use the udprelayDebugLevelCMM = -1 command.
The following is a sample UDP relay debug session:
enqueue_to_ip_using_ipc: Packet sent to IP using IPC
 handle_event_udprelay_cmm(): Received on bsd socket
 handle_event_bsd_udprelay_cmm: Recieved message from the bsd socket Received 284 
bytes from bsd
socket 0x1a
We got in a tweaked zero IP address packet on bsd socket
Recvd on bsd socket pkt from 0.0.0.0, rtr-port addr=192.168.20.254, 0x-1062726402
Received short packet from bsd socket  from 192.168.20.254, len=284 bytesReceived 
request packet
for the bootp service on bsd socket   BOOTP REQ: secs=0 hops=0x0
  BOOTP REQ: Haven't waited long enough: secs=0 s/b >= 3 
 handle_event_udprelay_cmm(): received on  ipc socket
 handle_event_ipc_udprelay_cmm: num of bytes received = 352
 handle_event_ni_udprelay_cmm: Recieved message from the NI
 handle_event_ni_udprelay_cmm: Recieved message from the NI for regular UDP packet
 hex_dump_udprelay_cmm: Printing the buffer at address = 0x60c3b10
00
03  00  01  01  5d  0e  70  50   -- 31  20  30  01  4a  00  00  00
14  60  14  41  00  ff  ff  ff   -- ff  ff  ff  00  0b  85  03  07
f0  81  00  00  14  08  00  45   -- 00  01  38  4d  cb  40  00  20
11  0b  eb  00  00  00  00  ff   -- ff  ff  ff  00  44  00  43  01
24  9e  a6  01  01  06  00  73   -- 02  3f  32  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
0b  85  03  07  f0  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00 
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00
00  00  00  00  00  00  00  00   -- 00  00  00  00  00  00  00  00