Di lab yang kedua ini kita akan mengenal macam macam mode pada shell atau cli di perangkat cisco perangkat cisco (switch atau router) . Berbeda dengan sistem operasi lainya seperti Linux yang hanya memiliki 2 mode akses. Cisco Router memiliki 3 mode akses yaitu User Exec Mode, Privileges Exec Mode, Global Configuration Mode.
Macam - Macam Mode di Shell/CLI Pada Perangkat Cisco
Berikut dibawah ini adalah hirarki dari setiap mode konfigurasi di cisco :
Macam - macam mode pada shell/cli di cisco :
| Switch> | (mode user) |
| Switch# | (previllege mode) |
| Switch(config)# | (global mode) |
| Switch(config-if)# | (specific mode) |
| Rommon 1 > | (rommon mode) |
Berikut penjelasan dari mode - mode yang ada pada perangkat cisco
diatas :
Setup mode : mode masuk setup mode jika NVRAM kosong alias tidak memiliki konfigurasi. Biasanya kondisi ini terjadi ketika kita mengaktifkan router baru atau setelah melakukan reset konfigurasi.
1. Mode user (>) : adalah mode pada saat pertama kali perangkat cisco dihidupkan.
Berikut macam -macam perintahnya :
| Switch>? | |
| Exec commands: | |
| connect | Open a terminal connection |
| disable | Turn off privileged commands |
| disconnect | Disconnect an existing network connection |
| enable | Turn on privileged commands |
| exit | Exit from the EXEC |
| logout | Exit from the EXEC |
| ping | Send echo messages |
| resume | Resume an active network connection |
| show | Show running system information |
| telnet | Open a telnet connection |
| terminal | Set terminal line parameters |
| traceroute | Trace route to destination |
2. Previllege mode(#) : adalah mode admin atau pemegang penuh kendali cisco.
Berikut macam - macam perintahnya :
| Switch#? | |
| Exec commands: | |
| clear | Reset functions |
| clock | Manage the system clock |
| configure | Enter configuration mode |
| connect | Open a terminal connection |
| copy | Copy from one file to another |
| debug | Debugging functions (see also 'undebug') |
| delete | Delete a file |
| dir | List files on a filesystem |
| disable | Turn off privileged commands |
| disconnect | Disconnect an existing network connection |
| enable | Turn on privileged commands |
| erase | Erase a filesystem |
| Exit | Exit from the EXEC |
| logout | Exit from the EXEC |
| more | Display the contents of a file |
| no | Disable debugging informations |
| ping | Send echo messages |
| reload | Halt and perform a cold restart |
| resume | Resume an active network connection |
| setup | Run the SETUP command facility |
| show | Show running system information |
| ssh | Open a secure shell client connection |
| telnet | Open a telnet connection |
| terminal | Set terminal line parameters |
| Traceroute | Trace route to destination |
| undebug | Disable debugging functions (see also 'debug') |
| vlan | Configure VLAN parameters |
| write | Write running configuration to memory, network, or terminal |
| Switch# | |
3. Global mode : mode dimana seorang admin menkonfigurasi perangkat cisco dengan perintah - perintah yang ada pada mode ini.
Berikut perintah yang ada disini :
| Switch(config)#? | |
| Configure commands: | |
| access-list | Add an access list entry |
| banner | Define a login banner |
| boot | Boot Commands |
| cdp | Global CDP configuration subcommands |
| clock | Configure time-of-day clock |
| crypto | Encryption module |
| do | To run exec commands in config mode |
| enable | Modify enable password parameters |
| end | Exit from configure mode |
| exit | Exit from configure mode |
| hostname | Set system's network name |
| interface | Select an interface to configure |
| ip | Global IP configuration subcommands |
| line | Configure a terminal line |
| lldp | Global LLDP configuration subcommands |
| logging | Modify message logging facilities |
| mac | MAC configuration |
| mac-address-table | Configure the MAC address table |
| mls | mls global commands monitor |
| no | Negate a command or set its defaults |
| port-channel | EtherChannel configuration |
| privilege | Command privilege parameters |
| sdm | Switch database management |
| service | Modify use of network based services |
| snmp-server | Modify SNMP engine parameters |
| spanning-tree | Spanning Tree Subsystem |
| username | Establish User Name Authentication |
| vlan | Vlan commands |
| vtp | Configure global VTP state |
| Switch(config)# | |
Sekian artikel mengenai macam macam mode configuration pada perangkat cisco, selanjutnya di Lab 3 kita akan belajar bareng Implementasi perintah dasar cisco.

