This article explains why the log message "cfmman_conn_disconnect:1002 disconnecting connection with cfmd" is shown on MX routers even when no CFM is configured and lists the steps to troubleshoot the message. These messages are for information purposes only and can be safely ignored.
Customer reported that the message log was flooded with "cfmman_conn_disconnect:1002 disconnecting connection with cfmd" log even when there was no CFM configuration on the device.
This log message is triggered when CFM opcode 43 (LMM) PDU and CFM opcode 47(DMM) PDU are received by the router. These CFM PDUs are sent to cfmman for processing, which then sends the PDUs to CFMD on the Routing Engine (RE). Since no CFM configuration exists on the device, cfmman floods the logs, which reports "disconnecting connection with cfmd".
This is as per design and the log is only for information purposes. There is no associated service impact due to the message.
To troubleshoot this issue, perform the following steps:
Add a syslog file to collect the PFE log.
#set system syslog file jtac-debug pfe any
Log in to member0-fpc3 pfe, change the debug cfm level to 4, and collect CFM debug logs.
>start shell pfe network member0-fpc3 #set syslog tty disable <<< Add one more command, in case more debug log flooding is seen in output. #debug cfm level 4
Wait for 10~20 seconds.
#debug cfm level 0
Check the jtac-debug file to see if any CFM opcode 43 and opcode 47 PDUs are received on the FPC.
jtac-debug
>file list /var/log/jtac-debug >file show /var/log/jtac-debug | match "opcode 43" >file show /var/log/jtac-debug | match "opcode 47" Nov 19 10:17:26.283 2020 router-re0 member0-fpc3 cfmman_proto_receive: opcode 47, pdu 0x469d4db8, pkt_len 60, frame_start 0xb4d46f6f, ether 0xb4d46f6f, ether_hdr_offset 0, cfm_hdr 0xb4d46f81, cfm_hdr_offset 18 ifl_ix 3118 Nov 19 10:16:06.385 2020 router-re0 member0-fpc3 cfmman_proto_receive: opcode 43, pdu 0x5e701820, pkt_len 60, frame_start 0xb5098317, ether 0xb5098317, ether_hdr_offset 0, cfm_hdr 0xb5098329, cfm_hdr_offset 18 ifl_ix 3118
show ifl 3118
#show ifl xxx
#delete system syslog file jtac-debug pfe any
Meanwhile, there are two options to stop this these messages from flooding the log:
Since the log is at syslog info level, changing the syslog level to debug should stop the log from flooding.
Configuring a syslog filter will help filter the log in the messages.
See KB22177 - [EX] How to filter two or more specific messages from being written to the syslog file [juniper.net] .