ifAdminSetAdmin
MX-IF-ADMIN-MIB ·
.1.3.6.1.4.1.4935.5.8.1.10.1.2
Object
column r/w
Enumeration
Command to set the administrative state of the current interface.
Represents action on admin status. Lock indicates that component
usage states of active or idle are updated with their admin state
set to locked. Their usage state is updated to idle. For active calls
in progress which usage state is busy, calls remain established until
normal call termination. The admin state is set to shuttingdown.
Once the call is terminated, the admin state is set to locked and usage
state to idle. For forcelock, the admin state is set to locked. Their usage
state is updated to idle. All active calls in progress are terminated
immediately; there is no transition admin state of shuttingdown. No new
calls may be initiated. For unlock, the admin state is set to unlocked.
The permanentUnlock and permanentForcelock commands are deprecated.
Use the ifAdminInitialAdminState variable instead when a permanent setting
is desired.
This variable?s semantics are different depending on protocol and/or
hardware platforms.
Please refer to the documentation shipped with your device for more details.
Context
- MIB
- MX-IF-ADMIN-MIB
- OID
.1.3.6.1.4.1.4935.5.8.1.10.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Default
noOp- Parent
- ifAdminEntry
- Groups
- 1
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 'MX-IF-ADMIN-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-IF-ADMIN-MIB::ifAdminSetAdmin'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-IF-ADMIN-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-IF-ADMIN-MIB::ifAdminSetAdmin.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-IF-ADMIN-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-IF-ADMIN-MIB::ifAdminSetAdmin'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | noOp |
1 | permanentUnlock |
2 | lock |
3 | forcelock |
4 | permanentForcelock |
5 | unlock |
Conformance
Member of