I'm new here and am trying to create the ip list to be imported as a data-group.
This is my file:
6.6.16.197/32 := "host1",
6.1.17.133/32 := "host 2",
Trying to import it with the GUI, I get error:
01070626:3: The IP data group external file (/config/filestore/.stage_d/502_d/Common_d/data_group_d/:Common:banned-ip-list.file_1) has an invalid format, line: 1.
Then I tried to load it from the command line and I get:
[chris@LTM-51:Active] ~ tmsh create /sys file data-group banned-ip-list.file separator ":=" source-path /var/class/banned-ip-list.dg type address Syntax Error: invalid property value "type":"address"
[chris@LTM-51:Active] ~ tmsh create /sys file data-group banned-ip-list.file separator ":=" source-path /var/class/banned-ip-list.dg type ip curl: (3) malformed Unexpected Error: Failed! exit_code (3). [chris@LTM-51:Active] ~
What am I doing wrong?
Rgds, Chris.