Difference between revisions of "IOS CISCO команди"
From Ilianko
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | Смяна име | + | == Смяна име == |
| + | Router>enable | ||
| + | Router#configure terminal | ||
Router(config)#hostname integral | Router(config)#hostname integral | ||
| − | Задаване парола | + | == Задаване парола == |
integral(config)#enable secret cisco | integral(config)#enable secret cisco | ||
| − | Конфигуриране на | + | == Конфигуриране на telnet == |
integral(config)#line vty 0 4 | integral(config)#line vty 0 4 | ||
| Line 13: | Line 15: | ||
integral(config-line)#exit | integral(config-line)#exit | ||
| − | Конфигуриране на IP | + | ==Конфигуриране на IP address == |
| + | === FastEthernet === | ||
integral(config)#interface FastEthernet 0/0 | integral(config)#interface FastEthernet 0/0 | ||
integral(config-if)#ip address 10.10.11.1 255.255.255.0 | integral(config-if)#ip address 10.10.11.1 255.255.255.0 | ||
| Line 20: | Line 23: | ||
integral(config-if)#exit | integral(config-if)#exit | ||
| + | === Serial === | ||
integral(config)#interface Serial 2/0 | integral(config)#interface Serial 2/0 | ||
integral(config-if)#ip address 10.10.10.1 255.255.255.252 | integral(config-if)#ip address 10.10.10.1 255.255.255.252 | ||
| − | |||
integral(config-if)#clock rate 2000000 | integral(config-if)#clock rate 2000000 | ||
integral(config-if)#no shutdown | 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 | ||
Latest revision as of 21:36, 21 October 2014
Contents
Смяна име
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