Skip to toolbar

Reply To: not able to push config on routers

Home Forums NetYCE Support tickets (bronze) not able to push config on routers Reply To: not able to push config on routers

#100000465
Migration User
Participant

Dear Bart,

Please find latest logs:

0613_0017.log 3745 bytes 13-Jun-2019 16:54:52
JobID: 0613_0017
01-Header ([parameters])
02-Assignment: (node_fqdn — result: (11.1.1.103))
03-Assignment: (client_type — result: (CMDB))
04-Assignment: (change_id — result: ())
05-Assignment: (vendor_type — result: (Cisco_IOS))
06-Assignment: (node_addr — result: (11.1.1.103))
07-Assignment: (domain — result: (YCE))
08-Assignment: (node — result: (r1))
09-Assignment: (node_name — result: (r1))
10-Assignment: (verbose — result: (-v))
11-Assignment: (jobid — result: (0613_0017))
12-Header ([scenario])
15-Function (Cmd_exec_basic -n r1 -a 11.1.1.103 -v Cisco_IOS -d YCE -f r1.cmd -v)
Establishing new session ‘mgmt’ for ‘r1’
== Start for ‘mgmt’ to ‘r1’
— Start – reachable
— Start – login
Cisco_IOS session to 11.1.1.103 using telnet at port 23 starting
== Verify for ‘mgmt’ to ‘r1’
— Verify – terminal
[terminal length 0] => ok
[terminal width 0] => ok
— Verify – enable
[show privilege] => ok
— Verify – check_os
Warning: OS boot image or version not specified in YCE
Verify done (0)
== Base for ‘mgmt’ to ‘r1’
— Base – disable
— Base – keep_alive
[show privilege] => ok
Base done (0)
== PreConfig for ‘mgmt’ to ‘r1’
— PreConfig – no_alive
— PreConfig – enable
[show privilege] => ok
— PreConfig – save
[copy running-config startup-config\n] => ok
— PreConfig – backup
Will use ‘ftp’ transfer method
[copy startup-config ftp://********:********@11.1.1.1/public/previous/r1%5D => failed
[copy startup-config ftp://ycicle:[email protected]/public/previous/r1%5D
[Address or name of remote host [11.1.1.1]? ]
[Destination filename [public/previous/r1]? ]
[Writing public/previous/r1 ]
[Error opening ftp://*****:*****@11.1.1.1/public/previous/r1 (No such file or directory)]
[R1#]
Backup to YCE server failed [][copy startup-config ftp://ycicle:[email protected]/public/previous/r1 Address or name of remote host [11.1.1.1]? Destination filename [public/previous/r1]? Writing public/previous/r1 Error opening ftp://*****:*****@11.1.1.1/public/previous/r1 (No such file or directory) R1#]
Action ‘PreConfig – backup’ failed: 1
PreConfig done (1)
== Fail for ‘mgmt’ to ‘r1’
Fail done (0)
== Base for ‘mgmt’ to ‘r1’
— Base – disable
— Base – keep_alive
[show privilege] => ok
Base done (0)
——————-= SESSION LOG =——————-

User Access Verification

Username: terminal length 0
R1#terminal width 0
R1#show privilege
Current privilege level is 15
R1#show privilege
Current privilege level is 15
R1#show privilege
Current privilege level is 15
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]
R1#copy startup-config ftp://********:********@11.1.1.1/public/previous/r1
Address or name of remote host [11.1.1.1]?
Destination filename [public/previous/r1]?
Writing public/previous/r1
Error opening ftp://*****:*****@11.1.1.1/public/previous/r1 (No such file or directory)
R1#show privilege
Current privilege level is 15
R1#
———————= END LOG =———————
Error: ‘cmd_exec_basic’ failed:
copy startup-config ftp://ycicle:[email protected]/public/previous/r1
Address or name of remote host [11.1.1.1]?

Destination filename [public/previous/r1]?

Writing public/previous/r1
Error opening ftp://*****:*****@11.1.1.1/public/previous/r1 (No such file or directory)
16-If (if <error>)
17-Function (Log_action -n r1 -a Basic_cmd_job -m “Failed executing commands”)
18-Stop: job finished
2019-06-13 16:54:52 ABORTED after 6 seconds

0613_0017.tsk 600 bytes 13-Jun-2019 16:54:46
Parsing scenario:
1 [parameters]
2 node_fqdn = 11.1.1.103
3 client_type = CMDB
4 change_id =
5 vendor_type = Cisco_IOS
6 node_addr = 11.1.1.103
7 domain = YCE
8 node = r1
9 node_name = r1
10 verbose = -v
11 jobid = 0613_0017
12 [scenario]
13 Description r1 Basic command job…
14 Description r1 Basic command job
15 Cmd_exec_basic -n r1 -a 11.1.1.103 -v Cisco_IOS -d YCE -f r1.cmd -v
16 if <error>
17 Log_action -n r1 -a Basic_cmd_job -m “Failed executing commands”
18 stop
19 endif
20 Log_action -n r1 -a Basic_cmd_job -m “Completed executing commands”
21 end