rcL3StaticGateway
SWITCH-L3-MIB ·
.1.3.6.1.4.1.8886.6.1.16.2.9.1.5
Object
column SNMPv2-TCTruthValue
DURABLE: { false:all )
By setting this object to true(1), the user indicates that this
subnet route is a gateway route (i.e., connected to external
router). By setting it to false(2), the user indicates that this
is a direct route. If 'rcL3IpStaticMask' is '255.255.255.255'
(i.e., a host route) for this entry, this object cannot be set
to true(1).
Context
- MIB
- SWITCH-L3-MIB
- OID
.1.3.6.1.4.1.8886.6.1.16.2.9.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rcL3StaticRouteEntry
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 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-L3-MIB::rcL3StaticGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-L3-MIB::rcL3StaticGateway.<rcL3StaticRouteType>.<rcL3StaticDestAddress>.<rcL3StaticPrefixLen>.<rcL3StaticNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-L3-MIB::rcL3StaticGateway'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |