SG

SG

Kamis, 08 Desember 2011

FR Traffic Shapping with MQC

R2

interface Serial0/0
 no ip address
 encapsulation frame-relay
 no fair-queue
 clock rate 2000000
 frame-relay lmi-type cisco
 frame-relay intf-type dce
 frame-relay route 102 interface Serial0/1 201
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 encapsulation frame-relay
 clock rate 2000000
 frame-relay lmi-type cisco
 frame-relay intf-type dce
 frame-relay route 201 interface Serial0/0 102


R1
policy-map LAB
 class class-default
  shape average 640000 80000 0
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
interface Serial0/0
 ip address 12.12.12.1 255.255.255.0
 encapsulation frame-relay
 clock rate 2000000
 frame-relay class FRTS
 frame-relay map ip 12.12.12.2 102 broadcast
router ospf 1
 log-adjacency-changes
 network 0.0.0.0 255.255.255.255 area 0

map-class frame-relay FRTS
 service-policy output LAB



R2
policy-map QOS
 class class-default
  shape average 640000 80000 0
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
interface Serial0/1
 ip address 12.12.12.2 255.255.255.0
 encapsulation frame-relay
 clock rate 2000000
 frame-relay class FRTS
 frame-relay map ip 12.12.12.1 201 broadcast
router ospf 1
 log-adjacency-changes
 network 0.0.0.0 255.255.255.255 area 0
map-class frame-relay FRTS
 service-policy output QOS


R2#sh policy-map inter s0/1
 Serial0/1: DLCI 201 -

  Service-policy output: QOS

    Class-map: class-default (match-any)
      5 packets, 520 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
      Traffic Shaping
           Target/Average   Byte   Sustain   Excess    Interval  Increment
             Rate           Limit  bits/int  bits/int  (ms)      (bytes)
           640000/640000    10000  80000     0         125       10000

        Adapt  Queue     Packets   Bytes     Packets   Bytes     Shaping
        Active Depth                         Delayed   Delayed   Active
        -      0         5         520       0         0         no



Tidak ada komentar:

Posting Komentar