CCNA(Stand-ALONE)Lab 24-Frame Relay

简介:
Objective: Learn to establish a Frame Relay connection.
Lab Equipment: Router 1 and Router 2 from the eRouters menu
Background Reading: Lab Primer Lesson 9: Frame Relay

1. Connect to Router 1, and configure the host name to R1.
Router>enable
Router#conf t
Router(config)#hostname R1
R1(config)#

2. Assign an IP address of 10.1.1.1 255.255.255.0 to the serial 0 interface, and enable the interface.
R1(config)#interface serial 0
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#no shut

3. Now, connect to Router 2 and change the host name to R2.
Router>en
Router#config t
Router(config)#hostname R2
R2(config)#

4. Assign an IP address of 10.1.1.2 255.255.255.0 to the serial 0 interface, and enable the interface.
R2(config)#interface serial 0
R2(config-if)#ip address 10.1.1.2 255.255.255.0
R2(config-if)#no shut

5. On R1, set the encapsulation for the serial 0 interface to Frame Relay. Notice that the interface is still down.
R1(config-if)#encapsulation frame-relay

6. Next, set the Frame Relay interface data-link connection identifier (DLCI) for the connection from R1 to R2. Because the default Frame Relay network is being used, the DLCI will be 102.
R1(config-if)#frame-relay interface-dlci 102

7. On R2, set the encapsulation for the serial 0 interface to Frame Relay. Notice that the serial 0 interface is still down.
R2(config-if)#encapsulation frame-relay

8. Now, set the Frame Relay interface DLCI for the connection from R2 to R1. Because the default Frame Relay network is being used, the DLCI will be 201.
R2(config-if)#frame-relay interface-dlci 201

You should have seen the output from the router saying that the DLCI changed to the active state. This means you have established a connection from R1 through the Frame Relay switch to R2.

9. From R2, verify that the configuration is correct by first trying to ping the serial 0 IP address on R1.
R2(config-if)#exit
R2(config)#exit
R2#ping 10.1.1.1

10. Next, use the Frame Relay show commands to prove that the connection is active. The show frame-relay lmi command displays the Local Management Interface (LMI) traffic that has been exchanged between the router and the Frame Relay switch.
R2#show frame-relay lmi

11. The show frame-relay traffic command displays the global Frame Relay statistics since the last reload of the router.
R2#show frame-relay traffic

12. The show frame-relay map command displays the mappings of the Layer 2 DLCI to the Layer 3 IP address.
R2#show frame-relay map

13. The show frame-relay PVC command displays all of the permanent virtual circuit (PVC) mappings for the router. These mappings are only locally signifi cant between the router and the Frame Relay switch.
R2#show frame-relay pvc
 
**********************************************




本文转自redking51CTO博客,原文链接: http://blog.51cto.com/redking/72618 ,如需转载请自行联系原作者

相关文章