Hello All.
Running into an odd issue here.
Trying to apply the below script to a 3750X cisco switch. It executes and applies fine, but I am unable to get access to the switch using the created user and pass.
Any ideas on what I am doing wrong?
Thanks in advance.
-Allan
------------------------------------------------------------------------
script ChangeEnablePasswordCiscoIOS (
NCM.Nodes @ContextNode,
string @EnablePassword,
string @AdminUsername )
{
CLI
{
configure terminal
enable secret 0 @EnablePassword
username @AdminUsername privilege 15 password 0 @EnablePassword
no username admin
exit
}
}