实验十、广域网协议配置.doc
文本预览下载声明
PAGE
PAGE 10
实验十、广域网协议配置
实验10.1 PPP的配置
【实验目的】
了解点对点的广域网连接
掌握PPP的配置
【实验条件】
2台PC、2台路由器
【实验拓扑图】
192.200.10.1
192.200.10.2
S0(DCE)
(DTE)S0
Router1
Router2
图11-1
【实验步骤】
按照拓扑图将设备连接正确,并为设备配置IP地址,在DCE向DTE配置时钟频率。
具体配置
Router1:
hostname router1
username router2 password xxx
interface Serial0
encapsulation ppp
ip address 192.200.10.1 255.255.255.0
clockrate 1000000
ppp authentication chap
!
Router2:
hostname router2
username router1 password xxx
interface Serial0
encapsulation ppp
ip address 192.200.10.2 255.255.255.0
ppp authentication chap
/*注:两个路由认证协议必须相同*/
ppp命令汇总
Router(config)# config terminal
Router(config)# Interface serial 0
Router(config-if)# encapsulation ppp
Router(config-if)# compress [predictor|stacker]
Router(config-if)# ppp quality number_1-100
Router(config-if)# ppp multilink
Router(config)#hostname name
Router(config)#username name password password
Router(config-if)#encapsulation ppp
Router(config-if)#ppp authentication {chap | chap pap | pap chap | pap}
实验10.2 ISDN的配置
【实验目的】
配置ISDN交换机类型
配置dialer-group及dialer-list
【实验条件】
路由器2台,分别命名为R1和R2,要求每台路由器具有1个ISDN BRI接口。2条ISDN线路和相应的NT1及线缆;1台终端服务器,如Cisco 2509路由器,及用于反向Telnet的相应电缆;1台带有超级终端程序的PC机,以及Console电缆及转接器。
【实验拓扑图】
图11-2
【实验步骤】
本实验虽说是最基本的ISDN实验,但它涉及到ISDN配置的关键技术,尤其是有效的监测和查看命令对调试非常重要。
设备和线缆连接好之后,打开所有设各的电源,开始进行实验。配置清单7-1记录了本实验的操作过程。配置清单7-1 ISDN的基本配置第1段:配置ISDN类型并查看其状态R1#conftEnter configuration commands, one per line. End with CNTL/Z.R1(config)#isdn switch-type ?basic-1 tr6 1TR6 switch type for Germanybasic-5ess Lucent 5ESS switch type for the U.S.basic-dms1OO Northern Telecom DMS-100 switch type for the U.S.basic-net3 NET3 switch type for UK,Europe,Asia and Australiabasic-ni National ISDN switch type for the U.S.basic-qsig QSIG switch typebasic-ts013 TS013 switch type for Australia (obsolete)ntt NTT switch type for Japanvn3 VN3 and VN4 switch types for France R1(config)#isdn switch-type basic-net3R1(config)#int bri 0R1(config-if)@iio shutR1(config-if)#^ZR1#sh i
显示全部