cpCaptivePortalURLRedirectMode
EdgeSwitch-CAPTIVE-PORTAL-MIB ·
.1.3.6.1.4.1.4413.1.1.38.1.2.1.1.7
Object
column r/w
Enumeration
Whether the captive portal should redirect newly authenticated clients to the configured URL. If this mode is disabled, the default locale specific welcome page is used. If enabled, the client is redirected to a configured URL.
Context
- MIB
- EdgeSwitch-CAPTIVE-PORTAL-MIB
- OID
.1.3.6.1.4.1.4413.1.1.38.1.2.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cpCaptivePortalEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'EdgeSwitch-CAPTIVE-PORTAL-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EdgeSwitch-CAPTIVE-PORTAL-MIB::cpCaptivePortalURLRedirectMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EdgeSwitch-CAPTIVE-PORTAL-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EdgeSwitch-CAPTIVE-PORTAL-MIB::cpCaptivePortalURLRedirectMode.<cpCaptivePortalInstanceId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EdgeSwitch-CAPTIVE-PORTAL-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EdgeSwitch-CAPTIVE-PORTAL-MIB::cpCaptivePortalURLRedirectMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |