3.7 实验5:配置帧中继流量×××及OSPF的配置
3.7.1 实验内容
l 此次实验的拓扑是一个全网状的帧中继 网络
l 在网络中配置OSPF路由协议
l 布署帧中继流量×××
u 在R5 路由器 是配置流量×××,本地端口速率为 1.544Mbit/s。
u R5到R3的PVC的CIR为32kbit/s。
u R3本地端口速率为64kbit/s,对此PVC 进行流量 ××× 。
3.7.2 实验拓扑
安照图3-8这个拓扑图进行实验
图3-8,实验拓扑示意图
3.7.3 所需设备
l 4台路由器,一台配置为帧中继交换机
l 3条背对背线缆
l PC一台
3.7.4 实验步骤
第1步 安照帧中继的配置步骤R5帧中继封装
第2步 配置地址静态映射
第3步 配置路由协议
第4步 启动FRTS
第5步 为每条PVC配置一个映射类
第6步 在子接口上应用帧中继映射类
在本实验中只在R5到R3的PVC上做流量×××。
3.7.5 完整配置
例3-16 R5的完整配置
hostname R5
!
interface Loopback1
ip address 172.16.5.1 255.255.255.0
!
interface Serial1/0
no ip address
encapsulation frame-relay
no fair-queue
serial restart_delay 0
frame-relay traffic-shaping
!
interface Serial1/0.1 multipoint
ip address 172.16.1.5 255.255.255.248
frame-relay class 64k
frame-relay map ip 172.16.1.3 503 broadcast
frame-relay map ip 172.16.1.2 502 broadcast
!
router ospf 501
log-adjacency-changes
network 172.16.1.0 0.0.0 .7 area 0
network 172.16.5.0 0.0.0 .255 area 500
neighbor 172.16.1.2 priority 1
neighbor 172.16.1.3 priority 1
!
map-class frame-relay 64k
frame-relay cir 1544000
frame-relay bc 8000
frame-relay be 64000
frame-relay mincir 32000
frame-relay adaptive-shaping becn
!
例3-17 R2的完整配置
hostname R2
!
interface Loopback1
ip address 172.16.2.1 255.255.255.0
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart_delay 0
!
interface Serial1/0.1 multipoint
ip address 172.16.1.2 255.255.255.248
frame-relay map ip 172.16.1.3 203 broadcast
frame-relay map ip 172.16.1.5 205 broadcast
!
router ospf 201
log-adjacency-changes
redistribute connected
network 172.16.1.0 0.0.0 .7 area 0
network 172.16.2.0 0.0.0 .255 area 200
neighbor 172.16.1.5 priority 1
neighbor 172.16.1.3 priority 1
!
例3-18 R3的完整配置
hostname R3
!
interface Loopback1
ip address 172.16.3.1 255.255.255.0
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart_delay 0
!
interface Serial1/0.1 multipoint
ip address 172.16.1.3 255.255.255.248
frame-relay map ip 172.16.1.5 305 broadcast
frame-relay map ip 172.16.1.2 302 broadcast
!
!
router ospf 301
log-adjacency-changes
redistribute connected
network 172.16.1.0 0.0.0 .7 area 0
network 172.16.3.0 0.0.0 .255 area 300
neighbor 172.16.1.2 priority 1
neighbor 172.16.1.5 priority 1
3.7.6 验证配置
在R5上使用show frame-relay pvc 503 验证流量×××的配置情况,见例3-20所示信息。
使用show ip route 进行验证OSPF是否正常 工作 。
例3-19 在R5上show frame-relay pvc 503的结果
R5#show frame-relay pvc 503
PVC Statistics for interface Serial1/0 (Frame Relay DTE)
DLCI = 503, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1/0.1
input pkts 28 output pkts 28 in bytes 2236
out bytes 2344 dropped pkts 0 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 0 out bcast bytes 0
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
Shaping adapts to BECN
pvc create time 00:08:27, last time pvc status changed 00:07:18
cir 1544000 bc 15440 be 64000 byte limit 9930 interval 10
mincir 32000 byte increment 1930 Adaptive Shaping BECN
pkts 28 bytes 2344 pkts delayed 0 bytes delayed 0
shaping inactive
traffic shaping drops 0
Queueing strategy: fifo
Output queue 0/40, 0 drop, 0 dequeued
R5#
例3-20 show ip route 所得路由信息
R5#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF , IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
C 172.16.5.0/24 is directly connected, Loopback1
C 172.16.1.0/29 is directly connected, Serial1/0.1
O IA 172.16.3.1/32 [110/65] via 172.16.1.3, 00:06:27, Serial1/0.1
O IA 172.16.2.1/32 [110/65] via 172.16.1.2, 00:06:27, Serial1/0.1
R5#
例3-21 show ip ospf neighbor
R5#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
172.16.3.1 1 FULL/BDR 00:01:59 172.16.1.3 Serial1/0.1
172.16.2.1 1 FULL/DROTHER 00:01:41 172.16.1.2 Serial1/0.1
R5#
笔记 CCIE 实验
1
收藏
上一篇:理解ICMP重定向 下一篇:CCIE实验笔记之-第3章 WA...