B-5
Cisco NAC Appliance - Clean Access Manager Configuration Guide
OL-28003-01
Appendix B API Support
Device Filter Operations
<!--error=0-->
<!--found=false-->
Or:
<!--error=0-->
<!--found=true-->
<!--MAC=0A:13:07:9B:82:60,[IP=x.x.x.x,][CAS=y.y.y.y,]TYPE=ALLOW,[ROLE=zzz,]DESCRIPTION
=My Filter-->
In the device filter string:
–
“IP=x.x.x.x” is only given for filters with an IP address configured.
–
“CAS=y.y.y.y” is only given for server specific filters.
–
“ROLE=zzz” is only given for filters with ROLE/CHECK types.
–
For a specified single MAC address, the checkmac function returns the first matched filters,
which can be a single MAC address filter or a MAC address wildcard/range filter.
• Failure: error string
getmaclist
The getmaclist function fetches the entire Device Filters list.
Required In Parameter:
• op: getmaclist
Out Parameters: <!--error=mesg--> comment
• Success:
<!--error=0-->
<!--count=number_of_filters-->
<!--MAC=0A:13:07:9B:82:60,[IP=x.x.x.x,][CAS=y.y.y.y,]TYPE=ALLOW,[ROLE=zzz,]DESCRIPTION
=My Filter--
...
In the device filter string:
–
“IP=x.x.x.x” is only given for filters with an IP address configured.
–
“CAS=y.y.y.y” is only given for server specific filters.
–
“ROLE=zzz” is only given for filters with ROLE/CHECK types.
• Failure: error string
removemaclist
The removemaclist function removes the entire Device Filters list.
Required In Parameter:
• op: removemaclist
Out Parameters:
• For unsuccessful operation, the output is <!--error=mesg-->
• For successful operation, the output is <!--error=0-->
Kommentare zu diesen Handbüchern