After modeling a Cisco Nexus 7000 device with a sysOID of 220.127.116.11.18.104.22.168.22.214.171.1242, no BGP4 or OSPF application models are created even though the device is configured for BGP and OSPF and these mibs are populated on the device.
The reason the BGP and OSPF application models are not getting created is because the ipForwarding attribute on the device is set to a value of "2" which is "Not-forwarding". This can be verified by selecting the model in Spectrum, clicking on the Attributes tab in the Component Detail panel and viewing the value of the ipForwarding attribute id 0x10096. This attribute tells Spectrum if the device is routing or not. If the value is "1" (Forwarding) then Spectrum will check for the support of routing protocols like BGP4 and OSPF. If it is set to "2" (Not-forwarding) then Spectrum will NOT check for routing protocols.
In order for Spectrum to create the BGP and OSPF application models, the device has to be configured for routing; ie enable ipForwarding on the device.
After reconfiguring the device to enable ipForwarding:
1. Run a reconfiguration on the device model in Spectrum by right mouse clicking on the model and selecting Reconfiguration -> Reconfigure Model from the menu.
2. Check the value of the ipForwarding attribute of the device:
a. Find and select the device model in Spectrum
b. Click on the Attributes tab in the Compoenent Detail panel
c. Find and select the ipForwarding attribute id 0x10096 and check the value
3. If set to Forwarding (1), then right mouse click on the model and select Reconfiguration -> Rediscover SNMP MIBs from the menu to rediscover the application models
4. Check to verify the BGP and OSPF application models are created