a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 164|回复: 1

[CCIE] CCIE分解:帧中继子接口和流量整形配置

[复制链接]
发表于 2012-8-3 20:12:39 | 显示全部楼层 |阅读模式
实验说明:
4 a- o6 c# Q* j* |( \  R1和R2之间的平均吞吐量较低为了节省开支,我们决定修改与服务提供商签署的合同,将约定信息速率从1.544Mbit/s降低到19.2Mbit/s$ g' p$ M" y  [; {  N( p7 Y0 L
  实验过程:+ _; O+ l, p8 @, v: e
  第一步:预配置( u3 M! C2 g! b# C9 n: ]
  R1(config)#int s3/0( X- F9 g4 \+ O; ]
  R1(config-if)#encapsulation frame-relay
) y, f* ^( X6 }, Z/ d  R1(config-if)#no frame-relay inverse-arp
2 N' q& _* i* N  u0 ]6 l  R1(config-if)#no sh
$ E# O! H* h; _# |0 }1 G7 ]  R1(config-if)#end% d+ j+ \8 w4 p' P9 E! a6 ]
  R1(config)#int s3/0.1 point-to-point //配置为点到点子接口
- s: _2 T, h- ], M  R1(config-subif)#no sh% _( q% L5 w! Z8 J5 M
  R1(config-subif)#ip ad 192.168.12.1 255.255.255.0
. F$ `8 u3 Y7 s- h$ \  R1(config-subif)#no frame-relay inverse-arp //关闭反向ARP; P* k& Y6 S9 ]' G9 [
  R1(config-subif)#frame-relay interface-dlci 102
. z8 _- F  J9 B& P) {  R1(config-subif)#exit
+ q3 Z+ E8 G4 W  r( @* e0 ]  R1(config)#router ospf 1$ G8 W* `( U2 d6 k% M
  R1(config-router)#net 0.0.0.0 0.0.0.0 area 0
+ J. A) r/ v) ?$ h/ p  R1(config-router)#exit) G1 N: q- z; Q' m
  R1(config)#int s3/0.2 point-to-point1 U: |* O# Z# Q+ k4 h, g% c
  R1(config-subif)#no sh+ Q2 f6 L/ [: v- K! U+ G
  R1(config-subif)#no frame-relay inverse-arp9 N- D) q+ g5 f. O5 i
  R1(config-subif)#ip ad 192.168.13.1 255.255.255.0! \0 h# w4 s5 k3 o/ N
  R1(config-subif)#no sh- ]* Z; ^$ U; y
  R1(config-subif)#frame-relay interface-dlci 103
7 |0 k4 }* ^" r7 L8 A& X  R2(config)#int s3/0
; b, K. t3 i9 ^" F  R2(config-if)#encapsulation frame-relay
9 G4 S3 I& z4 L& d3 d: u  R2(config-if)#ip ad 192.168.12.2 255.255.255.0- o' y# I* K0 Z8 F! P
  R2(config-if)#no sh* |% G1 a- m9 p7 n" k, ~+ X
  R2(config-if)#frame-relay map ip 192.168.12.1 201 broadcast# P/ T0 i2 ?  Q8 s5 ?. ?
  R2(config-if)#exit# y2 m& `7 Y2 C8 W
  R2(config)#router ospf 16 n2 {- W4 A/ |# O2 P
  R2(config-router)#net 0.0.0.0 0.0.0.0 area 0, a/ q8 L7 q$ s$ }5 H' r
  R2(config-router)#exit
3 `; R4 k4 \6 m5 f! o3 d. o) \  R2(config)#int s3/08 f/ I, X' a$ N; {
  R2(config-if)#ip ospf network point-to-point
: T9 V& \& U( Q  R3(config)#int s3/0* G' e. X* V; B
  R3(config-if)#no sh
" l8 J. E0 X) d% B) M, x4 Z  R3(config-if)#encapsulation frame-relay+ `, B: M1 k2 ~3 ^5 Y* F
  R3(config-if)#no frame-relay inverse-arp
  k) h( M0 q5 b; U7 l, l  R3(config-if)#ip ad 192.168.13.3 255.255.255.0
' y2 b4 P" v3 g  R3(config-if)#no sh! J! w: I! D0 I
  R3(config-if)#frame-relay map ip 192.168.13.1 301 b
/ j" J7 a% E4 u: L! c9 O2 d  R3(config-if)#exit
+ _' U0 t( H# d, H6 \1 G4 c2 {( T  R3(config)#router ospf 1
" V4 E! b6 V+ A2 {, X+ ~) R  R3(config-router)#net 0.0.0.0 0.0.0.0 area 0
  O$ B# u* j" L0 l. h; A* m% L& O  R3(config-router)#exit
- \. D, B3 A7 O- d# Y  R3(config)#int s3/05 t+ Z6 x; K7 m( \
  R3(config-if)#ip ospf network point-to-point
回复

使用道具 举报

 楼主| 发表于 2012-8-3 20:12:40 | 显示全部楼层

CCIE分解:帧中继子接口和流量整形配置

实验过程:5 p9 C! x' k, E2 K5 [* j! y, ~* \
  第一步:在R1 进行流量整形
$ [4 g* C- D  d2 J  R1(config)#map-class frame-relay CIR; K* m/ J; x( \- l3 P
  R1(config-map-class)#frame-relay traffic-rate 19200; n. ], H; g1 g
  R1(config-map-class)#exit
3 Y) M7 K/ z! ]% B) C& i- k  R1(config)#int s3/0
' Q5 X6 Y" P" i9 Q  R1(config-if)#frame-relay traffic-shaping
# x& L7 E% U+ y& C  R1(config-if)#int s3/0.1
  m" _  }7 F! ~" G8 i/ f( R7 x  R1(config-subif)#frame-relay class CIR, T, x+ @+ h: w# R
  R1(config-subif)#int s3/0.2
) x; S! h' i3 y1 d0 e8 I  R1(config-subif)#frame-relay class CIR5 l, k4 O9 W& h& n0 V
  第二步:在R2上进行流量整形。& d6 K8 a$ y  S- f: {5 V
  R2(config)#map-class frame-relay CIR
9 u5 s+ f4 t/ b4 e! x; `  R2(config-map-class)#frame-relay traffic-rate 19200
- n0 o  X3 }* }3 o3 q+ P! @9 M  R2(config-map-class)#exit" W( D! E1 Z3 J) R
  R2(config)#int s3/06 D5 U& @4 e$ s( h; u
  R2(config-if)#frame-relay class CIR
# _6 }6 C4 m+ K/ K/ i  第三步:查看更为详细的流量整流的统计结果
$ s, P0 z. A/ u& x& A; v7 Q( H  R1#show frame pvc 102/ ?4 @/ n8 n1 _4 t% U& |
  PVC Statistics for interface Serial3/0 (Frame Relay DTE)9 u0 `5 a- S$ z) W) m( a
  DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = INACTIVE, INTERFACE = Serial3/0.1
. w8 g9 G% e' W6 E# ]. \  input pkts 0 output pkts 0 in bytes 0
! T- Y0 N3 f; X8 L+ S& E! n( Q  out bytes 0 dropped pkts 0 in pkts dropped 03 T. I( Q4 {6 r3 q! L- H1 c5 n
  out pkts dropped 0 out bytes dropped 0
+ U& Y. M; f! ]. ]3 e2 `4 N  in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
7 ^0 W# w, v; Q! [+ _. c8 O  out BECN pkts 0 in DE pkts 0 out DE pkts 07 j: }/ B/ h1 E; K: C1 ~& e4 s
  out bcast pkts 0 out bcast bytes 0+ J8 J* a: n' Q; L
  5 minute input rate 0 bits/sec, 0 packets/sec8 u, j$ K9 I" l+ {" y! ~
  5 minute output rate 0 bits/sec, 0 packets/sec. i! P0 r1 Y' w2 k( }7 Q8 Y- h/ h4 m
  pvc create time 00:50:40, last time pvc status changed 00:50:40" y- M' Z5 l' n* D% j, |( F% W
  cir 19200 bc 19200 be 0 byte limit 300 interval 125  U7 ~. P7 h% m7 D; J+ b
  mincir 9600 byte increment 300 Adaptive Shaping none
- z7 T# \; h1 E. h  pkts 0 bytes 0 pkts delayed 0 bytes delayed 0
0 U2 G! v) z2 O; ?* J  shaping inactive( q! V/ A. T- ~" V0 X$ E) I0 j
  traffic shaping drops 0
) Z- h( g; e  ]! r" u* s  Queueing strategy: fifo# A# ]+ p5 y  s; ~9 g. q
  Output queue 0/40, 0 drop, 0 dequeued; h8 X8 U5 w$ x2 g! H# D+ \' [
  R2#show frame pvc 2019 f4 ]* C3 F6 f6 g% Z) a' l
  PVC Statistics for interface Serial3/0 (Frame Relay DTE)' h$ d/ _4 C+ ?: K/ w# M
  DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = DELETED, INTERFACE = Serial3/01 J* U6 G8 R2 o* B% v4 A% U; \5 m
  input pkts 0 output pkts 0 in bytes 01 T: A, Z0 l3 w8 J3 C
  out bytes 0 dropped pkts 0 in pkts dropped 01 l1 e5 a( E& {3 {
  out pkts dropped 0 out bytes dropped 0
8 ^' R6 j7 j6 l) c" Q) E* ^- Q  in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
5 M1 Z' [# X, h. y/ S& ^  out BECN pkts 0 in DE pkts 0 out DE pkts 0
) N8 I" _& U! H  out bcast pkts 0 out bcast bytes 0
* J& h7 X9 v0 @3 P/ f  w. U# U) G5 X  5 minute input rate 0 bits/sec, 0 packets/sec' I) a9 x. _* ]& D* K9 N- J
  5 minute output rate 0 bits/sec, 0 packets/sec  j" L" [3 m3 X1 @3 n
  pvc create time 00:49:50, last time pvc status changed
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-16 03:30 , Processed in 0.221003 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表