注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 小五思科技术学习笔记之SSH
 帮助

CCNA(Stand-ALONE)Lab 24-Frame Relay


2008-04-21 08:21:18
 标签:CCNA Relay Frame   [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://redking.blog.51cto.com/27212/72618
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
 
**********************************************

本文出自 “大唐网络” 博客,请务必保留此出处http://redking.blog.51cto.com/27212/72618





    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: