SMTP-MIB :: smtpSrvPort

MIB Reference — IPNetwork Monitor · Updated September 21, 2026

All MIBs › SMTP-MIB › smtpSrvPort

smtpSrvPort

Module: SMTP-MIB

OID (symbolic): SMTP-MIB::smtpSrvPort

OID (numeric): 1.3.6.1.4.1.171.12.29.1.3

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: The SMTP server's TCP port number. when swith device reset,it shows 0. You can config it from 1 to 65535.

What is smtpSrvPort?

The TCP port number of the configured SMTP server, settable from 1 to 65535, which resets to 0 after the switch reboots. Admins must configure this along with smtpSrvAddr before the switch can successfully connect to a mail server, since a value of 0 after reset indicates no port has been set. For example, an admin would set smtpSrvPort to 25 (or 587 for submission) to match the mail server's listening port after every device reset.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.29.1.3
snmpwalk -v2c -c public <target> SMTP-MIB::smtpSrvPort

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.29.1.3.1
snmpget -v2c -c public <target> SMTP-MIB::smtpSrvPort.1

Set instance 1 (SNMPv2c):

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

Start monitoring SMTP mail relay/server, proprietary enterprise MIB, vendor unspecified (queue depth/delivery status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SMTP-MIB::smtpSrvPort OID value, configure state conditions and alerts, and monitor any SMTP mail relay/server, proprietary enterprise MIB, vendor unspecified (queue depth/delivery status) from a single console.

OID Breakdown

Upper-level ancestors (8 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.171d_linkDE1500-MIB
1.3.6.1.4.1.171.12dlink_common_mgmtDLINK-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.12.29swSMTPMIBSMTP-MIB
1.3.6.1.4.1.171.12.29.1swSMTPCtrlSMTP-MIB
1.3.6.1.4.1.171.12.29.1.3smtpSrvPortSMTP-MIB