Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Device discovery failed in ANM

Hi,

I've got the following error message when I want to import a 6506 in 12.2(33)SXI2 with an ACE module.

I've tried in ANM 2.2 and 3.0 = same problem.

Can someone help me ?

Device discovery failed: Exception occured for model:VlanModel
Exception occured for model:InterfaceModel
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort
com.cisco.nm.dice.pkgs.features.interfaces.dm.L2Trunk cannot be cast to com.cisco.nm.dice.pkgs.features.interfaces.dm.RoutedPort.

Thanks,

Greg.

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Device discovery failed in ANM

The other error is the following defect

CSCte08994   Unable to import IOS device with "type tunnel" interface configured.

Joel Lamousnery

Customer Support Engineer

Data Center - Application Networking Services

Joel Lamousnery CCIE R&S - 36768 Engineer, Customer Support Technical Services
3 REPLIES
Cisco Employee

Re: Device discovery failed in ANM

Hi Greg,


The error message you are seeing is likely triggered by some un-expected configuration on the cat6k.


It is likely your cat6k configuration has an interface defined as a switchport which has a subinterface  defined on it.
This is usually not allowed on most sup versions that we  have seen and hence is not modeled/ cannot be discovered in  ANM.

We have bug id CSCtd94658 opened for this issue.

You  could try to have your customer remove the subinterface indicated above and then  try the import into ANM.
Also,  they could maybe add back that interface if really required after the initial  import.
Since  Cat6k configs are not auto-sync'ed in ANM, they will be okay until they do a  manual sync.
This workaround in also documented in the release notes of CSCtd94658.

Thanks
Sujatha
========
New Member

Re: Device discovery failed in ANM

Hi,

Thanks for the answer.

I found it with the help of the TAC.

Now it is corrected but I've got another issue.

Device discovery failed: Exception occured for model:VlanModel

Exception occured for model:InterfaceModel

java.lang.NullPointerException

java.lang.NullPointerException

java.lang.NullPointerException.

do you have any idea ?

Thanks.

New Member

Re: Device discovery failed in ANM

The other error is the following defect

CSCte08994   Unable to import IOS device with "type tunnel" interface configured.

Joel Lamousnery

Customer Support Engineer

Data Center - Application Networking Services

Joel Lamousnery CCIE R&S - 36768 Engineer, Customer Support Technical Services
674
Views
0
Helpful
3
Replies
CreatePlease to create content