martes, 16 de septiembre de 2014

Resource Reservation Protocol

Este es un ejemplo de configuración para reservar 60Kbps en una trayectoria entre distintos dispositivos, comenzando de R4, pasando a R3 y terminando en R5.

Comprobaremos reservando un bit rate de 5kbps con ráfagas de 2kbps para telnet desde R4 hacia R5.

R4# sh runn int s1/0
interface Serial1/0
 ip address 172.10.43.4 255.255.255.0
 serial restart-delay 0
 ip rsvp bandwidth 60

R3#sh runn int s1/0
interface Serial1/0
 ip address 172.10.43.3 255.255.255.0
 serial restart-delay 0
 ip rsvp bandwidth 60
end
R3#sh runn int fa0/1
interface FastEthernet0/1
 ip address 172.10.35.3 255.255.255.0
 ip ospf authentication-key test
 speed auto
 duplex auto
 ip rsvp bandwidth 60

end
R5#sh running-config interface fa0/1
interface FastEthernet0/1
 ip address 172.10.35.5 255.255.255.0
 ip ospf authentication-key test
 speed auto
 duplex auto
 ip rsvp bandwidth 60
end

Comprobación:
R4(config)# ip rsvp sender-host 172.10.35.5 172.10.43.4 tcp 23 5000 5 2
R4(config)#ip rsvp sender-host [destino] [origen] [protocolo] [puerto destino] [puerto origen] [bw] [burst]



R4#sh ip rsvp
RSVP: enabled (on 1 interface(s))

Signalling:
  Refresh interval (msec): 30000
  Refresh misses: 4

Metadata as RSVP client: Disabled

Rate Limiting: enabled
  Burst: 8
  Limit: 37
  Maxsize: 2000
  Period (msec): 20
  Max rate (msgs/sec): 400

Refresh Reduction: disabled
  ACK delay (msec): 250
  Initial retransmit delay (msec): 1000
  Local epoch: 0x4B00CD
  Message IDs: in use 0, total allocated 0, total freed 0

Neighbors: 1
  Raw IP encap: 0  UDP encap: 0  Raw IP, UDP encap: 0
         
RFC 3175 Aggregation: Disabled
  Level: 1
  Default QoS service: Controlled-Load
  Router ID: 4.4.4.4

  Number of signaled aggregate reservations:     0
  Number of signaled E2E reservation:            0
  Number of configured map commands:             0
  Number of configured reservation commands:     0

Hello:
  RSVP Hello for Fast-Reroute/Reroute: Disabled
    Statistics: Disabled
  BFD for Fast-Reroute/Reroute: Disabled
  RSVP Hello for Graceful Restart: Disabled

Graceful Restart: Disabled
  Refresh interval: 10000 msecs
  Refresh misses: 4
  DSCP: 0x30
  Advertised restart time: 5 msecs
  Advertised recovery time: 0 msecs
  Maximum wait for recovery: 3600000 msecs

Fast-Reroute:
  PSBs w/ Local protection desired
    Yes: 0
    No:  0

Fast Local Repair: enabled
  Max repair rate (paths/sec): 400  
  Max processed   (paths/run): 1000  

  Total no. of PSBs repaired : 0    

Local policy:
COPS:

Generic policy settings:
    Default policy: Accept all
    Preemption:     Disabled


R4#sh ip rsvp interface 
interface    rsvp       allocated  i/f max  flow max sub max  VRF            
Se1/0        ena        0          60K      60K      0   

R4#debug ip rsvp dump-messages path
*Sep 16 00:17:25.686: Outgoing Path:
*Sep 16 00:17:25.686:   version:1 flags:0000 cksum:7877 ttl:255 reserved:0 length:136
*Sep 16 00:17:25.690:  SESSION              type 1 length 12:
*Sep 16 00:17:25.690:   Destination 172.10.35.5, Protocol_Id 6, Don't Police , DstPort 23
*Sep 16 00:17:25.690:  HOP                  type 1 length 12:
*Sep 16 00:17:25.690:   Hop Addr: 172.10.43.4 LIH: 0x03000404
*Sep 16 00:17:25.690:  TIME_VALUES          type 1 length 8 :
*Sep 16 00:17:25.690:   Refresh Period (msec): 30000
*Sep 16 00:17:25.690:  SENDER_TEMPLATE      type 1 length 12:
*Sep 16 00:17:25.690:   Sender address: 172.10.43.4, port: 5000
*Sep 16 00:17:25.690:  SENDER_TSPEC         type 2 length 36:
*Sep 16 00:17:25.690:   version=0, length in words=7
*Sep 16 00:17:25.690:   Token bucket fragment (service_id=1, length=6 words
*Sep 16 00:17:25.690:     parameter id=127, flags=0, parameter length=5
*Sep 16 00:17:25.690:     average rate=625 bytes/sec, burst depth=2000 bytes
*S
R4#ep 16 00:17:25.690:     peak rate   =625 bytes/sec
*Sep 16 00:17:25.690:     min unit=0 bytes, max pkt size=2147483647 bytes
*Sep 16 00:17:25.690:  ADSPEC               type 2 length 48:
*Sep 16 00:17:25.690:  version=0  length in words=10
*Sep 16 00:17:25.690:  General Parameters  break bit=0  service length=8
*Sep 16 00:17:25.690:                                         IS Hops:1
*Sep 16 00:17:25.690:              Minimum Path Bandwidth (bytes/sec):193000
*Sep 16 00:17:25.694:                     Path Latency (microseconds):0
*Sep 16 00:17:25.694:                                        Path MTU:1500
*Sep 16 00:17:25.694:  Controlled Load Service  break bit=0  service length=0
*Sep 16 00:17:25.694:

No hay comentarios. :

Publicar un comentario