首页 > 学院 > 网络通信 > 正文

帧中继交换机配置实例

2019-11-05 02:09:07
字体:
来源:转载
供稿:网友

拓扑
 _____
  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。



发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表