IOS CISCO команди

From Ilianko
Revision as of 21:36, 21 October 2014 by Anko (talk | contribs) (→‎Запазване на конфигурацията)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Смяна име

Router>enable
Router#configure terminal
Router(config)#hostname integral

Задаване парола

integral(config)#enable secret cisco

Конфигуриране на telnet

integral(config)#line vty 0 4
integral(config-line)#pas
integral(config-line)#password class
integral(config-line)#exit

Конфигуриране на IP address

FastEthernet

integral(config)#interface FastEthernet 0/0
integral(config-if)#ip address 10.10.11.1 255.255.255.0
integral(config-if)#no shutdown 
integral(config-if)#exit

Serial

integral(config)#interface Serial 2/0
integral(config-if)#ip address 10.10.10.1 255.255.255.252
integral(config-if)#clock rate 2000000
integral(config-if)#no shutdown
integral(config-if)#exit
integral(config)#interface Serial 3/0
integral(config-if)#ip address 10.10.10.5 255.255.255.252
integral(config-if)#clock rate 2000000
integral(config-if)#no shutdown
integral(config-if)#exit

Запазване на конфигурацията

integral#copy running-config startup-config


  • show ip route
  • route if_name 0.0.0.0 0.0.0.0 gateway_ip