GBNL2DhcpSnooping-MIB :: portTrustMode

MIB Reference — IPNetwork Monitor · Updated September 21, 2026

All MIBs › GBNL2DhcpSnooping-MIB › portTrustMode

portTrustMode

Module: GBNL2DhcpSnooping-MIB

OID (symbolic): GBNL2DhcpSnooping-MIB::portTrustMode

OID (numeric): 1.3.6.1.4.1.13464.1.2.4.5.2.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Port mode of dhcpsnooping.Default is untrust.

What is portTrustMode?

This per-port setting determines whether a given switch port is trusted to relay legitimate DHCP server responses, or untrusted and therefore has its DHCP server-side traffic filtered and monitored by the snooping feature; ports default to untrusted. Administrators set uplink ports connecting to the legitimate DHCP server as trusted, while leaving user-facing access ports untrusted so any rogue DHCP server plugged into them gets blocked. For example, an admin would set the port connecting to the switch's uplink toward the real DHCP server to trust(1), while leaving all end-user access ports at the default untrust(2).

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.4.5.2.1.2
snmpwalk -v2c -c public <target> GBNL2DhcpSnooping-MIB::portTrustMode

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.4.5.2.1.2.1
snmpget -v2c -c public <target> GBNL2DhcpSnooping-MIB::portTrustMode.1

Set instance 1 (SNMPv2c):

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

Start monitoring Greentech (GBN) managed switch (DHCP snooping) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the GBNL2DhcpSnooping-MIB::portTrustMode OID value, configure state conditions and alerts, and monitor any Greentech (GBN) managed switch (DHCP snooping) from a single console.

OID Breakdown

Upper-level ancestors (10 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.13464adminADMIN-MASTER-MIB
1.3.6.1.4.1.13464.1dataComADMIN-MASTER-MIB
1.3.6.1.4.1.13464.1.2gbnADMIN-MASTER-MIB
1.3.6.1.4.1.13464.1.2.4gbnL2ADMIN-MASTER-MIB
Numeric OIDNameModule
1.3.6.1.4.1.13464.1.2.4.5gbnL3DhcpSnoopingGBNL2DhcpSnooping-MIB
1.3.6.1.4.1.13464.1.2.4.5.2dhcpsnoopingPortTableGBNL2DhcpSnooping-MIB
1.3.6.1.4.1.13464.1.2.4.5.2.1dhcpsnoopingPortEntryGBNL2DhcpSnooping-MIB
1.3.6.1.4.1.13464.1.2.4.5.2.1.2portTrustModeGBNL2DhcpSnooping-MIB