2025. 3. 16. 18:15ㆍCS/CCNA
Introduction of CLI
CLI:
interface you use to configure Cisco devices
connect Cisco device:
->Console port (USB Mini-B, RJ45)
-> Rollover cable (!= cross over)
User EXEC Mode (limited)
Priviledged EXEC Mode
->cannot change the configuration, but change time or save config files
service password-encryption & secret
-> enable service password-encryption
- current pw encrypted
- future pw encrypted
- enable secret NOT be effected
-> disable service password-encryption
- current pw encrypted
- future pw decrypted
- enable secret NOT be effected
//CLI
Router> e? ## displays possible commands begins with [cmd]
Router> password ? ## displays possible options can be entered next
<cr> ## no further option
Router> ## user EXEC mode
Router# ## privileged EXEC mode
Router(config)# ## global configuration mode
----------------------------------------------------------------------------
Router>enable
## enter privileged EXEC mode
Router#configure terminal
## enter global configuration mode
Router(config)#enable password [password]
## configures a pw
Router(config)#service password-encrytion
## encrpyts enable pw (easy to detected)
Router(config)#enable secret [password]
## configure more secure
Router(config)#run [privileged-exec-level-command]
## execute from gloabl config mode
Router(config)#no [cmd]
## removes
Router(config)#show running-config
## displays current, active config file
Router(config)#show startup-config
## displays the saved config file which will be loaded if devices restarted
Router(config)#write
Router(config)#write memory
Router(config)#copy running-config startup-config
## saves the configuration
Acronyms
- CLI : Command-line interface
- GUI : Graphical User Interface
'CS > CCNA' 카테고리의 다른 글
<Jeremy's IT Lab> Day6: Ethernet LAN Switching (Part2) (0) | 2025.03.17 |
---|---|
<Jeremy's IT Lab> Day5: Ethernet LAN Switching (Part1) (0) | 2025.03.16 |
<Jeremy's IT Lab> Day3: OSI Model & TCP/IP Suite (0) | 2025.03.16 |
<Jeremy's IT Lab> Day2: Interfaces and Cables (0) | 2025.03.16 |
<Jeremy's IT Lab> Day1: Networking Devices (1) | 2025.03.16 |