第一步:配置R1的帧中继多点子接口
R1(config)#
R1(config)#int s3/0
R1(config-if)#en fr
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#int s3/0.1 multipoint
R1(config-subif)#ip add 172.16.0.1 255.255.255.0
R1(config-subif)#exit
R1(config)#^Z
第二步:配置R2的帧中继多点子接口
R2(config)#int s3/0
R2(config-if)#en fr
R2(config-if)#no sh
R2(config-if)#ip add 172.16.0.2 255.255.255.0
R2(config-if)#no fr inve
R2(config-if)#fr map ip 172.16.0.1 201 b
R2(config-if)#fr map ip 172.16.0.3 201 b
R2(config-if)#exit
第三步:查看R2的帧中继映射
R2#sh fr map
Serial3/0 (up): ip 172.16.0.1 dlci 201(0xC9,0x3090), static,
broadcast,
CISCO, status defined, active
Serial3/0 (up): ip 172.16.0.3 dlci 201(0xC9,0x3090), static,
broadcast,
CISCO, status defined, active
第四步:在R3上进行帧中继接口配置
R3(config)#
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
R3(config-if)#fr map ip 172.16.0.1 301 b
R3(config-if)#fr map ip 172.16.0.2 201 b
R3(config-if)#ip add
R3(config-if)#ip add 172.16.0.3 255.255.255.0
R3(config-if)#exit
R3(config)#^Z
R3#
第五步:在R1上查看映射
R1#sh fr map
(为什么没有通过动态arp学习到呢?手动添加)
R1(config)#int s3/0.1
R1(config-subif)#fr map ip 172.16.0.2 102 b
R1(config-subif)#fr map ip 172.16.0.3 103 b
(在多点子接口下添加手动dlci与ip地址的映射)
R1(config-subif)#exit
R1(config)#exit
R1#
R1#sh fr map
Serial3/0.1 (up): ip 172.16.0.2 dlci 102(0x66,0x1860), static,
broadcast,
CISCO, status defined, active
Serial3/0.1 (up): ip 172.16.0.3 dlci 103(0x67,0x1870), static,
broadcast,
CISCO, status defined, active(现在查看已经加入成功了)
第六步:在R1上测试ping
R1#ping 172.16.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/21/36 ms
R1#ping 172.16.0.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/20/44 ms
R1#