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

Unable to login to cisco 9k Nexus switch after POAP is done

rohinidatta-yv
Level 1
Level 1

Hi, 

I am able to do POAP for cisco 9k Nexus switch, but once POAP is done, I am unable to login to the switch using the credentials which are given in config file used for provisioning the switch. Other Config is successfully applied, I am able to ping the management IP given. It is even asking for password prompt during ssh, but giving "Password Incorrect".

POAP Script I used:

#!/bin/env python
#md5sum="844e9e4a49f600e2d994093b5d182243"
from cli import *
import sys

cli('copy tftp://172.21.254.59/ztp.cfg bootflash:ztp.cfg vrf management ; end')
cli('copy running-config startup-config ; end')
cli('copy bootflash:ztp.cfg scheduled-config ; end')

 

 

Config I used:

#md5sum="665d9501401a1a79fef7e31e7a74fc14"
!
hostname NEXUS-SWITCH-WITH-USERNAME
!
feature ssh
interface mgmt0
ip address 172.21.254.191/16
description DOWNLOADED-FILE
!
vrf context management
ip route 0.0.0.0/0 172.21.254.59
!
ip ssh source-interface mgmt 0
!
username admin password 0 admin@123
!

0 Replies 0