The focus here is not a "normal" setup of the switch , but strictly for HPC cluster usage. Note that randomly turning off options such as STP could cause havoc on a campus network! (but is safe in a single level HPC cluster private network)
Note that STP can be safely turned off only if the switch is exclusively for cluster usage. If the switch is connected to existing networks, please contact the site Network Engineer and check, get his approval first!
configure no spanning-tree exit Console#copy running-config startup-config Startup configuration file name []: startup Write to FLASH Programming. Write to FLASH finish. Success.
From the config menu:
ip http server ip http port 8000
console# configure console(config)# interface vlan 1 console(config-if)#ip address 10.10.1.254 255.255.255.0 exit ip default-gateway 10.10.1.1 copy running-config startup-config
(typically you need to know the switchport# connection to server#)
Console#show mac-address-table interface ethernet 1/2 Interface Mac Address Vlan Type --------- ----------------- ---- ----------------- Eth 1/ 2 00-14-5E-32-9A-46 1 Learned Console#show mac-address-table Interface Mac Address Vlan Type --------- ----------------- ---- ----------------- Eth 1/ 2 00-14-5E-32-9A-46 1 Learned Eth 1/22 00-14-5E-32-99-56 1 Learned Eth 1/47 00-14-5E-2B-9E-7F 1 Learned