cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
55
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee
Cisco Employee

vMS: NCS fails to add CPE device

Hi,

I am facing an issue with VMS deployment with NCS failing to add CPE device even though the tunnel to management up is active. The CPE device is C2911 running IOS version “15.5(2)T2” and ncs version is 3.4.2.1.

Once the PNP pushes day0 configuration to CPE, I see its following state in NCS.

admin@ncs-sm01> show pnp-state

pnp-state mgmt-address-top 10.254.0.4

pnp-state device FTX1641AKUG

udi           PID:CISCO2911/K9,VID:,SN:FTX1641AKUG

device-info   15.5(2)T2

ip-address 10.254.0.250

mgmt-ip 10.254.0.4

port 22

name cpe-FTX1641AKUG

username admin

password cisco123

sec-password cisco123

salt ABCD

remote-node ""

wan-interface GigabitEthernet0/0

lan-interface GigabitEthernet0/1

configured true

request backoff

added false

synced false

is-netsim false

need-clean false

pending-exec ""

last-contact 2015-10-30 06:02:07

last-clean 0

Since the device-info is populated with the version string 15.5(2)T2, I created a new interface map with appropriate WAN and LAN interface of my choice as shown below and re-tested it

but with no luck.

admin@ncs-sm01% show pnp interface-map CISCO29[0-9][0-9]

wan GigabitEthernet0/0;

lan GigabitEthernet0/1;

From the logs, it’s clear that the device sent the work request but NCS fails to add and perform ssh fetch and sync-from.

admin@ncs-sm01# Device sent: "WORK-REQUEST"

admin@ncs-sm01# Correlator: CiscoPnP-1.0-14-462-41C0E304

admin@ncs-sm01# send backoff message to device

admin@ncs-sm01# Device is configured: add it to NCS and do fetch-keys, and sync-from

admin@ncs-sm01# Device sent: "WORK-RESPONSE"

and following is the NCS error report

{error_report,<0.8.0>,

     {<0.3073.0>,crash_report,

[[{initial_call,{pnp,'-schedule_work/4-fun-0-',[]}},

        {pid,<0.3073.0>},

        {registered_name,[]},

        {error_info,

            {error,

                {case_clause,nomatch},

[{pnp,match_type,4,[{file,"pnp.erl"},{line,2120}]},

{pnp,add_device,5,[{file,"pnp.erl"},{line,2063}]},

                 {pnp,add_to_ncs,2,[{file,"pnp.erl"},{line,1848}]},

{proc_lib,init_p,3,[{file,"proc_lib.erl"},{line,224}]}]}},

{ancestors,[pnp,<0.172.0>,<0.171.0>]},

        {messages,[]},

        {links,[]},

        {dictionary,[]},

        {trap_exit,false},

        {status,running},

        {heap_size,1598},

        {stack_size,27},

        {reductions,2131}],

       []]}}}

I have checked the authgroup created for the default admin/oper/system user.

admin@ncs-sm01# show running-config devices authgroups

devices authgroups group default

umap admin

  remote-name               admin

  remote-password           $4$dLb7JU6Bdzy0Rs4icifw4A==

  remote-secondary-password $4$dLb7JU6Bdzy0Rs4icifw4A==

!

umap oper

  remote-name     oper

  remote-password $4$zp4zerM68FRwhYYI0d4IDw==

!

umap system

  remote-name               admin

  remote-password           $4$dLb7JU6Bdzy0Rs4icifw4A==

  remote-secondary-password $4$dLb7JU6Bdzy0Rs4icifw4A==

!

!

Can you please help me figure out what could be the issue here?

Rgds, Som.

Message was edited by: Somashekar S V

Everyone's tags (2)
Content for Community-Ad
Cisco Community July 2020 Spotlight Award Winners