When user tries to push config to F5_R11 series device from NCM, following error is received, even though syntax of the command is correct: command not found
Error similar to below will be seen in commmgr.log with debug enabled on Device Server:
Jun 24 13:31:41 -700479744/push(8843785)#4: DASL: No Of termlet lines 1
Jun 24 13:31:41 -700479744/push(8843785)#4: DASL: stdPushTermlet: 0#list net self | grep add
Jun 24 13:31:41 -700479744/push(8843785)#1: State match:[1001][01;34m[^[^\(\)]+[>#]\s*(?:\e\[\S+)*$][00m [01;34m[list net self | grep a
Jun 24 13:31:41 -700479744/push(8843785)#1: dd
Jun 24 13:31:41 -700479744/push(8843785)#1: [ncmadminE@<DeviceName>:Active:In Sync]]0;<DeviceName> ~ # ][00m
Jun 24 13:31:41 -700479744/push(8843785)#4: RESULT: ****** Enable Mode Results ******
Jun 24 13:31:41 -700479744/push(8843785)#4: list net self | grep a dd
Jun 24 13:31:41 -700479744/push(8843785)#4: bash: list: command not found
Jun 24 13:31:41 -700479744/push(8843785)#4: [ncmadminE@<DeviceName>:Active:In Sync]^]0;<DeviceName>~ ~ #
Jun 24 13:31:41 -700479744/push(8843785)#4: DASL: Config :PUSH_TERMLET Status :1 ErrorCode : 0 FileTag :$pushAction.ConfigUnitId ActionId :8759d2285cbbc73f0fc286e672010000
Jun 24 13:31:41 -700479744/push(8843785)#4: RESULT: Configuration file 'PUSH_TERMLET' for IDX 20904 completed successfully in 5 seconds
Error in session.log:
Jun 24 13:31:41 -700479744/ssh#1: SND>list net self | grep add
Jun 24 13:31:41 -700479744/ssh#1: RCV-1001>list net self | grep a
Jun 24 13:31:41 -700479744/ssh#1: dd
Jun 24 13:31:41 -700479744/ssh#1: RCV-1001>bash: list: command not found
Jun 24 13:31:41 -700479744/ssh#1: RCV-1001>[ncmadminE@<DeviceName>:Active:In Sync]]0;<DeviceName> ~ #
Jun 24 13:31:41 -700479744/ssh#1: ::getCurrentState - State match:[1001][^[^\(\)]+[>#]\s*(?:\e\[\S+)*$][list net self | grep a
Jun 24 13:31:41 -700479744/ssh#1: dd
Jun 24 13:31:41 -700479744/ssh#1: bash: list: command not found
Jun 24 13:31:41 -700479744/ssh#1: [ncmadminE@<DeviceName>:Active:In Sync]]0;<DeviceName> ~ # ]
NCM-10.1.x
When performing push to F5_R11 device in NCM use tmsh with command.
Example : Send it as tmsh list net self | grep add instead of list net self | grep add