nsOspfRouterId
NETSCREEN-OSPF-MIB ·
.1.3.6.1.4.1.3224.18.2.1.1.1
Object
A 32-bit integer uniquely identifying the
router in the Autonomous System.
By convention, to ensure uniqueness, this
should default to the value of one of the
router's IP interface addresses.
Context
- MIB
- NETSCREEN-OSPF-MIB
- OID
.1.3.6.1.4.1.3224.18.2.1.1.1- Type
- column
- Access
- readonly
- Status
- deprecated
- Parent
- nsOspfGeneralEntry
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 'NETSCREEN-OSPF-MIB' -M '/opt/observium/mibs/netscreen:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETSCREEN-OSPF-MIB::nsOspfRouterId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETSCREEN-OSPF-MIB' -M '/opt/observium/mibs/netscreen:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETSCREEN-OSPF-MIB::nsOspfRouterId.<nsOspfGeneralVRID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETSCREEN-OSPF-MIB' -M '/opt/observium/mibs/netscreen:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETSCREEN-OSPF-MIB::nsOspfRouterId'