gbnL3IpRouteFlags
QTECH-GBNL3-MIB ·
.1.3.6.1.4.1.27514.1.2.5.1.1.5.4.1.12
Object
column SNMPv2-SMIUnsigned32
Not implemented. Returns '0'.
Contains the information required for a netstat-like
'Flags' field.
The flags field represents a decimal value of the flags
specified for a given route. The following is a list of
currently available flag values:
0x1 | - route is usable (that is, 'up')
0x2 | - destination is a gateway
0x4 | - host specific routing entry
0x8 | - host or net unreachable
0x10 | - created dynamically (by redirect)
0x20 | - modified dynamically (by redirect)
0x40 | - message confirmed
0x80 | - subnet mask present
0x100 | - generate new routes on use
0x200 | - external daemon resolves name
0x400 | - generated by ARP
0x800 | - manually added (static)
0x1000 | - just discard packets (during updates)
0x2000 | - modified by management protocol
0x4000 | - protocol specific routing flag
0x8000 | - protocol specific routing flag
For example, if the entry in the Routing Table has a flag
value of decimal 5, (0x1 OR'ed with 0x4), then this route
is 'up' and usable and is host-specific.
Context
- MIB
- QTECH-GBNL3-MIB
- OID
.1.3.6.1.4.1.27514.1.2.5.1.1.5.4.1.12- Type
- column
- Access
- readonly
- Status
- current
- Parent
- gbnL3IpRouteEntry
- 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 'QTECH-GBNL3-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-GBNL3-MIB::gbnL3IpRouteFlags'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'QTECH-GBNL3-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-GBNL3-MIB::gbnL3IpRouteFlags.<gbnL3IpRouteDest>.<gbnL3IpRouteMask>.<gbnL3IpRouteNextHopIp>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-GBNL3-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-GBNL3-MIB::gbnL3IpRouteFlags'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of