Cisco IOS Switch discover as a Router rather than a Switch in NCM and updating the Cisco.Models file does not resolve issue
search cancel

Cisco IOS Switch discover as a Router rather than a Switch in NCM and updating the Cisco.Models file does not resolve issue

book

Article ID: 331030

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Users have updated the Cisco.models file to allow discovery of Cisco Switch and set the package ID as 2 (2 = Switch, see notes below).

 

All the classes for network are selected/enabled in System Administration. After device discovery, Smarts NCM still identifies the device as a Router.

Environment

NCM 10.X

Cause

ipForwarding is set/enabled on the device:

IP-MIB::ipForwarding (1.3.6.1.2.1.4.1) = INTEGER: forwarding(1)

 
This is an indication that this device is acting as an IPv4 router in respect to the forwarding of datagrams received by this entity.

Resolution

ipForwarding is set to 1 in devices MIB, which means routing is enabled on the Switch. 

Even if we add as Cisco IOS Switch in models file, NCM will not discover under that class based on device configuration details.

If you want NCM to detect device as Switch, disable IP forwarding on the device.


Additional Information

In Cisco.Models file:

  • Package ID: 1 Cisco IOS Router
  • Package ID: 2 Cisco IOS Switch