CCNA6-Frame Relay
1.中小企业常用的广域网线路
2.通信费用较低
3.配置较为复杂
1.将Cisco路由器配置为帧中继交换机
2.帧中继基本配置、帧中继映射
3.在帧中继的链路上运行RIPv2
4.帧中继的多点子接口
5.帧中继的点到点子接口
enable
conf t
no ip do lo
enable pass cisco
line con 0
logg sync
exec-t 0 0
line vty 0 4
pass cisco
logg sync
exit
host
1.配置Cisco路由器为帧中继交换机
-----------------------------------------------------------------------------
R4:
frame-relay switch
int s0/1
encap frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 int s0/2 201
frame-relay route 103 int s0/3 301
no shut
exit
int s0/2
encap frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 int s0/1 102
no shut
exit
int s0/3
encap frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 int s0/1 103
no shut
exit
end
show frame-relay route
conf t
2.帧中继基本配置、帧中继映射
-----------------------------------------------------------------
R1:
int s0/0
ip add 123.1.1.1 255.255.255.0
encap frame-relay
frame-relay lmi-type cisco
no shut
exit
R2:
int s0/0
ip add 123.1.1.2 255.255.255.0
encap frame-relay
frame-relay lmi-type cisco
no shut
exit
R3:
int s0/0
ip add 123.1.1.3 255.255.255.0
encap frame-relay
frame-relay lmi-type cisco
no shut
exit
R1:
end
ping 123.1.1.2
ping 123.1.1.3
show frame-relay map
show frame-relay pvc
clear frame-relay inarp
conf t
R1:
int s0/0
no frame-relay inverse-arp
frame-relay map ip 123.1.1.2 102 broadcast
frame-relay map ip 123.1.1.3 103 broadcast
exit
R2:
int s0/0
no frame-relay inverse-arp
frame-relay map ip 123.1.1.1 201 broadcast
frame-relay map ip 123.1.1.3 201 broadcast
exit
R3:
int s0/0
no frame-relay inverse-arp
frame-relay map ip 123.1.1.1 301 broadcast
frame-relay map ip 123.1.1.2 301 broadcast
exit
R1:
end
ping 123.1.1.2
ping 123.1.1.3
show frame-relay map
show frame-relay pvc
conf t
3.在帧中继的链路上运行RIPv2
------------------------------------------------------------------------
R1:
int l0
ip add 11.1.1.1 255.255.255.0
exit
R2:
int l0
ip add 22.1.1.1 255.255.255.0
exit
R3:
int l0
ip add 33.1.1.1 255.255.255.0
exit
R1:
router rip
version 2
no auto-summary
network 11.0.0.0
network 123.0.0.0
exit
R2:
router rip
version 2
no auto-summary
network 22.0.0.0
network 123.0.0.0
exit
R3:
router rip
version 2
no auto-summary
network 33.0.0.0
network 123.0.0.0
exit
R1:
end
show ip route rip
conf t
R2:
end
show ip route rip
conf t
R3:
end
show ip route rip
conf t
4.帧中继的多点子接口(multi-point)
----------------------------------------------------------------
R1:
int s0/0
encap frame-relay
no ip add
no shut
exit
R2:
int s0/0
ip add 123.1.1.2 255.255.255.0
encap frame-relay
frame-relay lmi-type cisco
no shut
exit
R3:
int s0/0
ip add 123.1.1.3 255.255.255.0
encap frame-relay
frame-relay lmi-type cisco
no shut
exit
R1:
int s0/0.1 multipoint
ip add 123.1.1.1 255.255.255.0
frame-relay map ip 123.1.1.2 102 broadcast
frame-relay map ip 123.1.1.3 103 broadcast
exit
R2:
int s0/0
no frame-relay inverse-arp
frame-relay map ip 123.1.1.1 201 broadcast
frame-relay map ip 123.1.1.3 201 broadcast
exit
R3:
int s0/0
no frame-relay inverse-arp
frame-relay map ip 123.1.1.1 301 broadcast
frame-relay map ip 123.1.1.2 301 broadcast
exit
5.帧中继的点到点子接口(point-to-point)
---------------------------------------------------------------------
R1:
int s0/0
encap frame-relay
no ip add
no shut
exit
int s0/0.2 point-to-point
ip add 12.1.1.1 255.255.255.0
frame-relay interface-dlci 102
exit
exit
int s0/0.3 point-to-point
ip add 13.1.1.1 255.255.255.0
frame-relay interface-dlci 103
exit
exit
R2:
int s0/0
encap frame-relay
no ip add
no shut
exit
int s0/0.1 point-to-point
ip add 12.1.1.2 255.255.255.0
frame-relay interface-dlci 201
exit
exit
R3:
int s0/0
encap frame-relay
no ip add
no shut
exit
int s0/0.1 point-to-point
ip add 13.1.1.3 255.255.255.0
frame-relay interface-dlci 301
exit
exit