1,723
edits
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
* | * | ||
=== Show IP Address === | ===Show IP Address=== | ||
* show ip interface management | *show ip interface management (for a 7000 Series Switch the equivalent command is: show ip interface out-of-band) | ||
===Set IP Address=== | ===Set IP Address=== | ||
Line 20: | Line 20: | ||
*config | *config | ||
*ip address W.X.Y.Z /24 (assuming the subnet for the IP Address will be 255.255.255.0) | *ip address W.X.Y.Z /24 (assuming the subnet for the IP Address will be 255.255.255.0) | ||
*For a 7000 Series Switch (from https://www.dell.com/support/kbdoc/en-us/000122285/how-to-configure-an-ip-address-on-dell-networking-powerconnect-switches#Assign-IP-Address-Out-of-Band-Interface-thru-Command-Line-Configuration): enable, configure, interface out-of-band, ip address W.X.Y.Z /24 | |||
===Change a User Name / Password=== | ===Change a User Name / Password=== | ||
Line 25: | Line 26: | ||
*enable | *enable | ||
*config | *config | ||
*show users (just to check and see what's configured) | |||
*username WhatEverUserName password WhatEverPassword level 15 (admin is the default user name, level 15 is the 'highest privilege' IE Administrator) | *username WhatEverUserName password WhatEverPassword level 15 (admin is the default user name, level 15 is the 'highest privilege' IE Administrator) | ||
*For a 7000 Series switch use the term ''privilege'' instead of ''level'' | |||
===Change Web Interface / GUI from HTTPS to HTTP=== | ===Change Web Interface / GUI from HTTPS to HTTP=== | ||
Line 41: | Line 44: | ||
...the rest is from the command line | ...the rest is from the command line | ||
* enable | *enable | ||
* show version (just to make sure the image got uploaded properly and to check which image it is currently booting from) | *show version (just to make sure the image got uploaded properly and to check which image it is currently booting from) | ||
* boot system image1 OR boot system image2 (depending on which image it is currently booted from, set it to the other one) | *boot system image1 OR boot system image2 (depending on which image it is currently booted from, set it to the other one) | ||
* update bootcode | *update bootcode | ||
* Router will reboot and install new firmware | *Router will reboot and install new firmware | ||
* show boot-version (just to make sure it finished the upgrade and booted to the expected image) | *show boot-version (just to make sure it finished the upgrade and booted to the expected image) | ||
*For a 7000 Series Switch: copy tftp://WhatEverIP/WhatEverFileName image (where ''image'' is the name of a file), boot system image# (where image# is the image that isn't the current one and is also the one that will be updated), update bootcode (answer yes to question and switch will reboot, update firmware) | |||
===Reset to Factory Defaults=== | ===Reset to Factory Defaults=== | ||
Line 54: | Line 58: | ||
*reload (switch will restart) | *reload (switch will restart) | ||
*StartUp Wizard will start after reboot | *StartUp Wizard will start after reboot | ||
===Enable SSH Access=== | |||
*enable | |||
*config | |||
*crypto key generate rsa | |||
*crypto key generate dsa | |||
*ip ssh server | |||
Enable HTTPS | |||
*crypto certificate 1 generate | |||
*key-generate <512-2048> (the <512-2048> means pick a number like 512, 1024, 2048) | |||
*exit | |||
*ip https certificate 1 | |||
*ip https server | |||
=== "Restart" / "Reset" === | |||
...nope: reload | |||
=== ENABLE via Telnet or SSH === | |||
When accessing the switch via ethernet through Telnet or SSH, the enable command will not work unless a password is set. Oh, unlike the serial connection the switch requres a password when "enabling", and if one isn't set, the ''enable'' command generates an error: Authentication failed. | |||
In the GUI: System, Management Security, Enable Password: set a password (recommend it match the "admin" / root password) | |||
===Documentation Faux Pas=== | ===Documentation Faux Pas=== |