Classify a site in 15 minutes
Edition: COMMUNITYCommunity PROPro ENTERPRISEEnterprise
Segmentation, Topology and the findings all need to know which Purdue level each VLAN, device and VM belongs to. This page gets a site there in four steps, without writing any patterns. It works because of one idea: classify the VLANs, and the devices and VMs follow. A site has tens of VLANs, not thousands, and cinqstack places every device and VM on the VLAN its address or its access port belongs to.
For what each level means, see Purdue levels and security zones. For every option on the page, see Segmentation.
Before you start
- The site's VLANs are in NetBox, with their prefixes linked to them. A device or VM is placed on the VLAN whose prefix holds its primary IP.
- Devices and VMs have primary IPs. Running the Network devices and vCenter connectors fills most of this in.
- You know, roughly, which VLAN is for what. A list from the network team or the firewall's interface list is enough.
1. Start from the typical site
Open Security › Segmentation › Classification. With no rules yet, click Use "Typical site (Purdue)".
This adds rules that recognise common VLAN and role names (L1, Level 2, iDMZ, office, PLC, HMI, historian and so on), and then three rules that matter more than any of them:
- Everything else: level of its network. A device or VM takes the level of its VLAN.
- Still nothing: the level of what it is cabled to. A device with no VLAN of its own takes the level of its neighbour.
- Zone of its network. The same for security zones.
If your VLANs happen to use names like these, much of the site is already classified. If not, step 2 covers it.
2. Give each VLAN its level, by VLAN ID
Write down the site's VLAN IDs per level, for example:
| Level | VLAN IDs |
|---|---|
| 1 – Basic control | 110-119 |
| 2 – Supervisory | 120,121,125 |
| 3 – Site operations | 130-139 |
| 3.5 – Industrial DMZ | 350 |
| 4 – Business | 400-499 |
For each line, open Add a rule and fill in:
| Field | Enter |
|---|---|
| Sets | Purdue level |
| When | VLAN ID is in (e.g. 110,120-129) |
| Match value | The IDs from your list, such as 110-119 |
| To | The level, such as 1 |
| Order | 5 |
| Note | What these VLANs are, such as "Packing line control" |
An Order below 10 puts your rules above the typical-site rules, so your list wins wherever the two disagree. Rules apply to every site. Where your sites share a VLAN numbering plan, one set serves them all; where they don't, a VLAN ID may mean a different level elsewhere, so check the other sites' previews too.
3. Catch what the VLANs don't
Most devices and VMs now inherit their level. Three rules handle the rest, still without patterns:
| You have | Rule |
|---|---|
A NetBox tag on a group of devices or VMs, such as ot | When Has tag (slug), Match value ot, To the level |
| An address range for a level, such as the Level 2 servers | When Primary IP is in prefix (CIDR), Match value 10.40.20.0/24, To 2 |
| A vCenter that only runs OT systems | On the vCenter job's scope rule, set a Tag slug such as ot-vm (see vCenter). Every VM it syncs gets the tag; then add a Has tag rule for ot-vm |
Give these an Order below 10 as well.
4. Preview and write
Under Review suggestions for a site, click Preview for the site. Each suggestion shows Now, Suggested and Because, the rule that matched, so a wrong level points straight at the rule to change.
Untick anything you disagree with, and click Write selected to NetBox. Nothing is written before that. Then open Topology: every device sits in its level's band, and Score now on the Scores tab gives the site its first segmentation score.
The first line of the preview says how many of the site's VLANs, devices and VMs have a level. Below 90%, Assets are classified on the Scores tab warns or fails and lists what is missing as its evidence. It is usually a handful: give them a tag, a prefix rule, or set the level by hand in NetBox.
When you need more
Rules can also match VLAN, role, device and platform names with a regular expression, for naming schemes like L2- or -hmi. The typical-site rules work that way. See Classification rules for every match type.