snmpUdpPort
BRCM-SNMP-MGMT-MIB ·
.1.3.6.1.4.1.4413.2.2.2.1.1.2.1
Object
scalar r/w
Unsigned32
Controls and reflects the UDP port which will be listened for
as the destination port on received SNMP packets and used as the
source port on subsequent SNMP replies.
Setting this object will result in an immediate change of the SNMP
port number, although the SNMP reply to the set request which modifies
this value will still be sent using the port on which it was received.
This prevents the sending SNMP manager from receiving a timeout on the
set request.
This value is NOT stored to non-volatile storage and will revert to the
default value on system reboot.
Context
- MIB
- BRCM-SNMP-MGMT-MIB
- OID
.1.3.6.1.4.1.4413.2.2.2.1.1.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmpMgmt
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BRCM-SNMP-MGMT-MIB' -M '/opt/observium/mibs/broadcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BRCM-SNMP-MGMT-MIB::snmpUdpPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BRCM-SNMP-MGMT-MIB' -M '/opt/observium/mibs/broadcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BRCM-SNMP-MGMT-MIB::snmpUdpPort'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-65535