Run the command set protocol 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.
Run delete protocol ospf traceoption packet the command to delete this configuration.
Command Syntax
(set|delete) protocol ospf traceoption packet {hello|dd|ls-request|ls-update|ls-ack|all} [send|recv|detail]
(set|delete) protocol ospf traceoption packet {hello|dd|ls-request|ls-update|ls-ack|all} [send|recv|detail]
Parameter
Parameter | Description |
packet {hello|dd|ls-request|ls-update|ls-ack|all} | Specifies to enable OSPF logging for hello, dd, ls-request, ls-update, ls-ack or all. |
send|recv|detail | Optional. Specify the send or receive direction and details. |
Example
- Enable detailed OSPF hello packet logging.
Code Block |
---|
admin@XorPlus# set protocols ospf traceoption packet hello detail
admin@Xorplus# commit |