set protocols ospf traceoption packet

Run the command set protocols ospf traceoption packet to enable OSPF packet logging. Optional keywords can be used for logging information on specific packet types. These types are hello, dd (database description packets), ls-request (link-state request), ls-update (link-state update), ls-ack (link-state acknowledgement) and all. Optionally you can choose packet event type send or receive. Optional parameter instance-id can be included to specify the OSPFv2 multi-instance ID.

Run delete protocols ospf traceoption packet the command to delete this configuration.


Command Syntax

set protocols ospf [instance-id <instance-id>] traceoption packet {hello | dd | ls-request | ls-update | ls-ack | all } [send | recv | detail]

delete protocols ospf [instance-id <instance-id>] traceoption packet {hello | dd | ls-request | ls-update | ls-ack | all } [send | recv | detail]

Parameter

Parameter

Description

instance-id <instance-id>Optional, specifies the OSPF instance ID. The value is an integer that ranges from 1 to 8.

packet {hello|dd|ls-request|ls-update|ls-ack|all}

Specifies to enable OSPF logging for hello, database description (dd), link state request (ls-request), link state update (ls-update), link state acknowledgement (ls-ack) or all.

send|recv|detailOptional. Specifies the send or receive direction and details.

Example

  •  Enable detailed OSPF hello packet logging.
admin@XorPlus# set protocols ospf instance-id 1 traceoption packet hello detail
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.