Wstęp do IOS CISCO: Różnice pomiędzy wersjami

Z Systemy operacyjne i sieci komputerowe
Przejdź do nawigacji Przejdź do wyszukiwania
Linia 29: Linia 29:
  
 
Symbolem trybu uprzywilejowanego jest '''#'''
 
Symbolem trybu uprzywilejowanego jest '''#'''
 +
 +
Sprawdźmy do jakich poleceń mamy dostęp w '''trybie użytkownika'''. Służy do tego '''?'''
 +
 +
<pre>
 +
Router>?
 +
Exec commands:
 +
  <1-99>      Session number to resume
 +
  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
 +
  ssh        Open a secure shell client connection
 +
  telnet      Open a telnet connection
 +
  terminal    Set terminal line parameters
 +
  traceroute  Trace route to destination
 +
</pre>
 +
 +
Jak widać w tym trybie nie zmienimy konfiguracji rutera, możemy głównie wyświetlać informacje.
 +
 +
W '''trybie uprzywilejowanym''' mamy dostęp do pełni poleceń.
 +
 +
<pre>
 +
Router#?
 +
Exec commands:
 +
  <1-99>      Session number to resume
 +
  auto        Exec level Automation
 +
  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
 +
  mkdir      Create new directory
 +
  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
 +
  rmdir      Remove existing directory
 +
  send        Send a message to other tty lines
 +
  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')
 +
  write      Write running configuration to memory, network, or terminal
 +
</pre>
  
  
  
 
[[Category:Cisco Packet Tracer]]
 
[[Category:Cisco Packet Tracer]]

Wersja z 17:35, 10 gru 2013

IOS,czyli Internetwork Operating System został opracowany przez firmę Cisco. Służy do konfigurowania urządzeń sieciowych tej firmy, jak rutery czy przełączniki. Ten system operacyjny nie ma interfejsu graficznego, pracuje się w wierszu poleceń, czyli CLI.

Poniżej obrazek przedstawiający dostęp do CLI IOS w programie Packet tracer

Ios-cli1.jpg

Pomijamy dialog konfiguracji systemu.

         --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

Ruter zgłasza się w trybie użytkownika, świadczy o tym znak >

Router>

Aby wejść do trybu uprzywilejowanego piszemy enable. Aby z niego wyjść piszemy disable

Router>enable
Router#disable
Router>enable
Router#

Symbolem trybu uprzywilejowanego jest #

Sprawdźmy do jakich poleceń mamy dostęp w trybie użytkownika. Służy do tego ?

Router>?
Exec commands:
  <1-99>      Session number to resume
  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
  ssh         Open a secure shell client connection
  telnet      Open a telnet connection
  terminal    Set terminal line parameters
  traceroute  Trace route to destination

Jak widać w tym trybie nie zmienimy konfiguracji rutera, możemy głównie wyświetlać informacje.

W trybie uprzywilejowanym mamy dostęp do pełni poleceń.

Router#?
Exec commands:
  <1-99>      Session number to resume
  auto        Exec level Automation
  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
  mkdir       Create new directory
  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
  rmdir       Remove existing directory
  send        Send a message to other tty lines
  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')
  write       Write running configuration to memory, network, or terminal