CONFIGURING THE FRAME RELAY SWITCH STEP 1.

Change the router's name to frame-switch Enter configuration mode by using the following command: Router# configure terminal Change the host name of the router to frame-switch by using the following command: Router(config)# hostname frame-switch STEP 2. Enable the router to become a frame-relay switch Configure the router to act as a frame relay switch by using the following command: frame-switch(config)# frame-relay switching STEP 3. Configure the frame relay switch's interfaces Enter interface configuration mode for the first connected serial interface, e.g. serial 0: frame-switch(config)# interface serial 0 Remove the IP address: frame-switch(config-if)# no ip address Set the clock rate to 64000: frame-switch(config-if)# clock rate 64000 Set the encapsulation type to Frame Relay: frame-switch(config-if)# encapsulation frame-relay Set the LMI type to ANSI: frame-switch(config-if)# frame-relay lmi-type ansi Set the Frame Relay interface type to dce: frame-switch(config-if)# frame-relay intf-type dce Enable the interface: frame-switch(config-if)# no shutdown Repeat the commands above for the other connected interfaces on the frame relay switch.

as shown in the network diagram by using the following command: Router(config)# hostname 2501-A Enter interface configuration mode for the connected serial interface: 2501-A(config)# interface serial 0 Assign the IP address as shown in the diagram (ie. Verify your progress On the frame-switch. Configuring the end-point routers and their interfaces Change the host name of the router to 2501-A. STEP 5.STEP 4. You don't need to set them up on the endpoints. Following are the commands that need to be configured for our example network. use the show interface command to verify the operation for all connected interfaces.255.2 with subnet 255. Configure DLCI mappings Now we need to configure the DLCI mappings for each interface by using the frame-relay route command.10. You can see the DLCI mappings have propagated to the endpoints.10.10.240): 2501-A(config-if)# ip address 10.3 .12. The output should be as following: frame-switch# show interface serial 1 STEP 6.2 255. use 10. frame-switch#configure terminal frame-switch(config)# interface serial 1 frame-switch(config-if)# frame-relay route 100 interface s3 101 frame-switch(config-if)# frame-relay route 300 interface s2 301 frame-switch(config-if)# interface serial 2 frame-switch(config-if)# frame-relay route 201 interface s3 200 frame-switch(config-if)# frame-relay route 301 interface s1 300 frame-switch(config-if)# interface serial 3 frame-switch(config-if)# frame-relay route 200 interface s2 201 frame-switch(config-if)# frame-relay route 101 interface s1 100 STEP 7. 2501-B. Verify configuration and connection Go to one of the endpoints and look at the output of some of the "show frame-relay" commands. The format for this command is: frame-switch(config-if)# frame-relay route <input dlci> interface <output interface> <output dlci> You need to configure the appropriate mappings on all the connected interface on the frame relay switch.255.255. or 2501-C. only on the switch.255.12. Display the frame relay DLCI mappings by using the following command: 2501-A# show frame-relay map Display the frame relay pvc statistics by using the following command: 2501-A# show frame-relay pvc 2501-A# ping 10.12.240 Set the encapsulation type to Frame Relay: 2501-A(config-if)# encapsulation frame-relay Set the LMI type to ANSI: 2501-A(config-if)# frame-relay lmi-type ansi Enable the interface: 2501-A(config-if)# no shutdown Repeat the steps above for the other end-point routers. for router 2501-A.

use the following command: RouterA(config)#no ip domain-lookup STEP 3. the following message will be displayed: Type no and press ENTER. make sure you clear both routers' configuration using the Router#erase startup-config command. STEP 2. CONFIGURING THE FIRST ROUTER STEP 1. Remember that you are configuring the running configuration. after the router reboots. Type enable at the Router> command prompt to enter Privileged Exec mode. You will need a lab setup similar to the network diagram below: Before you start.4 frame-switch# show frame route This first CCNA TechLab covers a couple of basic configuration tasks. Configure passwords First set the enable password to cisco123 using the following command: RouterA(config)#enable secret cisco123 . Press ENTER again when the message Press RETURN to get started appears. such as setting passwords and enabling IP routing using RIP. notice the prompt chances to Router#. First we will configure RouterA.10.2501-A# ping 10. Change the router's host name to RouterA Enter configuration mode using the following command: Router#configure terminal Change the host name of the router to RouterA using the following command : Router(config)#hostname RouterA RouterA(config)# Notice how changing the hostname immediately affects the prompt. Disable domain lookups To prevent the router from interpreting every incorrectly typed command as a host name and trying to resolve it to an IP address to setup a telnet connection with it.12.

To do this. Configuring the Ethernet interface Enter Interface configuration mode for the Ethernet interface. use the following command: RouterA(config)#service password-encryption STEP 4.5 255.22. set the password for telnet connections to cisco456 using the following commands: RouterA(config)#line vty 0 4 RouterA(config-line)#password cisco456 RouterA(config-line)#login Although the enable secret command is used to encrypt the enable password.168.0 Enable the interface using the following command: RouterA(config-if)#no shutdown STEP 5.255.Next.11.255. Configure the serial WAN interface Switch to Interface configuration mode for the first Serial interface. using the following command: RouterA(config)#interface Ethernet 0 Give it the description "Connected to LAN" using the following command: RouterA(config-if)#description Connected to LAN1 Configure the IP address (see diagram for correct address) for the interface using the following command: RouterA(config-if)#ip address 192.255. Configure RIP Use the following command to enable RIP on RouterA: RouterA(config)#router rip Configure the router to receive and send only RIP Version 2 packets using the following command: RouterA(config-router)#version 2 Use the following commands to specify the networks directly connected to the router: . using the following command: RouterA(config)#interface Serial 0 Give it the description "Direct connection to RouterB" using the following command: RouterA(config-if)#description connected to RouterB Configure the IP address (see diagram for correct address) for the interface using the following command: RouterA(config-if)#ip address 192.255.1 255.168.0 Configure the interface to use PPP encapsulation using the following command: RouterA(config-if)#encapsulation ppp Enable the interface using the following command: RouterA(config-if)#no shutdown STEP 6. other passwords stored in the router's configuration should be encrypted as well.

run the following command in Privileged Exec mode to display the parameters and current state of the active routing protocol process.248 encapsulation frame-relay frame-relay map ip 192.168. use the following command: RouterA#copy running-config startup-config STEP 8.0 STEP 7. make sure you configured both hosts to use the nearest router's interface as the default gateway in the TCP/IP settings.0 RouterA(config-router)#network 192.23 multipoint description PARTIAL-MESH CONNECTION TO R2-R3 ip add 192.255.168. you need to configure one router as DCE using the following command in Interface configuration mode for the serial connection on RouterB: RouterB(config-if)#clock rate 64000 STEP 9.RouterA(config-router)#network 192. and the notice output: Router#show ip interface brief R1 int s0/0 no ip address encapsulation frame-relay int s0/0. Verify and test the configuration Verify using the ping command Host A to Host B. repeat the steps above. Save configuration To copy the currently running active configuration to NVRAM. To enable the back-to-back serial connection between te routers. and examine the output: Router#show ip interface Use the same command with the brief option.23. RouterB.23.168. Use the network diagram to determine the correct addressing and names.255. and examine the output: Router#show ip protocols Use the following command to verify routing table entries on both routers: Router#show ip route Use the following command to list a summary of the interface's IP information and status on both routers.2 102 broadcast . Configuration second router To configure the other router. On both routers. so it will be used the next time you reload the router.1 255.22. run the following command in Privileged Exec mode to determine which device is the DCE: Router#show controllers s0 On one of the routers.11.168.

252 encapsulation frame-relay frame-relay interface-dlci 401 .255.252 encapsulation frame-relay frame-relay interface-dlci 104 R2 int s0/0 no ip address encapsulation frame-relay int s0/0.23.168.1 point-to-point description P2P CONNECTION TO R1 ip add 192.255.23.248 encapsulation frame-relay frame-relay map ip 192.frame-relay map ip 192.1 301 broadcast frame-relay map ip 192.168.255.255.23.255.3 255.23 multipoint description PARTIAL-MESH CONNECTION TO R1-R3 ip add 192.23.168.1 201 broadcast frame-relay map ip 192.168.4 point-to-point description P2P CONNECTION TO R4 ip add 192.14.14.23.2 255.23 multipoint description PARTIAL-MESH CONNECTION TO R1-R2 ip add 192.255.3 103 broadcast int s0/0.168.23.168.168.2 302 broadcast R4 int s0/0 no ip address encapsulation frame-relay int s0/0.23.3 203 broadcast R3 int s0/0 no ip address encapsulation frame-relay int s0/0.255.1 255.255.168.248 encapsulation frame-relay frame-relay map ip 192.168.2 255.

Sign up to vote on this title
UsefulNot useful