Network

[CCNA]Frame-Relay

DionysosJH™ 2009. 9. 24. 14:44

**** R1 Router Config ****


Router#conf t
Router(config)#
hostname R1
R1(config)#
enable secret cisco
R1(config)#
line vty 0 4
R1(config-line)#
password 12345
R1(config-line)#
no login
R1(config-line)#exit
R1(config)#
int e0
R1(config-if)#
ip add 192.168.0.1 255.255.255.0
R1(config-if)#
no shutdown
R1(config-if)#
int s0
R1(config-if)#
encapsulation frame-relay
R1(config-if)#
no shutdown
R1(config-if)#
int s0.102 point-to-point
R1(config-sub-if)#
ip add 172.16.0.2 255.255.255.0
R1(config-sub-if)#
frame-relay interface-dlci 102
R1(config-sub-if)#
exit
R1(config-if)#
int s0.103 point-to-point
R1(config-sub-if)#
ip add 172.16.2.1 255.255.255.0
R1(config-sub-if)#
frame-relay interface-dlci 103
R1(config-sub-if)#
end
R1#
conf t
R1(config)#
router rip
R1(config-router)#
network 172.16.0.0
R1(config-router)#
network 192.168.0.0
R1(config-router)#
end
R1#copy run start

 


**** R2 Router Config ****

Router#conf t
Router(config)#hostname R2
R2(config)#enable secret cisco
R2(config)#line vty 0 4
R2(config-line)#password 12345
R2(config-line)#no login
R2(config-line)#exit
R2(config)#int e0
R2(config-if)#ip add 192.168.1.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#int s0
R2(config-if)#encapsulation frame-relay
R2(config-if)#no shutdown
R2(config-if)#int s0.201 point-to-point
R2(config-sub-if)#ip add 172.16.0.1 255.255.255.0
R2(config-sub-if)#frame-relay interface-dlci 201
R2(config-sub-if)#exit
R2(config-if)#int s0.203 point-to-point
R2(config-sub-if)#ip add 172.16.1.1 255.255.255.0
R2(config-sub-if)#frame-relay interface-dlci 203
R2(config-sub-if)#end
R2#conf t
R2(config)#router rip
R2(config-router)#network 172.16.0.0
R2(config-router)#network 192.168.1.0
R2(config-router)#end
R2#copy run start

 

 

**** R3 Router Config ****

Router#conf t
Router(config)#hostname R3
R3(config)#enable secret cisco
R3(config)#line vty 0 4
R3(config-line)#password 12345
R3(config-line)#no login
R3(config-line)#exit
R3(config)#int e0
R3(config-if)#ip add 192.168.2.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#int s0
R3(config-if)#encapsulation frame-relay
R3(config-if)#no shutdown
R3(config-if)#int s0.301 point-to-point
R3(config-sub-if)#ip add 172.16.2.2 255.255.255.0
R3(config-sub-if)#frame-relay interface-dlci 301
R3(config-sub-if)#exit
R3(config-if)#int s0.302 point-to-point
R3(config-sub-if)#ip add 172.16.1.2 255.255.255.0
R3(config-sub-if)#frame-relay interface-dlci 302
R3(config-sub-if)#end
R3#conf t
R3(config)#router rip
R3(config-router)#network 172.16.0.0
R3(config-router)#network 192.168.2.0
R3(config-router)#end
R3#copy run start

 

 

*** Frame-Relay MAP Table 확인하기

R1#show frame-relay map

 

 

*** Frame-relay PVC 정보 확인하기

R1#show frame-relay pvc

 

*** Frame-relay LMI 통계 확인하기

R1#show frame-relay lmi