Forum Discussion
Kev_Pearce_1070
Nimbostratus
Aug 29, 2006Error when defines a class data-set
Hi,
Whenever I try and create a class, so I can use a matchclass, I get an error message back:
line 1: [undefined procedure: class] [class test_class {
Full, very simple,...
hoolio
Cirrostratus
Aug 29, 2006Hi,
Make sure you're creating the datagroup (class) definition in the GUI under iRules | Datagroups. There is a separate tab for datagroups next to the iRules tab. If your class is made up of strings, select a type of string.
The format you have above is how it would look in the bigip.conf file. If you want to add the class definition to the bigip.conf file, edit it with vi or pico and add the object definitions in and run 'b load' to load the new configuration to memory.
You can then reference the class in the rules.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects