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 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.13464 | admin | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1 | dataCom | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2 | gbn | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2.4 | gbnL2 | ADMIN-MASTER-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.13464.1.2.4.5 | gbnL3DhcpSnooping | GBNL2DhcpSnooping-MIB |
| 1.3.6.1.4.1.13464.1.2.4.5.2 | dhcpsnoopingPortTable | GBNL2DhcpSnooping-MIB |
| 1.3.6.1.4.1.13464.1.2.4.5.2.1 | dhcpsnoopingPortEntry | GBNL2DhcpSnooping-MIB |
| 1.3.6.1.4.1.13464.1.2.4.5.2.1.2 | portTrustMode | GBNL2DhcpSnooping-MIB |