N9K交换机配置命令记录

配置每次启动加载镜像

dir  //查看,会有一个.bin文件
config t
boot nxos bootflash:xxx.bin
end 
copy run start

管理口配置ip

config t
interface mgmt 0  //配置管理口
ip add dhcp
no shutdown
end
copy run start

配置可以发送命令,打开网页沙盒调试

config t
show nxapi
feature nxapi   //如果输入两次一样的就是关闭了
nxapi http port 80 
end
copy run start

查看管理口信息 主要看ip

show interface mgm0 

你可能感兴趣的:(网络)