Defining a single inclusion zone

Use this information to understand how to define a single inclusion zone.

About this task

An inclusion zone is any zone that you want to be discovered by the Discovery engine, ncp_disco. The following example insert defines a single inclusion zone for the IP protocol and associates the zone with a subnet. This zone applies to every device within the specified subnet address.
insert into scope.zones
(
        m_Protocol,
        m_Action,
        m_Zones
)
values
(
        1,
        1,
        [
            {
                m_Subnet="172.16.1.0",
                m_NetMask=24
            }
        ]
);
The above insert defines an IP inclusion zone for the 172.16.1.0 subnet with a netmask of 24.