a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 125|回复: 1

[CCIE] 思科认证:帧中继子接口和流量整形配置

[复制链接]
发表于 2012-8-3 20:12:39 | 显示全部楼层 |阅读模式
实验说明:7 y1 e+ U6 C2 ^
  R1和R2之间的平均吞吐量较低为了节省开支,我们决定修改与服务提供商签署的合同,将约定信息速率从1.544Mbit/s降低到19.2Mbit/s! q3 n/ y$ \$ I
  实验过程:6 T3 I, T$ u, x# y: I3 q
  第一步:预配置
( C( n3 t+ k8 `+ _9 E' @6 c: C: U  R1(config)#int s3/0
* q3 M+ u9 Z6 e  R1(config-if)#encapsulation frame-relay# w/ }/ ?. \" }. ~$ l; h0 q
  R1(config-if)#no frame-relay inverse-arp/ v$ t% L0 ?3 N# z5 l) r4 h; F5 h
  R1(config-if)#no sh
. U0 @% _  o& [* \' ?6 u% i  R1(config-if)#end9 t% [, ^& C: J# ^# R( s7 u1 c- M/ f
  R1(config)#int s3/0.1 point-to-point //配置为点到点子接口
' {+ ~6 G' O; _( C' e/ X, E% X  R1(config-subif)#no sh6 J6 s& c! x- [! H
  R1(config-subif)#ip ad 192.168.12.1 255.255.255.02 r" l, O4 K+ @2 B
  R1(config-subif)#no frame-relay inverse-arp //关闭反向ARP& o/ g. U! l3 q) k& ^
  R1(config-subif)#frame-relay interface-dlci 102
3 x/ S1 `# P' N! T2 T) o) T: o- [6 e  R1(config-subif)#exit! P4 l2 D& X7 ^! m
  R1(config)#router ospf 12 r0 X4 C9 Y7 I3 G: _/ \9 B
  R1(config-router)#net 0.0.0.0 0.0.0.0 area 0! }5 k; ?. R- t+ F! h* Z* A8 T) r
  R1(config-router)#exit
) y" r' ?9 t. T+ Y  Y* Z7 b) t  R1(config)#int s3/0.2 point-to-point' e9 y+ a7 ~3 r6 y
  R1(config-subif)#no sh
" C  C1 b. M+ ?" w- d& a+ b/ v2 Y  R1(config-subif)#no frame-relay inverse-arp
/ D  t* S' |- t  R1(config-subif)#ip ad 192.168.13.1 255.255.255.0* r. N7 L! t5 R/ {
  R1(config-subif)#no sh( i) a& [$ i% M& s0 t
  R1(config-subif)#frame-relay interface-dlci 103
$ f6 i& E2 ^4 R0 }2 ~: ]  R2(config)#int s3/0
+ d. O& Y8 x4 d' J% \  R2(config-if)#encapsulation frame-relay0 o0 }# Y& J9 O& i) {& N8 I0 j
  R2(config-if)#ip ad 192.168.12.2 255.255.255.0! p" h6 i! e. f* _0 p9 \0 l
  R2(config-if)#no sh
  K) _4 j- n2 Z% ]" S; u! Y% J  R2(config-if)#frame-relay map ip 192.168.12.1 201 broadcast
+ }% g4 V8 M0 V; K9 Z$ V  j  R2(config-if)#exit. G7 C1 O! |; m& f  C
  R2(config)#router ospf 1. t3 ?5 i5 s# y3 r7 l/ T  J$ L
  R2(config-router)#net 0.0.0.0 0.0.0.0 area 0& Y& e+ S: n/ r/ [
  R2(config-router)#exit
# ], ]) a5 n0 x  R2(config)#int s3/08 s/ U) ~+ m; o; s% r6 Q6 B5 E
  R2(config-if)#ip ospf network point-to-point' H% i* E( T1 ?. T4 M4 s
  R3(config)#int s3/0
7 B8 b& d% Q6 p8 A  G2 s  R3(config-if)#no sh
8 h  g6 H# S4 c. c" s. Q3 h: E  R3(config-if)#encapsulation frame-relay/ \9 m7 O- k2 ^
  R3(config-if)#no frame-relay inverse-arp
) Y$ H3 S2 C7 r. Y  R3(config-if)#ip ad 192.168.13.3 255.255.255.0
- n% m8 Q3 D- S6 Z  R3(config-if)#no sh
+ `4 E( `( C* @. e9 ]  R3(config-if)#frame-relay map ip 192.168.13.1 301 b
# U! ]; i$ e8 H7 G- I1 V- I: H7 a  R3(config-if)#exit3 ~$ x4 X' o! s/ m$ i
  R3(config)#router ospf 17 U' m) Q5 |; ?+ I
  R3(config-router)#net 0.0.0.0 0.0.0.0 area 0: m2 N3 J0 i) l! S. B
  R3(config-router)#exit+ L9 `5 O- C/ f& l
  R3(config)#int s3/05 y+ {* P/ T5 C/ W, d- h
  R3(config-if)#ip ospf network point-to-point
回复

使用道具 举报

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

思科认证:帧中继子接口和流量整形配置

  实验过程:
" J8 w, [% N, i! P+ \  第一步:在R1 进行流量整形  L" e6 e0 v+ A8 H5 g
  R1(config)#map-class frame-relay CIR" }+ N' f7 ~& m; w* Y* ?; i
  R1(config-map-class)#frame-relay traffic-rate 19200# E) m' ~- R( r1 |$ s% M
  R1(config-map-class)#exit
% i7 u9 [" y9 j* k% w. F( p+ q; s  R1(config)#int s3/0
* f6 t: V# Q/ W4 V0 V$ r2 n  R1(config-if)#frame-relay traffic-shaping' \" t+ ^5 h. a1 Z4 m
  R1(config-if)#int s3/0.1
, C: V5 O1 c' u) W  R1(config-subif)#frame-relay class CIR* Q+ k( U- ?6 S1 v4 l8 m6 Y
  R1(config-subif)#int s3/0.2
1 [4 k7 c* [& R7 Z3 ~7 L+ V, m  R1(config-subif)#frame-relay class CIR& |0 U; p( ], V$ s: E1 k& ]5 M) v$ K
  第二步:在R2上进行流量整形。
" D4 {: }% I5 l4 q. E% j  R2(config)#map-class frame-relay CIR  D7 h% P7 W" N3 v" ^/ F$ t, c2 O
  R2(config-map-class)#frame-relay traffic-rate 19200
6 ~1 V, l1 ?# M( }  R2(config-map-class)#exit- q; G0 Z5 H3 J, Q2 j: p" n
  R2(config)#int s3/07 \& |6 a4 Y$ s. s
  R2(config-if)#frame-relay class CIR& i: J% A- U% Y! y  F* G5 F
  第三步:查看更为详细的流量整流的统计结果/ P5 ^8 {6 V  t8 N" x
  R1#show frame pvc 102
$ q. V* _: p  P" `/ E5 f  PVC Statistics for interface Serial3/0 (Frame Relay DTE)- d9 t- H; ^) j, U
  DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = INACTIVE, INTERFACE = Serial3/0.1
0 b/ j" n. t1 \% |8 e- Z  input pkts 0 output pkts 0 in bytes 0
  ~: b* S) n8 S: z; j. H3 T* a  out bytes 0 dropped pkts 0 in pkts dropped 0) }; i, G9 \5 k% N& V) {8 {$ o( t' y
  out pkts dropped 0 out bytes dropped 0
' ]; K5 p/ O4 A% L  S% w  in FECN pkts 0 in BECN pkts 0 out FECN pkts 06 p/ x4 ^5 r* n
  out BECN pkts 0 in DE pkts 0 out DE pkts 0
- W9 c$ f( \. R+ T" t$ `6 I! Z  out bcast pkts 0 out bcast bytes 08 x2 d) N  M% d* @" H4 d
  5 minute input rate 0 bits/sec, 0 packets/sec
% I$ R+ N+ C* s/ p. ]( m; u  5 minute output rate 0 bits/sec, 0 packets/sec
2 H5 R2 x: a3 C2 E3 @( G  y  pvc create time 00:50:40, last time pvc status changed 00:50:403 Q& F3 v# q' C' g3 X0 p
  cir 19200 bc 19200 be 0 byte limit 300 interval 1252 `- Y. A1 |$ H
  mincir 9600 byte increment 300 Adaptive Shaping none
% P" m  z9 g, p  pkts 0 bytes 0 pkts delayed 0 bytes delayed 0
* t1 C+ T! v+ N; b1 b8 D  shaping inactive
$ G5 M2 \6 [* e) ~6 @. O  traffic shaping drops 0* T0 ~  i7 ~( s3 G" v
  Queueing strategy: fifo
9 j% r: _1 \. ?2 X* L  Output queue 0/40, 0 drop, 0 dequeued
2 ^+ `" T% e# ^- u5 Q3 y, v6 C  R2#show frame pvc 201; p& e- |. a& A. ]' X( @/ L( ~
  PVC Statistics for interface Serial3/0 (Frame Relay DTE)
  z8 J5 Q9 i/ d5 K  DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = DELETED, INTERFACE = Serial3/0
6 a3 B$ A6 _& v+ e' ~& `0 J3 B. }  input pkts 0 output pkts 0 in bytes 0
0 O  l; e$ J* |8 W% p) ]9 q  out bytes 0 dropped pkts 0 in pkts dropped 0
: q! Y, C$ j( P% Z  out pkts dropped 0 out bytes dropped 0
4 y% \2 t( Y$ h- n  in FECN pkts 0 in BECN pkts 0 out FECN pkts 0; r% O/ x' Z; ~6 n" z
  out BECN pkts 0 in DE pkts 0 out DE pkts 0; m2 A4 t  U7 n+ p$ u9 ]0 I9 z; l; L
  out bcast pkts 0 out bcast bytes 06 g" `" ^/ ?% i  k6 Q6 I
  5 minute input rate 0 bits/sec, 0 packets/sec" s# Z  t. f* s! y# }; B
  5 minute output rate 0 bits/sec, 0 packets/sec8 U" k5 _; ^# E1 H0 t4 z: G- ?
  pvc create time 00:49:50, last time pvc status changed 00:49:37
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-16 02:50 , Processed in 0.248772 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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