在很多场合,可以将Cisco路由器配置成为帧中继交换机。并且支持多台路由器通过NNI 连接构成一个更大的帧中继交换机。
本文将R2和R3互连,组成一个大交换机,为R1和R4实现通信。
R2:
no ip routing
frame-relay switching
interface Serial1/0
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 104 interface Serial1/1 23
!
interface Serial1/1
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type nni
frame-relay route 23 interface Serial1/0 104
R3:
no ip routing
frame-relay switching
interface Serial1/0
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 401 interface Serial1/1 23
!
interface Serial1/1
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type nni
frame-relay route 23 interface Serial1/0 401
R1:
interface Serial1/0
ip address 192.168.14.1 255.255.255.0
encapsulation frame-relay
R4:
interface Serial1/0
ip address 192.168.14.4 255.255.255.0
encapsulation frame-relay