Anda di halaman 1dari 2

Router>enable Router#conf Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line.

Router(config)#hostname R1 R1(config)#no ip domain-lookup R1(config)#enable secret class R1(config)#banner motd !configurado por damian! R1(config)#line console 0 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)#line vty 0 4 R1(config-line)#pass R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)# End with CNTL/Z.

R1(config)#interface fastEthernet 0/1 R1(config-if)#ip address 10.1.1.254 255.255.255.0 R1(config-if)#no shutdown R1(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up exit R1(config)#interface serial 0/0/0 R1(config-if)#ip address 10.1.0.1 255.255.255.0 R1(config-if)#clock rate 64000 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to down R1(config-if)#exit R1(config)#router ospf 1 R1(config-router)#network 10.1.0.0 0.0.0.255 area 0 R1(config-router)#network 10.1.1.0 0.0.0.255 area 0 R1(config-router)#exit

R2(config)#interface serial 0/0/0 R2(config-if)#ip address 10.1.0.2 255.255.255.0 R2(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up R2(config-if)#exit R2(config)#interface loopback %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up 0 %LINK-5-CHANGED: Interface Loopback0, changed state to up R2(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up ip add R2(config-if)#ip address 10.13.205.1 255.255.0.0

R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface serial 0/0/1 R2(config-if)#ip address 10.3.0.1 255.255.255.0 R2(config-if)#clock rate 64000 R2(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down R2(config-if)#exit R2(config)#router ospf 1 R2(config-router)#network 10.1.0.0 0.0.0.255 area 0 R2(config-router)#network 10.3.0.0 0.0.0.255 area 0 R2(config-router)#network 10.13.0.0 0.0.255.255 area 0 R2(config-router)#exit

R3(config)#interface fastEthernet 0/1 R3(config-if)#ip address 10.3.1.254 255.255.255.0 R3(config-if)#no shutdown R3(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up exit R3(config)#interface serial 0/0/1 R3(config-if)#ip address 10.3.0.2 255.255.255.0 R3(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down R3(config-if)#exit R3(config)#router ospf 1 R3(config-router)#network 10.3.0.0 0.0.0.255 area 0 R3(config-router)#network 10.3.1.0 0.0.0.255 area 0 R3(config-router)#exit Tarea 2: Configurar las ACL estndar Configure las ACL estndar nombradas en las lneas vty de R1 y R3, de modo que los hosts directamente conectados a sus subredes Fast Ethernet tengan acceso a Telnet. Deniegue todos los dems intentos de conexin. Asigne a estas ACL estndar el nombre VTY-Local. Documente sus procedimientos de prueba. R1(config)#ip access-list standard VTY-Local R1(config-std-nacl)#permit 10.1.1.0 0.0.0.255 R1(config-std-nacl)#deny R1(config-std-nacl)#exit any

R3(config)#ip access-list sta VTY-Local R3(config-std-nacl)#per 10.3.1.0 0.0.0.255 R3(config-std-nacl)#deny any R3(config-std-nacl)#exit R3(config)#line vty 0 4 R3(config-line)#log R3(config-line)#access-class VTY-Local in R3(config-line)#exit R3(config)#end

Anda mungkin juga menyukai