The switch has 48 SFP+ 10 Gb/s and 4 QSFP+ 40 Gb/s ports
When connecting for the first time through the console, specify the password for the admin user:
Do you want to enforce secure password standard (yes/no): yes Enter the password for "admin": Confirm the password for "admin": Would you like to enter the basic configuration dialog (yes/no): noSwitch to configuration mode and specify the firmware file:
configure terminalshow incompatibility nxos bootflash:nxos.7.0.3.I4.6.binboot nxos bootflash:/nxos.7.0.3.I4.6.binexitSave the configuration and reboot the switch:
copy running-config startup-config reloadThis command will reboot the system. (y/n)? [n] yNext, we look at the current and saved configuration:
show running-configshow startup-configDuring switching on the switch, if necessary, you can switch to bootloader mode:
Press ctrl L to go to loader prompt in 2 secs
From the bootloader, you can also manually start the switch with the specified firmware:
loader>boot bootflash:nxos.7.0.3.I4.6.bin
Or like this:
switch(boot)#load bootflash:nxos.7.0.3.I4.6.bin
Select the ports mode, and after this action you need to restart the cat:
hardware profile portmode ?
hardware profile portmode 48x10g+4x40ghardware profile portmode 52x10g+3x40ghardware profile portmode 56x10g+2x40ghardware profile portmode 60x10g+1x40ghardware profile portmode 64x10gexitreloadAdd the necessary VLANs and, if necessary, descriptions:
vlan 100name Managementvlan 200name UsersexitConfiguring access and trunk ports:
interface Ethernet1/46switchportswitchport mode accessdescription disneternswitchport access vlan 200storm-control broadcast level 0.50interface Ethernet1/44switchportswitchport mode trunkswitchport trunk allowed vlan 100,200Configuring a hybrid port, Vlan 100 without a tag, and all other vlans with a tag:
switchport mode trunk switchport trunk native vlan 100 switchport trunk allowed vlan 300-400,100By default, ports 1-48 are configured for 10 Gb / s, to connect 1 Gb / s you need to specify:
interface ethernet 1/1-20speed 1000interface ethernet 1/21-48speed 10000Time zone and ntp server for time synchronization:
ntp server 10.5.103.20clock timezone UTC 3 0show clockSet up SNMP:
snmp-server community blabla ro
If interface vlan (SVI) will be created, then you need to activate feature interface-vlan:
how featurefeature interface-vlanCreate an interface vlan (SVI)
vlan 100exitinterface vlan 100description supportip address 172.20.1.5/24ip address 10.5.100.5/24 secondaryno ip redirectsno shutdownexitDefault route:
ip route 0.0.0.0/0 172.20.1.1
Or:
vrf context defaultip route 0.0.0.0/0 172.20.1.1Setting mgmt port:
int mgmt 0ip address 192.168.100.10/24exitvrf context managementip route 0.0.0.0/0 192.168.100.1exitping 192.168.100.55 vrf managementYou can specify hostname:
hostname nexus
show versionshow system uptimeshow system resourcesshow boot variablesshow banner motdshow featureshow vdc membershipshow running-config copp allshow running-config interface ethernet 1/1-10show interface ethernet 1/1 transceiver detailsshow interface ethernet 1/1-10show interface statusshow interface briefshow interface Ethernet1/52show interface Ethernet1/52 briefshow processes cpushow processes logshow processes log detailsshow processes memoryshow loggingshow cli historyshow install all statusdirshow sprom allshow inventoryshow moduleshow environmentshow environment powershow environment fanshow environment fan detailshow environment temperatureshow licenseshow system reset-reasonshow terminalUptime :
show version
Allow the use of SFP modules from third-party manufacturers:
service unsupported-transceiver
When using third-party SFP and DAC cables, you can specify the commands below for the interfaces, since without them there was either no link or it disappeared after a while, for example:
interface ethernet 1/52no negotiate autoduplex fullYou can also turn off flow-control if it didn't turn off automatically:
no flowcontrol receiveno flowcontrol sendSet console sessions to end after 30 minutes:
line consoleexec-timeout 30An example of restricting access to the switch by IP addresses:
ip access-list managepermit ip 10.100.5.1/32 anypermit ip 192.168.100.5/32 anyline vtyexec-timeout 30access-class manage intelnet activation:
feature telnet
To clear the configuration, use the command:
write erase
An example of copying the current and saved configuration to a TFTP server:
copy running-config tftp://disnetern.ru/running-config.bakcopy startup-config tftp://disnetern.ru/startup-config.bakAn example of restoring a configuration from a TFTP server:
copy tftp://disnetern.ru/running-config.bak running-config
See Also :