配置帧中继子接口和流量×××
原创
©著作权归作者所有:来自51CTO博客作者hexianguo的原创作品,请联系作者获取转载授权,否则将追究法律责任
配置帧中继子接口和流量×××
第一步:在R1上的预配置
R1(config)#int s3/0
R1(config-if)#en fr在接口下封装帧中继
R1(config-if)#no fram
R1(config-if)#no frame-relay inv
R1(config-if)#no frame-relay inverse-arp 关闭反向ARP
R1(config-if)#int s3/0.2 point
R1(config-if)#int s3/0.2 point-to-point在接口S3/0下配置点到点子接口S3/0.2
R1(config-subif)#no frame inv
R1(config-subif)#no frame inver关闭反向ARP
R1(config-subif)#fram
R1(config-subif)#frame-relay int
R1(config-subif)#frame-relay interface-dlci 102定义帧中继DLCI号为102
R1(config-fr-dlci)#ip ad 192.168.12.1 255.255.255.0在子接口S3/0.2下配置IP地址
R1(config-subif)#no sh激活端口
R1(config-subif)#exit
R1(config)#^Z
R1#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s3/0.1 po
R1(config)#int s3/0.1 point-to-point 在接口S3/0下配置点到点子接口S3/0.1
R1(config-subif)#no fram
R1(config-subif)#no frame-relay inv关闭反向ARP
R1(config-subif)#no frame-relay inverse-arp
R1(config-subif)#fram
R1(config-subif)#frame-relay int
R1(config-subif)#frame-relay interface-dlci 103定义帧中继DLCI号为103
R1(config-subif)#ip ad 192.168.13.1 255.255.255.0在子接口S3/0.2下配置IP地址
R1(config-subif)#no sh
R1(config-subif)#end
第二步:R2上的预配置
R2(config)#int s3/0
R2(config-if)#fram
R2(config-if)#frame-relay map ip 192.168.12.1 201 b配置帧中继在S3/0.2端口的映射
R2(config-if)#exit
R2(config)#router
R2(config)#router ospf 64配置OSPF路由协议
R2(config-router)#net
R2(config-router)#network 0.0.0.0 0.0.0.0 are
R2(config-router)#network 0.0.0.0 0.0.0.0 area 0
R2(config-router)#^Z
R2#
00:16:06: %SYS-5-CONFIG_I: Configured from console by console
R2#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int s3/0
R2(config-if)#ip ospf network point-to-point
R2(config-if)#exit
R2(config)#
R2(config)#
R2(config)#int s3/0
R2(config-if)#no sh
R2(config-if)#end
第三步:在R3上的预配置
R3(config)#int s3/0
R3(config-if)#en fr封装帧中继
R3(config-if)#no fra
R3(config-if)#no fram
R3(config-if)#no frame-relay inver关闭反向ARP
R3(config-if)#ip ad 192.168.13.3 255.255.255.0在接口下配置IP
R3(config-if)#fram
R3(config-if)#frame map ip 192.168.13.1 301 b手工配置帧中继到端口S3/0.1映射关系
R3(config-if)#exit
R3(config)#^Z
R3(config)#int s3/0
R3(config-if)#no sh
R3(config-if)#end激活端口
R3#show ip
R3#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int s3/0
R3(config-if)#end
R3#
00:18:09: %SYS-5-CONFIG_I: Configured from console by console
R3#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#
R3(config)#
R3(config)#
R3(config)#router osp
R3(config)#router ospf 64
R3(config-router)#net
R3(config-router)#network 0.0.0.0 0.0.0.0 area
R3(config-router)#network 0.0.0.0 0.0.0.0 area 0配置ospf路由协议
R3(config-router)#end
R3#conf
00:18:40: %SYS-5-CONFIG_I: Configured from console by console
R3#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int s3/0
R3(config-if)#ip ospf net
R3(config-if)#ip ospf network poin
R3(config-if)#ip ospf network point-to-p
R3(config-if)#^Z
第四步:用扩展ping命令测试路由之间的连通性,发送几个大数据包(超过1000字节的数据包),测试吞吐量,注意以毫秒计的返回时间
Protocol [ip]:
Target IP address: 192.168.12.2
Repeat count [5]: 55
Datagram size [100]: 1111
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.12.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 55, 1111-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (55/55), round-trip min/avg/max = 52/557/1120 m
第五步:在R1进行Frame-relay流量×××
R1#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#
R1(config)#
R1(config)#map-cla
R1(config)#map-class fram
R1(config)#map-class frame-relay cir
R1(config-map-class)#fram
R1(config-map-class)#frame-relay tra
R1(config-map-class)#frame-relay traffic-rate 19200
R1(config-map-class)#exit
R1(config)#int s3/0
R1(config-if)#fram
R1(config-if)#frame-relay tra
R1(config-if)#frame-relay traffi
R1(config-if)#frame-relay traffic-shaping
R1(config-if)#int s3/0.2
R1(config-subif)#fram
R1(config-subif)#frame-relay class
R1(config-subif)#frame-relay class cir
R1(config-subif)#^Z
第六步:在R2上进行Frame-relay流量×××
R2(config)#map
R2(config)#map-cl
R2(config)#map-class fram
R2(config)#map-class frame-relay cir
R2(config-map-class)#fram
R2(config-map-class)#frame-relay traff
R2(config-map-class)#frame-relay traffic-rate 19200
R2(config-map-class)#exit
R2(config)#int s3/0
R2(config-if)#frame
R2(config-if)#frame-relay class cir
R2(config-if)#^Z
第七步:再次进行ping结果与步骤3中的ping有什么不同
Protocol [ip]:
Target IP address: 192.168.12.2
Repeat count [5]: 55
Datagram size [100]: 1111
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.12.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 55, 1111-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (55/55), round-trip min/avg/max = 52/557/1120 m
R1#
00:34:24: %SYS-5-CONFIG_I: Configured from console by console
R1#p
Protocol [ip]:
Target IP address: 192.168.12.2
Repeat count [5]: 55
Datagram size [100]: 1111
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.13.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 55, 1111-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
.......................................................
Success rate is 0 percent (0/55)
R1#
R1#
R1#
R1#
R1#
R1#
R1#p
Protocol [ip]:
Target IP address: 192.168.12.2
Repeat count [5]: 55
Datagram size [100]: 1111
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.12.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 55, 1111-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (55/55), round-trip min/avg/max = 52/557/1120 ms
R1#show fram
R1#show frame pvc 102
PVC Statistics for interface Serial3/0 (Frame Relay DTE)
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial3/0.2
input pkts 249 output pkts 199 in bytes 74877
out bytes 193424 dropped pkts 2 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 24 out bcast bytes 8409
pvc create time 00:29:50, last time pvc status changed 00:23:43
cir 19200 bc 19200 be 0 limit 300 interval 125
mincir 9600 byte increment 300 Adaptive Shaping none
pkts 119 bytes 125827 pkts delayed 36 bytes delayed 39378
shaping inactive
traffic shaping drops 0
Serial3/0.2 dlci 102 is first come first serve default queueing
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
帧中继基本配置和帧中继映射
&n
职场 休闲 帧中继 -
【帧中继】帧中继基础配置
帧中继的基础原理和配置
原理 帧中继 frame-relay DLCI 反向arp -
帧中继学习之帧中继、帧中继映射的基本配置
了解帧中继的基本原理掌握帧中继的基本配置步骤
职场 CCNP 休闲 帧中继