Forum Discussion
syntax errors when creating data-group
I am trying to define a data-group in version 10.2.1 and I keep getting this error:
Syntax Error: the "create" command does not accept wildcard configuration identifiers
A typical element of this data-group looks like this: /path/
Through trial and error I have observed the following behavior:
Leading slashes get the error.
Trailing slashes don't cause the error.
Quoting leading slashes gets the error.
Escaping leading slashes gets the error.
Quoting AND escaping doesn't get the error but leaves me with this: \/path\/, not what I want.
I punted and left the TMSH and created a data-group from the bigpipe shell but this is an unsatisfying workaround. How do I create this data-group from the TMSH?
Richard
6 Replies
- hoolio
Cirrostratus
Hi Richard, - richard_77048
Nimbostratus
Aaron,I have tried it a couple of ways.
Starting from entering the TMSH.
/ltm data-group
create test-group type string
modify test-group
records add { /path/
At this point when trying to TAB complete I get the error message and, naturally, can't complete the command.
The other way I have tried is to create the data-group in the same manner and then editing it. Like this:
/ltm data-group
create test-group type string
modify test-group
edit
Here I enter vi and type:
modify data-group test-group {
records add {
/path/ { }
}
}
Upon saving and exiting, I get the error and have to bail on my changes.
Richard
- nitass
Employee
bug 223707 - modify data-group records add {"\mypage"} get errorcreate doesn't accept wildcar (Formerly CR 131350) - hoolio
Cirrostratus
Hi Nitass, - nitass
Employee
Hi Aaron, - richard_77048
Nimbostratus
Thanks for the information.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com