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