All MIBs › EdgeSwitch-CAPTIVE-PORTAL-MIB › cpTrapMode
cpTrapMode
Module: EdgeSwitch-CAPTIVE-PORTAL-MIB
OID (symbolic): EdgeSwitch-CAPTIVE-PORTAL-MIB::cpTrapMode
OID (numeric): 1.3.6.1.4.1.4413.1.1.38.3.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object enables/disables the global Captive Portal trap mode. If this object is disabled, the Captive Portal Client Authentication Failure traps, Client Connection traps, Client Database Full traps, and Client Disconnection traps are not sent regardless of their setting.
What is cpTrapMode?
Global on/off switch for all captive-portal SNMP traps; when disabled (the default), authentication-failure, connect, database-full, and disconnect traps are suppressed regardless of their individual settings.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.38.3.1 snmpwalk -v2c -c public <target> EdgeSwitch-CAPTIVE-PORTAL-MIB::cpTrapMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.38.3.1.1 snmpget -v2c -c public <target> EdgeSwitch-CAPTIVE-PORTAL-MIB::cpTrapMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4413.1.1.38.3.1.1 i <value>
Start monitoring Ubiquiti EdgeSwitch managed Ethernet switch (captive portal) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the EdgeSwitch-CAPTIVE-PORTAL-MIB::cpTrapMode OID value, configure state conditions and alerts, and monitor any Ubiquiti EdgeSwitch managed Ethernet switch (captive portal) from a single console.
OID Breakdown
Upper-level ancestors (9 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.4413 | broadcom | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1 | enet | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1.1 | fastPath | EdgeSwitch-REF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4413.1.1.38 | fastPathCaptivePortal | EdgeSwitch-CAPTIVE-PORTAL-MIB |
| 1.3.6.1.4.1.4413.1.1.38.3 | cpTrapsConfig | EdgeSwitch-CAPTIVE-PORTAL-MIB |
| 1.3.6.1.4.1.4413.1.1.38.3.1 | cpTrapMode | EdgeSwitch-CAPTIVE-PORTAL-MIB |