CyberHunter
Local dataset, no network
// Monitoring & logging

Port 2697: Oce SNMP Trap Port

Port 2697 is assigned by IANA to oce-snmp-trap (Oce SNMP Trap Port).

2697

How oce-snmp-trap works

Monitoring & logging
monitoringdeviceoce-snmp-trap monitoringdeviceoce-snmp-trap

The monitoring server collects metrics, alerts or logs from devices over port 2697.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 2697 dangerous?

We have no specific security note for port 2697. Its risk depends on the program actually listening on it. General advice for monitoring & logging services:

  • Restrict management and monitoring protocols to the monitoring network.
  • Replace community strings and default credentials.
  • Send logs over TLS.
02 Registry

IANA registry entries for port 2697

ServicePortTransportDescriptionReferenceUpdated
oce-snmp-trap 2697 TCP, UDP Oce SNMP Trap Port - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 2697, and is it reachable?

Linux

sudo ss -ltnup 'sport = :2697'      # process listening on 2697
sudo lsof -nP -i :2697

macOS

sudo lsof -nP -i :2697

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 2697 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 2697
netstat -ano | findstr :2697

From another machine

nmap -p 2697 -sV <host>
sudo nmap -sU -p 2697 <host>
nc -zv <host> 2697

Block it in the firewall

sudo ufw deny 2697/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 2697" -Direction Inbound -LocalPort 2697 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 2697 used for?

Port 2697 is assigned by IANA to oce-snmp-trap (Oce SNMP Trap Port).

Is port 2697 TCP or UDP?

Port 2697 is registered for TCP and UDP.

Is it safe to open port 2697?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Restrict management and monitoring protocols to the monitoring network.

How do I check if port 2697 is open?

On Linux run "ss -ltnup 'sport = :2697'", on macOS "lsof -nP -i :2697", and on Windows "netstat -ano | findstr :2697" to see the local process. From another machine, "nmap -p 2697 <host>" shows whether it is reachable.

05 Related

Latest vulnerability news

All news