All MIBs › HUAWEI-SSH-MIB › hwSSHServerPort
hwSSHServerPort
Module: HUAWEI-SSH-MIB
OID (symbolic): HUAWEI-SSH-MIB::hwSSHServerPort
OID (numeric): 1.3.6.1.4.1.2011.5.25.118.1.6
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: The object specifies port number for SSH server supporting. The default value is 22.
What is hwSSHServerPort?
This OID sets the TCP port the SSH server listens on, either the standard port 22 or any port from 1025-65535. Admins change it off 22 to reduce automated scanning/attack noise against the default SSH port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.118.1.6 snmpwalk -v2c -c public <target> HUAWEI-SSH-MIB::hwSSHServerPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.118.1.6.1 snmpget -v2c -c public <target> HUAWEI-SSH-MIB::hwSSHServerPort.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.118.1.6.1 i <value>
Start monitoring Huawei router or switch (SSH server/client management) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-SSH-MIB::hwSSHServerPort OID value, configure state conditions and alerts, and monitor any Huawei router or switch (SSH server/client management) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.118 | hwSSH | HUAWEI-SSH-MIB |
| 1.3.6.1.4.1.2011.5.25.118.1 | hwSSHServer | HUAWEI-SSH-MIB |
| 1.3.6.1.4.1.2011.5.25.118.1.6 | hwSSHServerPort | HUAWEI-SSH-MIB |