Sei sulla pagina 1di 2

R1#conf t

R1(config)#int fa0/1
R1(config-if)#ip add 10.0.0.1 255.255.255.128
R1(config-if)#no shut
*Nov 18 03:10:32.835: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state t
o up
*Nov 18 03:10:33.835: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
et0/1, changed state to up
R1(config-if)#int s0/0/0
R1(config-if)#ip add 172.16.0.1 255.255.255.252
R1(config-if)#encap ppp
R1(config-if)#clock rate 64000
R1(config-if)#ppp authentication chap
R1(config-if)#no shut
*Nov 18 03:11:46.255: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to do
wn
R1(config-if)#username R2 password cisco
R1(config)#int s0/0/1
R1(config-if)#ip add 172.16.0.9 255.255.255.252
R1(config-if)#encap frame-relay
R1(config-if)#frame-relay map ip 172.16.0.10 100 broadcast
R1(config-if)#frame-relay map ip 172.16.0.9 100
R1(config-if)#no frame-relay inverse-arp
R1(config-if)#no shut
*Nov 18 03:14:06.407: %LINK-3-UPDOWN: Interface Serial0/0/1, changed state to do
wn
R1(config-if)#
*Nov 18 03:15:55.763: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
R1(config-if)#
*Nov 18 03:16:04.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/
0, changed state to up
R1(config-if)#end
**************
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#service password-encryption
R1(config)#end
**************
R1#ping 172.16.0.9
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.9, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#ping 172.16.0.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 10.0.0.0
R1(config-router)#network 172.16.0.0
R1(config-router)#end
R1#ping 172.16.0.9
*Nov 18 03:39:11.415: %SYS-5-CONFIG_I: Configured from console by console
R1#ping 172.16.0.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#ping 172.16.0.9
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.9, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
***************
R1(config)#access-list 100 deny ip 10.0.0.128 0.0.0.127 host 10.0.0.10
R1(config)#int fa0/1
R1(config-if)#ip access-group 100 out
R1(config-if)#end
R1#
*Nov 18 03:46:25.147: %SYS-5-CONFIG_I: Configured from console by console
R1#conf t
R1(config)#access-list 100 permit ip any any
R1(config)#end
R1#show ip access-lists
Extended IP access list 100
10 deny ip 10.0.0.128 0.0.0.127 host 10.0.0.10
20 permit ip any any
R1#

Potrebbero piacerti anche