Val:~$ whoami

I am Val Glinskiy, network engineer specializing in data center networks. TIME magazine selected me as Person of the Year in 2006.

Search This Blog

Monday, August 17, 2009

Cisco router as Frame-Relay switch

There are a lot of examples on the 'Net how to configure Cisco router to act as Frame Relay switch. All of them use command "frame-relay route". Here is (one more) example





For the topology on the picture above, the configuration would look like this

interface Serial2/0
no ip address
encapsulation frame-relay
no fair-queue
clock rate 128000
frame-relay intf-type dce
frame-relay route 103 interface Serial2/2 301
!
interface Serial2/2
no ip address
encapsulation frame-relay
clock rate 128000
frame-relay intf-type dce
frame-relay route 301 interface Serial2/0 103
end
Here is another way to configure:
interface Serial2/0
no ip address
encapsulation frame-relay
no fair-queue
clock rate 128000
frame-relay intf-type dce
!
interface Serial2/2
no ip address
encapsulation frame-relay
clock rate 128000
frame-relay intf-type dce
!
connect mylink Serial2/0 103 Serial2/2 301

In latter case I used command "connect". Unlike "frame-relay route", "connect" command can be used only once for each pair of DLCIs that need to be able to talk to each other. If you need to have many Frame Relay links, using "connect" is less error-prone and configuration is easier to read.
To see connection status:

#show connection all

ID Name Segment 1 Segment 2 State
========================================
2 mylink Se2/0 103 Se2/2 301 UP