zoukankan      html  css  js  c++  java
  • Cisco N9K重置admin用户密码

    Step1:重启N9K设备机框,重启加载过程中按Ctrl+C键

    进入loader模式

    Step2:设置admin还原模式

    loader > cmdline recoverymode=1  

    Step3:设置引导IMAGE,如不确定可以通过dir查看

    loader > dir

    bootflash::

    lost+found
    .patch
    .rpmstore
    nxos.9.3.3.bin
    home
    aci-n9000-dk9.14.1.2g.bin
    license_FDO241403K1_62.lic
    .swtam
    eem_snapshots
    virtual-instance
    scripts
    tmptmp
    20200423_103604_poap_824_init.log
    poap_retry_debugs.log
    20200423_103604_poap_824_1.log
    20200423_103604_poap_824_2.log
    platform-sdk.cmd
    nxos.7.0.3.I7.7.bin
    bootflash_sync_list

    loader > boot nxos.9.3.3.bin                                  //设定引导image

    Step4:重置admin密码

    Copyright (C) 2002-2019, Cisco and/or its affiliates.
    All rights reserved.
    The copyrights to certain works contained in this software are
    owned by other third parties and used and distributed under their own
    licenses, such as open source. This software is provided "as is," and unless
    otherwise stated, there is no warranty, express or implied, including but not
    limited to warranties of merchantability and fitness for a particular purpose.
    Certain components of this software are licensed under
    the GNU General Public License (GPL) version 2.0 or
    GNU General Public License (GPL) version 3.0 or the GNU
    Lesser General Public License (LGPL) Version 2.1 or
    Lesser General Public License (LGPL) Version 2.0.
    A copy of each such license is available at
    http://www.opensource.org/licenses/gpl-2.0.php and
    http://opensource.org/licenses/gpl-3.0.html and
    http://www.opensource.org/licenses/lgpl-2.1.php and
    http://www.gnu.org/licenses/old-licenses/library.txt.
    switch(boot)# conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    switch(boot)(config)# admin-password 新密码

     Step5:重新引导系统

    switch(boot)# load-nxos
    Unsquashing rootfs ...
    Total size needed in bootflash is 99892
    check bootflash : OK
    Total size needed in bootflash is 35152
    check bootflash : OK
    Creating /dev/mcelog
    Starting mcelog daemon
    mcelog: Family 6 Model 56 CPU: only decoding architectural errors
    INIT: Switching to runlevel: 3
    INIT: Sending processes the TERM signal
    fastboot or torissu for Tahoe cards

  • 相关阅读:
    大数问题(三)(大数相除)
    直接插入排序的四种实现方法
    蟠桃记
    杭电oj find your present (2)
    CSS中的class与id区别及用法
    史上最全的css hack(ie6-9,firefox,chrome,opera,safari) (zz)
    CSS之CSS hack
    HTML语言的一些元素(五)
    HTML语言的一些元素(四)
    HTML语言的一些元素(三)
  • 原文地址:https://www.cnblogs.com/networking/p/13844699.html
Copyright © 2011-2022 走看看