广域网帧中继技术---思科设备
配置任务:
1.接口配置:
Encapsulated frame-relay [ietf|cisco]
Frame-relay lmi-type [cisco|ansi|q933a]
Frame-relay map ip 吓一跳地址 本地dlci {broadcat}
Ip 地址
No shut
2.路由
静态路由
动态路由
R1
Frame-relay switching
Inter s 0/0
Encapsulation frame-relay //封装
Frame-relay intf-type dce
Clock rate 64000
No shut
Frame-relay lmi-type cisco //信令 如果不是相同的设备需要用ansi
Frame-relay route 100 interface s 0/1 101
Frame-relay route 200 interface s 0/2 201
Inter s 0/1
Encapsulation frame-relay
No shut
Frame-relay intf-type dec //互联的网络设备本应为nni
Clock rate 64000
Frame-relay lmi-type cisco
Frame-relay route 101 inter s 0/0 100 //转发表
Inter s 0/2
No shut
Encapsulation frame-relay
Frame-relay intf-type dce
Clock rate 64000
Frame-relay lmi-type cisco
Frame-relay route 201 inteface s 0/0 200
R2
Line cons 0
Logging syn
No exec-timeout
Frame-relay switching
Interface s 0/0
No shut
Encapsulation frame-relay
Frame-relay lmi-type cisco
Frame-relay intf-type dce
Clock rate 64000
Frame-relay route 102 int s 0/1 101
Inter s 0/1
No shut
Encapsulation frame-relay
Frame-relay lmi-type cisco
Frame-relay intf-type dte
Frame-relay route 101 interface s 0/0 102
R3
Frame-relay switching
Interface s 0/0
No shut
Encapsulation frame-relay
Frame-relay intf-type dce
Clock rate 64000
Frame-relay lmi-ty cisco
Frame-relay route 202 inter s 0/2 201
Inter s 0/2
No shut
Encapsulation frame-relay
Frame-relay lmi-type cisco
Frame-relay intf-type dte
Frame-relay route 201 inter s 0/0 202
R11
Inter f 0/0
Ip add 192.168.1.1 255.255.255.0
No keepalive
No shut
Inter s 1/0
//Ip add 192.168.4.1 255.255.255.0
//Ip add 192.168.5.1 255.255.255.0 secondary
拆分子接口
Inter s 1/0.1 point-to-point
Ip add 192.168.4.1 255.255.255.0
Frame-relay interface-dlci 100
Frame-relay inverse-arp
Inter s 1/0.2 point
Ip add 192.168.5.1 255.255.255.0
Frame-relay interface-dlci 200
Frame-relay inverse-arp
No shut
Encapsulation frame-relay
Frame-relay lmi-type cisco
Frame-relay map ip 192.168.4.2 100
Frame-relay map ip 192.168.5.2 200
Ip route 192.168.2.0 255.255.255.0 192.168.4.2
Ip route 192.168.3.0 255.255.255.0 192.168.5.2
动态的:
No frame-relay map ip 192.168.4.2 101
No frame-relay map ip 192.168.5.2 201
Frame-relay inverse-arp
R22
Line console 0
Logging synchronous
On exec-timeout
Inter f 0/0
Ip add 192.168.2.1 255.255.255.0
No shut
No keepalive
Inter s 1/0
Ip add 192.168.4.2 255.255.255.0
No shut
Encapsulation frame-relay
Frame-relay lmi-type cisco
Frame-relay map ip 192.168.4.1 102
Ip route 0.0.0.0 0.0.0.0 192.168.4.1
动态的:
No frema-relay map ip 192.168.4.1 102
Frame-relay inverse-arp
R33
Inter f 0/0
Ip add 192.168.3.1 255.255.255.0
No shut
No keepalive
Inter s 1/0
Ip add 192.168.5.2 255.255.255.0
No shut
Encapsulation frame-relay
Frema-relay lmi-type cisco
Frame-relay map ip 192.168.5.1 202
Ip route 0.0.0.0 0.0.0.0 192.168.5.1
动态的:
No frame-relay map ip 192.168.5.1 202
Frame-relay inverse-arp
查看配置:
Show frame-relay pvc
Show frame-relay map
本文出自 “春风化雨” 博客,转载请与作者联系!