The collector reaches the agent’s API on TCP port 8251 (status, version, and workflow requests). Agents send their validation reports to the collector over HTTPS. Port 8251 must be open on each device in the direction collector → agent (and agents must be able to reach the collector — see Deploy and administer CVT > Verify the deployment). If 8251 is blocked, agent status checks and the agent REST endpoints fail even when the agent container is running.
Required access summary:
|
Path |
Protocol/port |
Purpose |
|---|---|---|
|
Collector → device |
TCP 8251 |
Agent status/version/workflow API |
|
Collector → device |
TCP 22 (SSH) |
Initial agent deployment and removal |
|
Device/agent → collector |
HTTPS (443 standalone / 8633 plugin) |
Fetch agent image, send reports |
Security scope: the agent API has no app-level authentication. For credential-requiring switches (Cumulus, NVOS, MLNX-OS — hosts and SONiC switches never receive credentials), the collector fetches and pins the agent’s TLS certificate at deployment time as a best-effort measure; if the pinning fetch fails, deployment and credential dispatch still proceed without it. Validation requests to the agent also carry encoded (not encrypted) device credentials. Treat port 8251 traffic as sensitive and restrict it to the collector’s management-network address with ACLs where your platform supports it.
Opening Port 8251 by Fabric
-
InfiniBand (MLNX-OS): nothing to do — CVT opens port 8251 automatically during agent deployment (see the IP-filter note in troubleshooting).
-
Ethernet (Cumulus):
-
Bash
nv set acl acl-default-whitelist rule 200 match ip tcp dest-port 8251 nv set acl acl-default-whitelist type ipv4 nv config apply nv config save
-
NVOS (XDR and NVLink switches):
-
Bash
nv set acl AAA type ipv4 nv set acl AAA rule 1 match ip tcp dest-port 8251 nv set acl AAA rule 1 action permit nv set interface eth0-1 acl AAA inbound control-plane nv config apply nv config save
In production Ethernet fabrics, use your ZTP/provisioning tooling to apply the rule at scale instead of per-switch commands.
Verify: with an agent deployed, run from the collector: curl -k https://<device>:8251/version — a JSON response containing the agent version confirms connectivity.
Last updated: