====== Dell EMC SmartFabric ======
Connect to a switch using ''ssh''.
===== Navigation =====
^ Paged output | Expand by one line | Return |
^ ::: | Expand by one screen (25 lines?) | Space |
^ ::: | Cancel paging | q |
^ Help and completion | Complete a prompt | Tab |
^ ::: | Show all possible commands and subcommands | ? |
===== Frequently Used Commands =====
^ Mode ^^^ Effect ^ Example ^
^ Main ^^| Show complete config | ''show running-config'' |
| ::: | ::: | ::: | Show VLAN setup | ''show vlan'' |
| ::: | ::: | ::: | Enter config mode | ''conf t'' |
^ Config | || Change settings for this interface | //e.g.// \\ ''int vlan 23'' \\ ''int gigabit 1/23'' \\ //This will put you in the interface config mode// |
| ::: ^ Interface Config ^ VLAN | Add ports to VLAN | ''untagged Gi 1/38'' //or// \\ ''tagged Gi 1/38'' |
| ::: | ::: ^ ::: | Remove ports from VLAN | ''no untagged Gi 1/38'' //or// \\ ''no tagged Gi 1/38'' |
| ::: | ::: ^ Port | Shutdown port \\ //(sometimes necessary for further configuration)// | ''shutdown'' |
| ::: | ::: ^ ::: | Reset port config | ''no portmode hybrid'' \\ ''no switchport'' \\ ''shutdown'' \\ //Refer to ''show running-config'' to see all the options on a port!// |
| ::: | ::: ^ ::: | Allow port to use tagged VLANs | ''portmode hybrid'' \\ ''switchport'' \\ ''no shutdown'' \\ //Then, continue to edit the VLANs and add the port// |
| ::: | ::: ^ ::: | Exit interface config mode | ''exit'' |
| ::: | || End config mode | ''end'' |
^ Main ^^| Make persistent/write config | ''wr'' \\ ''copy running-config startup-config'' |
===== Public Key Authentication =====
==== Authenticate with OS9 =====
conf t
ip ssh rsa-authentication enable
exit
start shell # (login as admin)
echo "$PUBKEY" > /f10/flash/id_rsa.pub
exit
ip ssh rsa-authentication my-authorized-keys flash://id_rsa.pub
wr
==== Authenticate with OS10 ====
conf t
username admin sshkey "$PUBKEY"
ex
wr