All MIBs › ADVA-MIB › snmpServerPort
snmpServerPort
Module: ADVA-MIB
OID (symbolic): ADVA-MIB::snmpServerPort
OID (numeric): 1.3.6.1.4.1.2544.2.5.7.2
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description:
The TCP or UDP port on which a server is listening
What is snmpServerPort?
Stores the TCP or UDP port number where the SNMP server listens for management traffic. Allows non-standard ports if needed (typically 161 for standard SNMP). An operator configures this to run SNMP on a different port for security or to avoid port conflicts.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2544.2.5.7.2 snmpwalk -v2c -c public <target> ADVA-MIB::snmpServerPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2544.2.5.7.2.1 snmpget -v2c -c public <target> ADVA-MIB::snmpServerPort.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2544.2.5.7.2.1 i <value>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.2544 | advaMIB | ADVA-MIB |
| 1.3.6.1.4.1.2544.2 | common | ADVA-MIB |
| 1.3.6.1.4.1.2544.2.5 | config | ADVA-MIB |
| 1.3.6.1.4.1.2544.2.5.7 | snmpAgent | ADVA-MIB |
| 1.3.6.1.4.1.2544.2.5.7.2 | snmpServerPort | ADVA-MIB |