<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 
 
帧中继(Frame RelayFR技术是在OSI第二层,即数据链路层上用简化的方法 传送和交数换据单元的一种技术

应用环境: 要接入第三方网络——电信、网通等时候用。

RouterA 配置:

Router>enable

Router#conf

Router_config#hostname RouterA

RouterA_config#int s0/1

RouterA_config_s0/1#ip address 192.168.1.1 255.255.255.0

RouterA_config_s0/1#encapsulation frame-relay               封装帧中继协议

RouterA_config_s0/1#frame-relay local-dlci 17               设置本地DLCI号,17为编号

RouterA_config_s0/1#frame-relay intf-type dce                 配置FRDCE

RouterA_config_s0/1#frame-relay map 192.168.1.2 pvc 17 broadcast     配置 DLCI 与对端 IP 映射

RouterA_config_s0/1#physical-layer speed 64000               配置DCE时钟频率

RouterA_config_s0/1#no shut

RouterA_config_s0/1#^Z

RouterB 配置:

Router>enable

Router#conf

Router_config#hostname RouterB

RouterB_config#int s0/1

RouterB_config_s0/1#ip address 192.168.1.2 255.255.255.0

RouterB_config_s0/1#encapsulation frame-relay               封装帧中继协议

RouterB_config_s0/1#frame-relay local-dlci 17               设置本地DLCI号,17为编号

RouterB_config_s0/1#frame-relay intf-type dte                 配置FRDTE

RouterB_config_s0/1#frame-relay map 192.168.1.1 pvc 17 broadcast     配置 DLCI 与对端 IP 映射

RouterB_config_s0/1#no shut

RouterB_config_s0/1#^Z

注意: DLCI 号在实验中必须保持一致,但实际中以服务商提供为准;实际工作中只需配置 DTE 即可。

RouterA ping RouterB,通。