EdgeSwitch-MGMT-SECURITY-MIB :: agentSSHMgmtPortNum

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › EdgeSwitch-MGMT-SECURITY-MIB › agentSSHMgmtPortNum

agentSSHMgmtPortNum

Module: EdgeSwitch-MGMT-SECURITY-MIB

OID (symbolic): EdgeSwitch-MGMT-SECURITY-MIB::agentSSHMgmtPortNum

OID (numeric): 1.3.6.1.4.1.4413.1.1.11.2.10

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: Get/Set the TCP port number that the SSH server listens to for incoming requests. The port number is an integer value from 1 to 65535. Before setting this object, check your system (e.g. using 'netstat') to make sure the desired port number is not currently being used by any other service. The default value for this object is 22.

Note that existing SSH login sessions are not affected by a change in value of this object, although establishment of any new SSH sessions must use the new port number.

What is agentSSHMgmtPortNum?

This object sets the TCP port that the SSH server listens on for incoming management connections, defaulting to 22. An admin changes it, for example to 2222, to reduce automated scanning noise against the well-known SSH port, after first confirming with netstat that the new port isn't already in use. Existing SSH sessions are unaffected by the change, but new connections must use the updated port number.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.11.2.10
snmpwalk -v2c -c public <target> EdgeSwitch-MGMT-SECURITY-MIB::agentSSHMgmtPortNum

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.11.2.10.1
snmpget -v2c -c public <target> EdgeSwitch-MGMT-SECURITY-MIB::agentSSHMgmtPortNum.1

Set instance 1 (SNMPv2c):

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

Start monitoring Ubiquiti EdgeSwitch managed Ethernet switch (management-plane ACLs/login policy) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the EdgeSwitch-MGMT-SECURITY-MIB::agentSSHMgmtPortNum OID value, configure state conditions and alerts, and monitor any Ubiquiti EdgeSwitch managed Ethernet switch (management-plane ACLs/login policy) from a single console.

OID Breakdown

Upper-level ancestors (9 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.4413broadcomBASP-Config-MIB
1.3.6.1.4.1.4413.1enetBASP-Config-MIB
1.3.6.1.4.1.4413.1.1fastPathEdgeSwitch-REF-MIB
Numeric OIDNameModule
1.3.6.1.4.1.4413.1.1.11fastPathMgmtSecurityEdgeSwitch-MGMT-SECURITY-MIB
1.3.6.1.4.1.4413.1.1.11.2agentSSHConfigGroupEdgeSwitch-MGMT-SECURITY-MIB
1.3.6.1.4.1.4413.1.1.11.2.10agentSSHMgmtPortNumEdgeSwitch-MGMT-SECURITY-MIB