Erinevus lehekülje "Cisco katsetused" redaktsioonide vahel

Allikas: Kuutõrvaja
98. rida: 98. rida:
 
  show ip interface brief
 
  show ip interface brief
  
 
 
 
 
  
  

Redaktsioon: 11. oktoober 2007, kell 19:28

Sissejuhatus

Eesmärgiks on antud juhul üks väike cisco ruuter seadistada NAT ja DHCP teenuseid pakkuma.


If you have Used Router (not a brandnew Router) to work with, and you want to follow along with this tutorial, you can blank out everything, and start from what we call, "A Clean Slate".

(A Clean Slate refers back to a time when students wrote on slabs of rock)

Type in the following two Commands from the Enable Mode:

enable 

Erase Startup-config 

Reload 

DO NOT do these two commands on your company's production routers! This will have very BAD consequences - i.e. "Network Down, You Fired!"

Peale seda masin stardib. Ja järgmisena tuleb basic konf initsialiseerida. Küsitakse mitmeid küsimusi routeri hostname admin ja kasutaja parooli kohta SNMP ning võrgu seadistusest.


Minul peale seda tekkis selline konfig

The following configuration command script was created:

hostname Router
enable secret 5 $1$VCFk$7345345kkqn93459xy./
enable password parool
line vty 0 4
password parool
snmp-server community public
!
no ip routing

!
interface Ethernet0
shutdown
no ip address
!
interface Ethernet1
shutdown
no ip address
!
interface Serial0
no shutdown
no ip address
!
end

Seadistusmode on

config t


In the example below, we change the router's name and then delete one of its many access control list (ACL) entries.

ciscorouter# conf t
ciscorouter(config)# no access-list 150 deny ip host 10.1.2.1 host 10.3.2.5
ciscorouter(config)# hostname soho-router
soho-router(config)# exit

soho-router #


When you've finished configuring, you can permanently save your changes by using the "write memory" command:


ciscorouter# wr mem
  Building configuration...
Cryptochecksum: 3af43873 d35d6f06 51f8c999 180c2342 
[OK]
ciscorouter#


interface Ethernet0
ip address 192.168.10.1 255.255.255.0
description v2liv2rk
no shut
interface Ethernet1
ip address 192.168.1.1 255.255.255.0
no shut
exit
show ip interface brief



Router#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
Ethernet0              193.40.0.182    YES manual up                    up
Ethernet1              192.168.1.1     YES manual up                    up
Serial0                unassigned      YES unset  down                  down



Lingid

Cisco IOS on väga võimalusterohke operatsioonisüsteem. Sellekohta on cisco andnud välja väga ohtralt ametlikku materjali. Neid siin äratooma ei hakka pigem mõned alternatiivsed viited.


http://www.pimpmynetwork.org/basic_cisco

http://www.fantek.org/cisco/wpbascom.htm

http://www.velocityreviews.com/forums/t41103-basic-cisco-switch-tutorial.html

http://geek.pandemonium.de/2005/07/09/dhcp-server-on-a-cisco-1605/

http://www.dslreports.com/faq/11037

http://www.cisco.com/warp/public/109/config_nat_on_cm.html

http://www.tomax7.com/mcse/cisco_routerconfig.htm

http://www.linuxhomenetworking.com/cisco-hn/dsl-router.htm