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

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 

猜你喜欢

转载自www.cnblogs.com/wsnan/p/11068343.html