### Show interface brief
displayinterfacebrief### Gets Serial Number
displaydevicemanuinfo### Tag vlan 1
porttrunkpermitvlan1#### Backup Switch
backupstartup-configurationtox.x.x.x#### wipe config from switch
resetsaved-configurationmainresetsaved-configurationbackuprebootny### Set up SSH, SFTP, TACACS
### From <https://www.madari.co.il/2017/07/hpe-comware-7-using-tacacs-with-aruba.html>
public-keylocalcreatersasshserverenableundosshservercompatible-ssh1xsftpserverenablesshuseradminservice-typeallauthentication-typepasswordlocal-useradminservice-typesshtelnetterminaltacacs-serverhost <ipofprimaryauthserver> key <tacacspassword>
tacacs-serverhost <ipofsecondaryauthserver> key <tacacspassword>
aaaauthenticationloginprivilege-modeaaaauthenticationsshlogintacacslocalaaaauthenticationconsolelogintacacslocalaaaaccountingexecstart-stoptacacsaaaaccountingcommandsstop-onlytacacshwtacacsschemeCPPMprimaryauthentication <ipofprimaryauthserver>
primaryauthorization <ipofprimaryauthserver>
primaryaccounting <ipofprimaryauthserver>
keyauthenticationsimple <tacacspassword>
keyauthorizationsimple <tacacspassword>
keyaccountingsimple <tacacspassword>
user-name-formatwithout-domaindomaindomain.comauthenticationloginhwtacacs-schemeCPPMlocalauthorizationloginhwtacacs-schemeCPPMlocalaccountingloginhwtacacs-schemeCPPMaccountingcommandhwtacacs-schemeCPPMauthorizationcommandhwtacacs-schemeCPPM#### Configure the use for default domain
domaindefaultenabledomain.com#### Configure default role
roledefault-roleenable#### Last configure user interface access
linevty063authentication-modeschemeuser-rolenetwork-operatorcommandauthorizationcommandaccounting