On many occasions, you can configure the Cisco router to become a Frame relay switch. and supports multiple routers to form a larger frame relay switch via NNI connections.
In this paper, R2 and R3 are interconnected to form a large switch to communicate R1 and 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 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 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 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