GNS3下帧中继实验
david kei
posted @ 2012年9月04日 01:55
in Networking
, 2881 阅读
FR
FR#conf t Enter configuration commands, one per line. End with CNTL/Z. FR(config)#frame-relay switching FR(config)#int s1/0 FR(config-if)#clock rate 64000 FR(config-if)#encapsulation frame-relay FR(config-if)#no frame-relay inverse-arp FR(config-if)#no arp frame-relay FR(config-if)#frame-relay intf-type dce FR(config-if)#frame-relay route 102 interface s1/1 201 FR(config-if)#frame-relay route 103 interface s1/2 301 FR(config-if)#frame-relay route 104 interface s1/3 401 FR(config-if)#no shutdown FR(config-if)#exit FR(config)#int s1/1 FR(config-if)#clock rate 64000 FR(config-if)#encapsulation frame-relay FR(config-if)#no frame-relay inverse-arp FR(config-if)#no arp frame-relay FR(config-if)#frame-relay intf-type dce FR(config-if)#frame-relay route 201 interface s1/0 102 FR(config-if)#no shutdown FR(config-if)#exit FR(config)#int s1/2 FR(config-if)#clock rate 64000 FR(config-if)#clock rate 64000 FR(config-if)#encapsulation frame-relay FR(config-if)#no frame-relay FR(config-if)#no frame-relay inverse-arp FR(config-if)#no arp frame-relay FR(config-if)#frame-relay intf-type dce FR(config-if)#frame-relay route 301 interface s1/0 103 FR(config-if)#no shutdown FR(config-if)#exit FR(config)#int s1/3 FR(config-if)#clock rate 64000 FR(config-if)#encapsulation frame-relay FR(config-if)#no frame-relay inverse-arp FR(config-if)#no arp frame-relay FR(config-if)#frame-relay intf-type dce FR(config-if)#frame-relay route 401 interface s1/0 104 FR(config-if)#no shut FR(config-if)#exit
可以查看一下帧中继映射表,查看一下映射关系
FR#show frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/0 102 Serial1/1 201 inactive
Serial1/0 103 Serial1/2 301 inactive
Serial1/0 104 Serial1/3 401 inactive
Serial1/1 201 Serial1/0 102 inactive
Serial1/2 301 Serial1/0 103 inactive
Serial1/3 401 Serial1/0 104 inactive
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/0 102 Serial1/1 201 inactive
Serial1/0 103 Serial1/2 301 inactive
Serial1/0 104 Serial1/3 401 inactive
Serial1/1 201 Serial1/0 102 inactive
Serial1/2 301 Serial1/0 103 inactive
Serial1/3 401 Serial1/0 104 inactive
R1
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s1/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#no frame-relay inverse-arp
R1(config-if)#no arp frame-relay
R1(config-if)#no shutdown
R1(config-if)#int s1/0.1 point-to-point
R1(config-subif)#ip address 12.12.12.12 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 102
R1(config-fr-dlci)#exit
R1(config-subif)#exit
R1(config)#int s1/0.2 multipoint
R1(config-subif)#ip address 192.168.0.1 255.255.255.0
R1(config-subif)#frame-relay map ip 192.168.0.3 103 broadcast
R1(config-subif)#frame-relay map ip 192.168.0.4 104 broadcast
R1(config-subif)#end
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s1/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#no frame-relay inverse-arp
R1(config-if)#no arp frame-relay
R1(config-if)#no shutdown
R1(config-if)#int s1/0.1 point-to-point
R1(config-subif)#ip address 12.12.12.12 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 102
R1(config-fr-dlci)#exit
R1(config-subif)#exit
R1(config)#int s1/0.2 multipoint
R1(config-subif)#ip address 192.168.0.1 255.255.255.0
R1(config-subif)#frame-relay map ip 192.168.0.3 103 broadcast
R1(config-subif)#frame-relay map ip 192.168.0.4 104 broadcast
R1(config-subif)#end
R2可以采用两种配置方式
第一种:直接在物理端口上配置
R2(config)#int s1/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#ip address 12.12.12.21 255.255.255.0
R2(config-if)#no frame-relay inverse-arp
R2(config-if)#no arp frame-relay
R2(config-if)#frame-relay map ip 12.12.12.12 201 #这里只能使用frame-relay map,不能够使用frame-relay interface-dlci。
R2(config-if)#no shutdown
R2(config-if)#end
R2(config-if)#encapsulation frame-relay
R2(config-if)#ip address 12.12.12.21 255.255.255.0
R2(config-if)#no frame-relay inverse-arp
R2(config-if)#no arp frame-relay
R2(config-if)#frame-relay map ip 12.12.12.12 201 #这里只能使用frame-relay map,不能够使用frame-relay interface-dlci。
R2(config-if)#no shutdown
R2(config-if)#end
第二种:在子接口上配置
R2(config-if)#int s1/0.1 multipoint #这里指定点对点和点对多点均可,可根据实际需要设置
R2(config-subif)#ip address 12.12.12.21 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 201 #这里也可以使用frame-relay map
R2(config-fr-dlci)#exit
R2(config-subif)#exit
R2(config-subif)#ip address 12.12.12.21 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 201 #这里也可以使用frame-relay map
R2(config-fr-dlci)#exit
R2(config-subif)#exit
R3与R4的配置方式与R2相同
R3
R3(config)#int s1/0
R3(config-if)#encapsulation frame-relay
R3(config-if)#no frame-relay inverse-arp
R3(config-if)#no arp frame-relay
R3(config-if)#ip address 192.168.0.3 255.255.255.0
R3(config-if)#frame-relay map ip 192.168.0.1 301 broadcast
R3(config-if)#no shutdown
R3(config-if)#end
R3(config-if)#encapsulation frame-relay
R3(config-if)#no frame-relay inverse-arp
R3(config-if)#no arp frame-relay
R3(config-if)#ip address 192.168.0.3 255.255.255.0
R3(config-if)#frame-relay map ip 192.168.0.1 301 broadcast
R3(config-if)#no shutdown
R3(config-if)#end
R4
R4(config)#int s1/0
R4(config-if)#encapsulation frame-relay
R4(config-if)#no frame-relay inverse-arp
R4(config-if)#no arp frame-relay
R4(config-if)#ip address 192.168.0.4 255.255.255.0
R4(config-if)#frame-relay map ip 192.168.0.1 401 broadcast
R4(config-if)#no sh
R4(config-if)#end
R4(config-if)#encapsulation frame-relay
R4(config-if)#no frame-relay inverse-arp
R4(config-if)#no arp frame-relay
R4(config-if)#ip address 192.168.0.4 255.255.255.0
R4(config-if)#frame-relay map ip 192.168.0.1 401 broadcast
R4(config-if)#no sh
R4(config-if)#end
2017年11月10日 20:12
If any page has quality posts like yours then I will search for information very quickly. Please donate again
2022年12月31日 20:37
With the increasing popularity of frame relay, it's important to know how to configure it properly. A frame relay experiment can be conducted using the GNS3 network simulator. This will allow you to see how frame relay works and identify any potential issues. By following a few simple steps, cbd oil you can have your own frame relay experiment up and running in no time.
2023年4月15日 21:11
Our objective would be to cater the requirements of people of all age groups as we intend to publish news classified into General, sample-paper.com Political, Crime, Sports, Entertainment, Education and World News.Our reporting team intends to publish the Education & Recruitment Update for all age groups and present the true picture of the recent events with the inside coverage.