SSH-MIB :: swSSHPortNumber

MIB Reference — IPNetwork Monitor · Updated September 21, 2026

All MIBs › SSH-MIB › swSSHPortNumber

swSSHPortNumber

Module: SSH-MIB

OID (symbolic): SSH-MIB::swSSHPortNumber

OID (numeric): 1.3.6.1.4.1.2272.1.201.1.5.1.6

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This object indicates the listened tcp port number.

What is swSSHPortNumber?

The TCP port the SSH server listens on (1-65535), letting an admin move the service off the standard port 22 if desired.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.5.1.6
snmpwalk -v2c -c public <target> SSH-MIB::swSSHPortNumber

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.5.1.6.1
snmpget -v2c -c public <target> SSH-MIB::swSSHPortNumber.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2272.1.201.1.5.1.6.1 i <value>

Start monitoring FastPath-family managed switch (SSH server/cipher configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SSH-MIB::swSSHPortNumber OID value, configure state conditions and alerts, and monitor any FastPath-family managed switch (SSH server/cipher configuration) from a single console.

OID Breakdown

Upper-level ancestors (10 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2272rapidCityRAPID-CITY
1.3.6.1.4.1.2272.1rcMgmtRAPID-CITY
1.3.6.1.4.1.2272.1.201cobraSWPRIMGMT-MIB
1.3.6.1.4.1.2272.1.201.1privateMgmtSWPRIMGMT-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2272.1.201.1.5swSSHMIBSSH-MIB
1.3.6.1.4.1.2272.1.201.1.5.1swSSHMgmtSSH-MIB
1.3.6.1.4.1.2272.1.201.1.5.1.6swSSHPortNumberSSH-MIB