拓扑
_____
| R4 |
--------
|
|
__|___ _______ _____ _______
| R2 |--------| SW |------| R5 |------| R3 |
--------- ----------- --------- -----------
|
|
__|___
| R1 |
---------
通过配置使R2 ,R5成为一个FRSW,R2与R5之间通过以太网连接,配置一条Tunnel在R2 与R5之间。
________
| R4 |
------------
|
|
__|___ _____ _____
| R2 |====| R5 |------| R3 |
--------- ---------- ----------
|
|
__|___
| R1 |
---------
最后通过配置成为一下拓扑(逻辑拓扑)
_____
| R4 |
--------
|
|
__|_____ ______
| FRSW |------| R3 |
--------- ----------
|
|
__|___
| R1 |
---------
R2中的配置:
interface Tunnel0
no ip address
tunnel source Ethernet0
tunnel destination 172.16.0.2
!
interface Ethernet0
ip address 172.16.0.5 255.255.255.0
!
interface Serial0
no ip address
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Tunnel0 100
frame-relay route 302 interface Tunnel0 101
R5的配置:
interface Tunnel0
no ip address
tunnel source Ethernet0
tunnel destination 172.16.0.2
!
interface Ethernet0
ip address 172.16.0.5 255.255.255.0
!
interface Serial0
no ip address
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Tunnel0 100
frame-relay route 302 interface Tunnel0 101
DLCI的分配:
R4:201------->R1 ; 203---------->R3
R3:302------->R4 ; 301---------->R1
R1:103------->R3 ; 102---------->R4
注意要在全局配置模式启用fr switching。
转载地址:http://www.netsp.com.cn/Article/config/cisco/switch/200609/20060905153826.html