cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
943
Views
0
Helpful
1
Replies

while i use the device type as 'cisco_nxos' or cisco_ios this loggs into juniper

tummalapalli
Level 1
Level 1

device = {
'device_type': 'cisco_nxos',
'ip': hostname,
'username': username,
'password': password,
'verbose': False
}

 

while i use the device type as 'cisco_nxos' or cisco_ios this loggs into juniper and this seems to be strange... this is first time for me..!!

1 Reply 1

omz
VIP Alumni
VIP Alumni

What do you mean by logs into juniper? A Juniper router/swith?

 'ip': hostname, must be pointing to a Juniper device ... 'device_type': 'cisco_nxos', ,, does not mean to find and login to only cisco_nxos .. its for handling commands and output from the device.  'ip': hostname, the hostname must be the device you want to login.