第一步:在R1上进行配置 R1(config)#int s3/0 R1(config-if)#en fr (在主接口下封装frame-relay) R1(config-if)#no sh R1(config-if)#no fr inv (关闭自动映射) R1(config-if)#exit R1(config)#int s3/0.1 point-to-point R1(config-subif)#ip add 172.16.0.1 255.255.255.0 R1(config-subif)#frame-relay interface-dlci 102 R1(config-fr-dlci)#exit R1(config-subif)#exit R1(config)#int s3/0.2 point-to-point R1(config-subif)#ip add 192.168.0.1 255.255.255.0 R1(config-subif)#frame-relay interface-dlci 103 R1(config-fr-dlci)#exit R1(config-subif)#exit R1(config)# 第二步:现在查看frame-relay映射关系 R1#sh fr map Serial3/0.2 (up): point-to-point dlci, dlci 103(0x67,0x1870), broadcast status defined, active Serial3/0.1 (up): point-to-point dlci, dlci 102(0x66,0x1860), broadcast status defined, active 第三步:配置R2的帧中继接口 R2(config)#int s3/0 R2(config-if)#no sh R2(config-if)#en fr R2(config-if)#no fr inv R2(config-if)#fr map ip 172.16.0.1 201 b R2(config-if)#ip add 172.16.0.2 255.255.255. R2(config-if)#exit R2(config)#exit 第四步:在R3上配置帧中继接口 R3(config)#int s3/0 R3(config-if)#en fr R3(config-if)#no sh R3(config-if)#no fr inv R3(config-if)#fr map ip 192.168.0.1 301 b R3(config-if)#ip add 192.168.0.3 255.255.255.0 R3(config-if)#exi R3(config)#exi R3#