[j-nsp] dhcpv6 IA_PD syslogging

Aaron Gould aaron1 at gvtc.com
Tue Oct 8 11:48:38 EDT 2024


Thanks Andrey, I'm curious if you have actually tried it on your 
ACX710?  I tried it on my ACX5048 and hardly saw anything....


set system processes dhcp-service traceoptions flag general
set system processes dhcp-service traceoptions flag io
set system processes dhcp-service traceoptions flag packet
set system processes dhcp-service traceoptions flag state
set system processes dhcp-service traceoptions file my-dhcpv6-relay-log



{master:0}
me at 5048> monitor start my-dhcpv6-relay-log

{master:0}
me at 5048>

{master:0}
me at 5048> show log my-dhcpv6-relay-log

{master:0}
me at 5048> monitor list
monitor start "my-dhcpv6-relay-log" (Last changed Sep 27 11:17:43)

{master:0}
me at 5048>
*** my-dhcpv6-relay-log ***
Sep 27 11:19:40.780953 
[MSTR][ERROR][default:five][RLY][INET6][irb.1010][SID=0] 
dhcpv6_packet_handle: This message is from relay agent
Sep 27 11:19:42.944079 
[MSTR][ERROR][default:five][RLY][INET6][irb.1010][SID=47042] 
dhcpv6_add_client_in_blq_tree_linkaddr: BLQ-AVL - Client is already on 
the blq AVL tree's list by linkaddr.


{master:0}
me at 5048> monitor stop

{master:0}
me at 5048> monitor list
No monitored files

{master:0}
me at 5048> show log my-dhcpv6-relay-log
Sep 27 11:19:40.780953 
[MSTR][ERROR][default:five][RLY][INET6][irb.1010][SID=0] 
dhcpv6_packet_handle: This message is from relay agent
Sep 27 11:19:42.944079 
[MSTR][ERROR][default:five][RLY][INET6][irb.1010][SID=47042] 
dhcpv6_add_client_in_blq_tree_linkaddr: BLQ-AVL - Client is already on 
the blq AVL tree's list by linkaddr.


barely anything shown



On 10/8/2024 8:46 AM, Andrey Kostin wrote:
> Hi Aaron,
>
> I don't have ACX5048, but similar ACX710 has dhcp traceoptions in the 
> usual place:
> # set system processes dhcp-service traceoptions ?
> Possible completions:
> + apply-groups         Groups from which to inherit configuration data
> + apply-groups-except  Don't inherit configuration data from these groups
>> file                 Trace file information
>> flag                 DHCP operations to include in debugging trace
>   level                Level of debugging output
>   no-remote-trace      Disable remote tracing
>
> Kind regards,
> Andrey
>
> Aaron Gould via juniper-nsp писал(а) 2024-09-27 12:46:
>> does anyone know how to see dhcpv6 relayed packets and events in
>> Junos?  (ACX5048)
>>
>> I have IA_NA and IA_PD working, but I'd like to trace/debug and see
>> what the dhcpv6 packets look like as they are sent to the relay
>> server.  basically i want to see the dhcpv6 options and all that since
>> I need to enable various options and want to see before and after
>> affects
>>
>>
>> -Aaron

-- 
-Aaron



More information about the juniper-nsp mailing list