mdgGatewayType
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.21.1.1.2
Object
column r/w
Enumeration
To add a new entry to the mdgGatewayTable, set this object to primary(2) or other(3) for an IP address which is not already in the table. The primary entry will be used first, if it is reachable. Otherwise, one of the other entries will be used. Setting one entry to primary(2) causes any previous primary entry to change to other(3). To remove an entry from the table, set this object to invalid(1). Changing an existing entry from primary(2) to other(3) is not allowed. If the value of this object is updated, the corresponding entry of the ipRouteTable (mibII) will be updated and vice versa.
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.21.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mdgGatewayEntry
- 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 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::mdgGatewayType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::mdgGatewayType.<mdgGatewayAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::mdgGatewayType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | invalid |
2 | primary |
3 | other |
Conformance
Member of