配置思路:
1、先配置FR-SWITCH
2、再配置RTA、RTB、RTC
FR-SWITCH详细配置步骤如下:
[FR-Switch]fr switching //启动路由器帧中继功能
[FR-Switch]interface s6/0
[FR-Switch-Serial6/0]link-protocol fr //链路协议封闭为FR
[FR-Switch-Serial6/0]fr interface-type dce //配置帧中继接口类型为DCE
[FR-Switch-Serial6/0]fr dlci 30 //配置RTB到RTA的DLCI为30
[FR-Switch-fr-dlci-Serial6/0-30]quit
[FR-Switch-Serial6/0]fr dlci 40 //配置RTC到RTA的DLCI为40
[FR-Switch-fr-dlci-Serial0/0/0-30]quit
[FR-Switch-Serial6/0]fr dlci-switch 30 interface s0/0/1 dlci 70 //配置RTB到RTA的DLCI静态路由
[FR-Serial6/0]fr dlci-switch 40 interface s0/0/2 dlci 80 //配置RTC到RTA的DLCI静态路由
[FR-Switch]interface s0/0/1
[FR-Switch-Serial0/0/1]link-protocol fr
[FR-Switch-Serial0/0/1]fr interface-type dce
[FR-Switch-Serial0/0/1]fr dlci 70
[FR-Switch-fr-dlci-Serial0/0/1-70]quit
[FR-Switch-Serial0/0/1]fr dlci-switch 70 interface s0/0/0 dlci 30
[FR-Switch]interface s0/0/2
[FR-Switch-Serial0/0/2]fr interface-type dce
[FR-Switch-Serial0/0/2]fr dlci 80
[FR-Switch-fr-dlci-Serial0/0/2-80]quit
[FR-Switch-Serial0/0/2]fr dlci-switch 80 interface s0/0/0 dlci 40
[FR-Serial0/0/2]quit
RTA配置如下:
[RTA]interface s1/0
[RTA-Serial1/0]ip add 10.1.1.1 24
[RTA-Serial1/0]link-protocol fr
[RTA-Serial1/0]fr interface-type dte //配置帧中继接口类型为DTE,H3C路由器默认是DTE,所以可以省去这步
[RTA-Serial1/0]fr lmi type q933a //配置LMI类型为Q933a
[RTA-Serial1/0]fr map ip 10.1.1.2 30 //配置通信对方(即RTB)的IP地址与本地DLCI号的映射
[RTA-Serial1/0]fr map ip 10.1.1.3 40 ////配置通信对方(即RTC)的IP地址与本地DLCI号的映射
RTB的配置如下:
[RTB]interface s0/0
[RTB-Serial0/0]ip add 10.1.1.2 24
[RTB-Serial0/0]link-protocol fr
[RTB-Serial0/0]fr interface-type dte //配置帧中继接口类型为DTE,H3C路由器默认是DTE,所以可以省去这步
[RTB-Serial0/0]fr lmi type q933a //配置LMI类型为Q933a
[RTB-Serial0/0]fr map ip 10.1.1.1 70 //配置通信对方(即RTA)的IP地址与本地DLCI号的映射
RTC的配置如下:
[RTC]interface s0/0
[RTC-Serial0/0]ip add 10.1.1.3 24
[RTC-Serial0/0]link-protocol fr
[RTC-Serial0/0]fr interface-type dte //配置帧中继接口类型为DTE,H3C路由器默认是DTE,所以可以省去这步
[RTC-Serial0/0]fr lmi type q933a //配置LMI类型为Q933a
[RTC-Serial0/0]fr map ip 10.1.1.1 30 //配置通信对方(即RTA)的IP地址与本地DLCI号的映射