<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Is there a way to include a device in a class based on its
membership in another class?:<br>
<font color="#993300">class "Kyocera" {<br>
match if substring(hardware, 1,3) = 00:c0:ee;<br>
set member_of = "Kyocera";<br>
}<br>
class "Brother" {<br>
match if substring(hardware, 1,3) = 30:05:5C;<br>
set member_of = "Brother";<br>
}</font><br>
<br>
Such as:<br>
<font color="#993300">class "Printers" {<br>
match if (<br>
option server.class = "Kyocera"<br>
or option server.class = "Brother"<br>
);<br>
}</font><br>
if so, what do a replace "<font color="#993300">option server.class</font>"
with?<br>
<br>
I've also tried using the variable "member_of" set above:<br>
<font color="#993300">class "Printers" {<br>
match if (<br>
member_of = "Kyocera"<br>
or member_of = "Brother"<br>
);<br>
}</font><br>
which doesn't work.<br>
<br>
TIA,<br>
Bill<br>
<br>
</tt>
</body>
</html>