All MIBs › CISCO-OSPF-MIB › cospfShamLinkState
cospfShamLinkState
Module: CISCO-OSPF-MIB
OID (symbolic): CISCO-OSPF-MIB::cospfShamLinkState
OID (numeric): 1.3.6.1.4.1.9.10.99.6.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: OSPF sham link states.
What is cospfShamLinkState?
This object reports the current operational state of a sham link, which for this link type only has two meaningful values, down or fully-formed point-to-point, unlike regular OSPF interfaces that pass through several intermediate states. It matters as the simplest, most direct answer to whether this backdoor-link-masking sham link is actually working, since there is no partial or transitional state to interpret. Seeing this stuck at down when the underlying MPLS VPN path is otherwise healthy would point an admin toward checking the Hello or dead interval mismatch or an OSPF authentication issue rather than a transport-layer fault.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.10.99.6.1.7 snmpwalk -v2c -c public <target> CISCO-OSPF-MIB::cospfShamLinkState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.10.99.6.1.7.1 snmpget -v2c -c public <target> CISCO-OSPF-MIB::cospfShamLinkState.1
Start monitoring Cisco routers running OSPF with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-OSPF-MIB::cospfShamLinkState OID value, configure state conditions and alerts, and monitor any Cisco routers running OSPF from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.10 | ciscoExperiment | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.10.99 | cospf | CISCO-OSPF-MIB |
| 1.3.6.1.4.1.9.10.99.6 | cospfShamLinkTable | CISCO-OSPF-MIB |
| 1.3.6.1.4.1.9.10.99.6.1 | cospfShamLinkEntry | CISCO-OSPF-MIB |
| 1.3.6.1.4.1.9.10.99.6.1.7 | cospfShamLinkState | CISCO-OSPF-MIB |