-
Check for RADIUS or TACAS, if true fail the operation
-
term length 0
-
sh run
-
-
If not RADIUS or TACAS
-
term length 0
-
sh run
-
-
For non AAA user account password
-
conf t
-
no aaa new-model
-
For type 0
-
line console 0
-
-
For type 1
-
line aux 0
-
-
login
-
password
-
exit
-
-
For AAA user account password
-
conf t
-
aaa new-model
-
no username <oldUser>
-
username <username> privilege <userLevel> password <password>
-
username <username> password <password>
-
exit
-
-
For Privilege password
-
conf t
-
no enable secret level
-
no enable password level
-
enable secret level < level> <newPrivPass>
-
enable password level <level> <newPrivPass>
-
exit
-
-
SNMP (v1v2)
-
term length 0
-
show run | include community
-
conf t
-
snmp-server community <newSnmpCommunity> <view> <type> acl
-
no snmp-server community <oldSnmpCommunity>
-
exit
-