Cisco Home Lab Tutorial:  Buying And Building A Frame Relay Switch
Cisco Home Lab Tutorial: Buying And Building A Frame Relay Switch

One Of The Major Topics On Your CCNA And CCNP Exams Is Frame Relay. Additionally, Frame Relay Is One Of The Most Popular WAN Technolgies In Today's Networks. Getting Hands-on Experience With Frame Relay In Cisco Networks Isn't Just A Good Idea, It's A Necessity. Let's Face It, Your Employer Is Going To Get A Little Touchy If You Start Experimenting With Your Network's Frame Relay Setup.To Practice All Your Important Frame Relay Commands For Your Exams, You Need A Working Frame Relay Cloud In Your Home Lab. A Production Network's Frame Cloud Consists Of A Lot Of Frame Switches, But If You Choose Wisely, A Single Cisco Router Can Act As Your Home Lab's Entire Frame Cloud!Before We Look At The Configuration Of Such A Router (hereafter Referred To As A "frame Relay Switch"), Let's Look At The Physical Requirements.The More Serial Ports You Have, The Better. You Should Get A Router With At Least Four Serial Ports. For Frame Switching Purposes, It Doesn't Matter If The Ports Are Synchronous Or Asynchronous - You Just Need The Ports.You Will Also Need Some DTEDCE Cables. The DCE End Of The Cables Will Be Connected To The Frame Switch.A Great Configuration For A CCNA Practice Lab Is Three Routers That Serve As "production" Routers, And A 4th Router As A Frame Relay Switch. (You'll Want An Access Server As Well, But That's Another Article.) What I Use In My Student And Customer Pods Is A Setup Where R1 Is Connected To The Frame Switch's S1 Port, R2 Is Connected To S2 On The Frame Switch, And R3 Is Connected To The Frame Switch's S3 Port.Now Comes The Tricky Part - The Configuration. A Frame Relay Switch's Config Can Be Hard To Find, So Here's A Copy Of Mine. Pay Particular Attention To The Config On Ports S1, S2, And S3.version 12.0service Timestamps Debug Uptimeservice Timestamps Log Uptimeno Service Password-encryption!hostname FRAMESWITCH!!ip Subnet-zerono Ip Domain-lookupframe-relay Switching!!!interface Ethernet0no Ip Addressno Ip Directed-broadcastshutdown!interface Serial0ip Address 10.1.1.2 255.255.255.0clockrate 56000!interface Serial1no Ip Addressno Ip Directed-broadcastencapsulation Frame-relaylogging Event Subif-link-statuslogging Event Dlci-status-changeclockrate 56000no Frame-relay Inverse-arpframe-relay Intf-type Dceframe-relay Route 122 Interface Serial2 221frame-relay Route 123 Interface Serial3 321!interface Serial2no Ip Addressno Ip Directed-broadcastencapsulation Frame-relaylogging Event Subif-link-statuslogging Event Dlci-status-changeclockrate 56000no Frame-relay Inverse-arpframe-relay Intf-type Dceframe-relay Route 221 Interface Serial1 122!interface Serial3no Ip Addressno Ip Directed-broadcastencapsulation Frame-relaylogging Event Subif-link-statuslogging Event Dlci-status-changeclockrate 56000no Frame-relay Inverse-arpframe-relay Intf-type Dceframe-relay Route 321 Interface Serial1 123!interface BRI0ip Address 150.1.1.1 255.255.255.252no Ip Directed-broadcastencapsulation Pppdialer Map Ip 150.1.1.2 Name R2 Broadcast 2335552221dialer-group 1!ip Classless!dialer-list 1 Protocol Ip Permit!line Con 0exec-timeout 0 0logging Synchronoustransport Input Noneline Aux 0line Vty 0 4login!endThe Key Command In The Global Configuration Is Frame-relay Switching. You Must Have This Configured Before You Can Configure The Interfaces. The Interfaces Will Be Configured With The Frame Route Command. Let's Take A Look At What Each Value Means In The Command Frame-relay Route 122 Interface Serial2 221.frame-relay Route - The Command122 - The Incoming DLCI On This Interfaceinterface Serial2 - The Interface The Data Will Be Sent Out221 - The Outgoing DLCIThis Command On S1 Means That Anything That Comes In On This Port On DLCI 122 Will Be Sent Out Interface Serial2 On DLCI 221.It's A Good Idea To Hard-code The Interfaces To Act As DCEs With The Frame Intf-type Dce Command. Since These Interfaces Are Acting As DCEs, The Clockrate Command Is Needed For The Line Protocol To Come Up.Once You've Configured Your Frame Switch As Shown And Have Configured The Frame Map Statements On The "production" Routers, You Can Test The Frame Switch Configuration. On The Frame Switch, Run The Command Show Frame Route .FRAMESWITCHshow Frame RouteInput Intf Input Dlci Output Intf Output Dlci StatusSerial1 122 Serial2 221 ActiveSerial1 123 Serial3 321 ActiveSerial2 221 Serial1 122 ActiveSerial3 321 Serial1 123 ActiveYou Should See "active" For All The Interfaces. If You See "deleted", Make Sure Your Frame Switch Interfaces Are Open If They Are, Check The Router Configs.Keep In Mind That You Can Still Configure Routing Protocols To Run On Ports That You're Not Using For Frame Switching. The Router We Used Here Had An Ethernet Port And BRI Port, And The BRI Port Has Been Configured As Part Of The Production Network. Running Frame Switching Does Not Disable IP Routing.Purchasing And Configuring Your Own Frame Relay Switch Is An Invaluable Part Of Your Cisco Education. By Practicing Your Frame Commands And Configuring Frame Connections Over Your Own Frame Relay Cloud, You're Polishing Your Cisco Skills And Gaining Knowledge That Cannot Be Duplicated By Simulator Programs.To Your Success,Chris BryantCCIE 12933