cmgwAdminState
CISCO-MEDIA-GATEWAY-MIB ·
.1.3.6.1.4.1.9.9.324.1.1.1.1.5
Object
This object is used to change the service state of the Media Gateway from inService to outOfService or from outOfService to inService. The resulting service state of the gateway is represented by 'cmgwServiceState'.
Context
- MIB
- CISCO-MEDIA-GATEWAY-MIB
- OID
.1.3.6.1.4.1.9.9.324.1.1.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cMediaGwEntry
- Groups
- 3
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 'CISCO-MEDIA-GATEWAY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-MEDIA-GATEWAY-MIB::cmgwAdminState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-MEDIA-GATEWAY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-MEDIA-GATEWAY-MIB::cmgwAdminState.<cmgwIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-MEDIA-GATEWAY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-MEDIA-GATEWAY-MIB::cmgwAdminState'
Syntax
- Source
- CGwAdminState
- Base type
Enumeration
Values & Constraints
Type Values
1 | inService |
2 | forcedOutOfService |
3 | gracefulOutOfService |
Conformance
Member of