Any commands that alter how the device functions requires the 'enable' command to be run prior.
If you do not save the running config, all changes made will be reset on power off.
Configuring ranges - If a command asks for an [interface-id] you may replace that with 'range [interface][start id]-[end id]' eg: interface range gi1/0/1-24
Save config - copy running-config startup-config
Show port config/status - show interfaces status
Configure port as trunk
Configure port as access
Enable Buffered Logging (local logging)
Clear Logs
View Logs
Show List of ErrDisable reasons enabled Status
Enable/Disable ErrDisable reason