Elective 1: Midterm Flashcards
PURPOSE:
* Allow you to connect with remote devices, perform basic tests, temporary change terminal setting, list system information
PROMPT:
* ___
✧ User EXEC
Switch >
COMMAND TO ENTER:
* Default mode after booting. Login with password, if configured.
✧ User EXEC
PURPOSE:
* Allow you to set operating parameters. It also includes high level testing and list commands like show, copy, debug.
PROMPT:
___
✧ Privileged EXEC
* Switch #
COMMAND TO ENTER:
* Use enable command from user exec mode
✧ Privileged EXEC
COMMAND TO ENTER:
* Use configure terminal command from privileged exec mode
✧ Global Configuration
PURPOSE:
* Contain commands those affect the entire system
PROMPT:
* ___
✧ Global Configuration
Switch (config)#
Default mode after booting
Switch >
Note: This command allows you to enter into privileged exec mode / enable mode, where you can configure a range of commands.
Switch > enable
Note: This command allows you to enter into Global Configuration Mode, where you configure a wide range of commands which effect the entire system.
Switch #
Switch # configure terminal
_ is a special character which is uses before starting and ending of a message.
#
Setting a Banner
When someone connects to the Switch , the MOTD ( Message of the Day ) banner appears before the login prompt.
GIFT > enable
GIFT # configure terminal
GIFT ( config ) # banner motd # WELCOME TO GIFT #
GIFT ( config ) # exit
GIFT >
Changing Hostname
Switch > enable
Switch # configure terminal
Switch (config ) # hostname GIFT
GIFT ( config ) # exit
GIFT #
Some Basic Switch Commands
- ?
- Enable
- Configure Terminal
- Tab
- Show Version
- Show-Mac-Table
- Show IP Interfaces Brief
- Show Vlan
- Show running configuration
Use to show commands in any mode
COMMAND: __
?
Switch > ?
Use to enter into privileged mode
COMMAND: __
Enable
Switch > enable
Use to enter into Global confi. Mode
COMMAND:
_
Configure Terminal
Switch # Configure Terminal
Use to complete the command
COMMAND: _
Tab
Switch # confi term
Use to show the Hardware Information
COMMAND: _
Show Version
Switch # show version
Use to show the MAC Address Table
COMMAND:
_
Show-Mac-Table
Switch # show mac-address-
table
Use to show the information about IP interfaces
COMMAND: _
Show IP Interfaces Brief
Switch # show ip interface
brief
Use to show information about VLANs
COMMAND: _
Show Vlan
Switch # show vlan
Use to show information about running configuration
COMMAND: _
Show running configuration
Switch # show running-config
_ is use to save current configuration into NVRAM - Non-volatile
Write Command
Line Console Password
GIFT > enable
GIFT # configure terminal
GIFT (config) # line console 0
GIFT (config-line) # password TEST123
GIFT (config-line) # login
GIFT (config-line) # exit
GIFT (config ) # exit
GIFT # exit
GIFT > enable