• nxos启动的初始化和https访问nx-api


    初次启动时执行以下操作

    1.启动node,并且交互如下:

    Abort Auto Provisioning and continue with normal setup ?(yes/no)[n]:  yes

    Do you want to enforce secure password standard (yes/no) [y]: no

      Enter the password for "admin": 
      Confirm the password for "admin": 

    admin

    admin

             ---- Basic System Configuration Dialog VDC: 1 ----

    This setup utility will guide you through the basic configuration of
    the system. Setup configures only enough connectivity for management
    of the system.

    Please register Cisco Nexus9000 Family devices promptly with your
    supplier. Failure to register may affect response times for initial
    service calls. Nexus9000 devices must be registered to receive 
    entitled support services.

    Press Enter at anytime to skip a dialog. Use ctrl-c at anytime
    to skip the remaining dialogs.

    Would you like to enter the basic configuration dialog (yes/no): no

    2018 Nov 13 14:13:22 switch %$ VDC-1 %$ %ACLQOS-SLOT1-2-ACLQOS_FAILED: ACLQOS failure: TCAM region is not configured for feature QoS class IPv4 direction ingress. Please configure TCAM region Ingress COPP [copp] and retry the command. 

    Error: There was an error executing atleast one of the command
    Please verify the following log for the command execution errors.
    TCAM region is not configured. Please configure TCAM region and retry the command

    关于yes skip no

    yes 自己配置用户名密码(配置完用户名密码之后,后续的配置系统会提示是否继续配置,可以选择no)

    skip:bypass 直接跳过用户名密码的配置

    no:

    2. 第一次登录nxos

    User Access Verification
     login: admin
    Password:  密码是空的不用写

    3.给管理口设IP地址

    interface m0  地址可以设置静态,也可以设置为动态,随意

    4 开启https访问nx-api

    5 dir flash

    switch# dir flash
    No such file or directory
    switch# dir bootflash:
           4096    Nov 13 11:17:13 2018  .rpmstore/
           4096    Nov 13 11:18:00 2018  .swtam/
           6008    Nov 13 12:39:12 2018  20181113_112038_poap_26344_1.log
        1048650    Nov 13 12:38:44 2018  20181113_112038_poap_26344_init.log
      757307904    Feb 16 17:17:14 2017  nxos.7.0.3.I5.2.bin
              0    Nov 13 12:40:06 2018  platform-sdk.cmd
           4096    Nov 13 11:20:24 2018  scripts/
           4096    Nov 13 11:20:30 2018  virt_strg_pool_bf_vdc_1/
           4096    Nov 13 11:18:20 2018  virtual-instance/
             59    Nov 13 11:18:11 2018  virtual-instance.conf

    6. enter into global configuration mode

    switch# configure terminal 
    Enter configuration commands, one per line. End with CNTL/Z.
    switch(config)# boot nxos bootflash: nxos.7.0.3.I5.2.bin

    switch(config)# end

    switch# copy running-config startup-config 

  • 相关阅读:
    ZedGrapy使用实例
    C#分割字符串(包括使用字符串分割)
    从VS2005项目转换为VS2008项目(C#版)
    关于SQL操作的一些经验
    android socket 编程总结
    Excel绘制人口金字塔图
    使用命令让IE全屏显示指定的页面,适用于触摸屏终端机
    毕业这两年
    使用XML数据结合XSLT导出Excel
    XSLT实现XML作为数据源在web页面显示人口金字塔统计图
  • 原文地址:https://www.cnblogs.com/wsnan/p/11068343.html
Copyright © 2020-2023  润新知