All MIBs › ACC-FAKE › ospfIfType
ospfIfType
Module: ACC-FAKE
OID (symbolic): ACC-FAKE::ospfIfType
OID (numeric): 1.3.6.1.4.1.5.2.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
The OSPF interface type. By way of a default, this field may be intuited from the corresponding value of ifType. Broadcast LANs, such as Ethernet and IEEE 802.5, take the value 'broadcast', X.25, Frame Relay, and similar technologies take the value 'nbma', and links that are definitively point to point take the value 'pointToPoint'.
What is ospfIfType?
ACC-FAKE::ospfIfType is an integer that specifies the type of OSPF interface, such as broadcast (Ethernet), point-to-point (serial link), or NBMA (Non-Broadcast Multi-Access like Frame Relay). Network engineers set this to tell the router how to send hellos and elect a designated router—for example, broadcast links elect a DR automatically, while point-to-point links don't need one. Typical values are 1 for broadcast, 3 for point-to-point, or 4 for NBMA.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.2.6 snmpwalk -v2c -c public <target> ACC-FAKE::ospfIfType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5.2.6.1 snmpget -v2c -c public <target> ACC-FAKE::ospfIfType.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5.2.6.1 i <value>