version 11.2 service udp-small-servers service tcp-small-servers!. interface Ethernet0 no ip address shutdown!. interface Serial0 no ip address encapsulation frame-relay clockrate 1
Trang 1
•
• #$#+( )#* *)# *+!*,-./!*01
#$#2( )#* *)& *+!*,-./!*01
Trang 2
•
•
•
• #$%5(+ )#* *)+!*,-./!*01
• #$#+( )#* *)# *+!*,-./!*01
#$#2( )#* *)& *+!*,-./!*01
•
•
Trang 3
2 (1
# /@;
Trang 4
.7?2$@B
.7?2$9 B
.7?@B,"
.7?9 B, "
Router 1
version 11.3
!
service udp-small-servers
service tcp-small-servers
!
hostname Router1
!
enable secret cisco
!
no ip domain-lookup
!
interface Ethernet0
ip address 172.16.1.1 255.255.0.0
!
interface Async1
ip address 192.168.10.1 255.255.255.0 encapsulation ppp
async dynamic routing
async mode dedicated
dialer-group 1
no cdp enable
!
Trang 5dialer-list 1 protocol ip permit !
line con 0
exec-timeout 0 0
line aux 0
modem InOut
transport input all
rxspeed 38400
txspeed 38400
flowcontrol hardware
line vty 0 4
exec-timeout 0 0
password cisco
login
!
end
ROUTER 2
!
version 11.3
service udp-small-servers
service tcp-small-servers
!
hostname Router2
!
enable secret cisco
!
no ip domain-lookup
!
interface Ethernet0
ip address 10.0.3.4 255.255.255.0 !
interface Async1
ip address 198.162.10.2 255.255.255.0 encapsulation ppp
async dynamic routing
async mode dedicated
no cdp enable
!
ip route 0.0.0.0 0.0.0.0 async1 !
snmp-server community public RO dialer-list 1 protocol ip permit !
line con 0
exec-timeout 0 0
line aux 0
modem InOut
transport input all
rxspeed 38400
txspeed 38400
flowcontrol hardware
line vty 0 4
exec-timeout 0 0
password cisco
login
!
end
#$%&'($)%%*&
Trang 6
version 11.2
service udp-small-servers
service tcp-small-servers
!
hostname frame
!
!
frame-relay switching
!
interface Ethernet0
no ip address
shutdown
!
interface Serial0
no ip address
encapsulation frame-relay
clockrate 1000000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 211 interface Serial1 411
!
interface Serial1
no ip address
encapsulation frame-relay
clockrate 1000000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 411 interface Serial0 211
!
no ip classless
!
line con 0
line aux 0
line vty 0 4
login
!
Trang 7
Cisco 2520
!
version 11.2
service udp-small-servers
service tcp-small-servers
!
hostname frame-switch
!
!
frame-relay switching
!
interface Ethernet0
no ip address
shutdown
!
interface Serial0
no ip address
encapsulation frame-relay
clockrate 1000000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 112 interface Serial1 211
frame-relay route 113 interface Serial2 311
frame-relay route 114 interface Serial3 411
!
interface Serial1
no ip address
encapsulation frame-relay
clockrate 1000000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 211 interface Serial0 112
!
interface Serial2
no ip address
encapsulation frame-relay
clockrate 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 311 interface Serial0 113
!
interface Serial3
no ip address
encapsulation frame-relay
clockrate 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
Trang 8no ip classless
!
line con 0
line aux 0
line vty 0 4
login
!
end
Cisco 2501 # 1
!
version 11.2
service udp-small-servers
service tcp-small-servers
!
hostname frame
!
!
frame-relay switching
!
interface Tunnel0
no ip address
tunnel source Ethernet0
tunnel destination 192.168.1.1
!
interface Ethernet0
ip address 192.168.1.2 255.255.255.0
!
interface Serial0
no ip address
encapsulation frame-relay
clockrate 1000000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 112 interface Serial1 211
frame-relay route 113 interface Tunnel0 311
frame-relay route 114 interface Tunnel0 411
!
interface Serial1
no ip address
encapsulation frame-relay
clockrate 1000000
Trang 9frame-relay route 211 interface Serial0 112
!
no ip classless
!
line con 0
line aux 0
line vty 0 4
login
!
end
Cisco 2501 # 2
!
version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname frame2
!
!
frame-relay switching
!
interface Tunnel0
no ip address
tunnel source Ethernet0
tunnel destination 192.168.1.2
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
!
interface Serial0
no ip address
encapsulation frame-relay
clockrate 1000000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 311 interface Tunnel0 113
!
interface Serial1
no ip address
encapsulation frame-relay
clockrate 1000000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 411 interface Tunnel0 114
!
no ip classless
!
!
line con 0
line aux 0
line vty 0 4
login
!
end
Trang 10
version 11.3
!
service udp-small-servers
service tcp-small-servers
!
hostname R2509
!
enable secret cisco
!
no ip domain-lookup
!
ip host r2513 2001 10.1.1.1
ip host r2503 2002 10.1.1.1
ip host r2520 2003 10.1.1.1
ip host r2504 2004 10.1.1.1
ip host r2501 2005 10.1.1.1
ip host Cat2901 2006 10.1.1.1 !
interface Loopback0
ip address 10.1.1.1 255.255.255.255 !
ip classless
!
line con 0
!
line 1 8
transport input all
no exec
line aux 0
line vty 0 4
login
!
Trang 11
*"
57+7 (+7I5)#7I$)57I+)$7I#1
5$7 (+7IC)#7I&)C7I+)&7I+1
RTA
version 11.3
!
service udp-small-servers
service tcp-small-servers
!
hostname RTA
!
enable secret cisco
!
no ip domain-lookup
!
username RTB password cisco
chat-scritpt ddr-test “” “ATDT\T” TIMEOUT 30 CONNECT \C
!
interface Ethernet0
Trang 12
interface Async1
ip unnunmbered Ethernet 0
encapsulation ppp
async mode interactive
no peer default ip address pool
dialer-group 1
dialer idle-timeout 120
pulse-time 3
dialer in-band
dialer hold-queue 20
dialer map ip 172.16.1.1 modem-script ddr-test name RTB broadcast 5555555
no cdp enable
ppp authentication chap
!
ip classless
ip route 172.16.1.0 255.255.255.0 172.16.1.1
ip route 172.16.1.1 255.255.255.255 Async 1
!
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
line aux 0
modem InOut
modem autoconfigure discovery
autoselect ppp
rxspeed 38400
txspeed 38400
flowcontrol hardware
line vty 0 4
exec-timeout 0 0
password bar
login
!
end
RTB
version 11.3
!
service udp-small-servers
service tcp-small-servers
!
hostname RTB
!
enable secret cisco
!
no ip domain-lookup
!
username RTA password cisco
chat-scritpt ddr-test “” “ATDT\T” TIMEOUT 30 CONNECT \C
!
interface Ethernet0
ip address 172.16.1.1 255.255.0.0
!
interface Async1
ip unnunmbered Ethernet 0
encapsulation ppp
async mode interactive
no peer default ip address pool
dialer-group 1
dialer idle-timeout 120
pulse-time 3
dialer in-band
dialer hold-queue 20
dialer map ip 172.16.2.1 modem-script ddr-test name RTB broadcast 5556666
no cdp enable
ppp authentication chap
!
ip classless
Trang 13!
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
line aux 0
modem InOut
modem autoconfigure discovery
autoselect ppp
rxspeed 38400
txspeed 38400
flowcontrol hardware
line vty 0 4
exec-timeout 0 0
password bar
login
!
end
Trang 14
• ##%
• ##+
•
•
•
•
!*.-H+7&3%3++7%&73
Trang 15
!*.-H%7%C7%5++2%7+
!*.-H%7%C7%%$&+5575
!*.-H%7%C7%5H
!*.-H%7%C7%##%C27$
,&#%.+&"'//
!*.-H%7+27%&#$2C73
.+$,&
!*.-H+7$C&C%7+%&7#
!*.-H+7$C&C%7%##7+
!*.-<+7$C&C%7%C7%
!*.-<+7$C&C%7%C575
!*.-H+7$C&C%7%5+7&
!*.-H+7$#%$7$#7#
+7&%%75#723#(;* 1
Trang 16
3+7C3C7333&
&%+72CC7%%C5
3C2725C72253
@ )@-$$523
* ) 35%C%
<$%$3#75%%
9><$%$3#75%$5
?>)!
5 ,
* ) 35%&3
<5%&7$5+75%%
9><5%&7$5+755%
<5%&$$73&%%
9><5%&$$73&#%
: )D+C&2C
<C+C7$#57&#%%
9><C+C7$#57&+&+
!)!);*
Trang 17
. ) );*