Task
About Discovery Filters
}
.
.
.
FilterExpressions {
//
//The following combines the two set filters
//defined above into one FilterExpression.
//It works unmodified as a discovery filter.
//To work as a map filter, network and segment filtering
//must be added (see below).
VitalNodes "All Gateways and Servers" { GatewaysSet ServersSet }
//
//One can turn the filters defined above into viable map or
//topology filters by simply adding " NetsNSegs". (Doing so
//does not invalidate the filters as discovery
//filters. It just adds a superfluous test.)
//
VitalNodesMap "All nets & segs, but only gateway and server nodes"
{GatewaysSet ServersSet NetsNSegs} LocalLANView "All nets & segs, but only local nodes"
{LocalLAN NetsNSegs }
NetInfrastructure "Any network connecting device and what they connect"
{Routers Bridges Hubs NetsNSegs } NetBackbone "Networks and gateways/routers"
{Routers Networks }
//Using the filters defined above that include only a specific
//network, we can also exclude the specific network like this
//Note the use of the more specific form to exclude only the segments
//in the engineering lan. This could have been specified directly
//as a negation in the filter part, but this form works well if you
//have several networks to manipulate in this manner. EverythingButEngr "Everything but the engineering LAN"
{!EngrLan2 }
//Of course the above filter expressions, when used as
//map filters, pass all networks and segments. You
//may wish to see only a particular network. The following map
//filters accomplish this. Note that though segments
//and nodes from other networks will pass the filters, IP Map
//will ignore them because their parent networks will not pass.
//NOTE: These filters will not work as Discovery
//filters because all network and segments automatically pass
//Discovery and Topology filters.
// |
|
|
|
|
|
MyNetMap "Only the network | of interest | and all | its | constituent parts" | |
{ MyNet Segments | Nodes} |
|
|
| |
MyVitalNodesMap "Gateways, | servers and | segments in | the net of interest" | ||
{ MyNet Segments | GatewaysSet | ServersSet } |
TheNetNodeList "This is the filter for TheNet nodeslist
{TheNetNodes TheNetFilters }
//This is a map persistence filter which ensures that
//all
//Note that this will also keep any containing submaps in memory.
PersFilter "Objects to keep in map memory" { UBNodes }
}
Basic Dial NMS Implementation Guide
"