Cisco Nexus 9K NX-OS 7 basic setup ssh snmp oob ntp

 

Cisco Nexus 9000 – NX OS 7 basic setup for out of band network, ssh and snmp

conf t
enter into configuration mode
interface mgmt0
configure management interface
ip address 192.168.7.223 255.255.255.0
setup ip address
exit
vrf context management
ip route 0.0.0.0/0 192.168.7.100
setup default route for oob / management interface
no password strength-check
this is an optional step for a lab setup, depends on your security policy
no feature telnet
this is an optional step for a lab setup, depends on your security policy, better to turn off telnet
switchname n9k
setup switch hostname
ssh key rsa 2048 force
setup RSA key complexity to 2048 bit
feature ssh
turn on ssh service
ntp server 192.168.7.1
setup an ntp time server
snmp-server community snmpitminutes ro
setup snmp v2 community string
system default switchport
this is an optional step if you want to use interfaces as L2 switch ports
no system default switchport shutdown
setup default switchport mode
boot nxos nxos.7.0.3.I2.2b.bin
setup boot image parameter, you can check the exact image file name before with dir command
copy running startup
save configuration

Share with: