码迷,mamicode.com
首页 > 其他好文 > 详细

CCIE学习笔记之RSVP

时间:2014-08-13 15:07:46      阅读:309      评论:0      收藏:0      [点我收藏+]

标签:rsvp ccie学习笔记

CCIE学习笔记之RSVP

Router(config-if)# ip rsvp bandwidth  [ interface-kbps] [ single-flow-kbps ]

! EnablesRSVP for IP on an interface

 

Router(config)# ip rsvp sendersession-ip-address

sender-ip-address [tcp  | udp  |  ip-protocol ] session-dport

sender-sport previous-hop-ip-addressprevious-hop-interface

bandwidth burst-size

!Enters the senders in the RSVP database

!The related ip rsvp sender-host  command enables a router to simulate a hostgenerating RSVP PATH messages

 

Router(config)# ip rsvp reservationsession-ip-address

sender-ip-address [tcp  | udp  |  ip-protocol ] session-dport

sender-sport next-hop-ip-addressnext-hop-interface { ff |  se |

wf} { rate |  load} bandwidth burst-size

! Entersthe receivers in the RSVP database

! Therelated ip rsvp reservation-host  commandenables a router to simulate a host generating RSVP RESV messages

 

Router(config)#ip rsvp udp-multicasts  [multicast-address]

! Specifiesmulticast destinations that should receive UDP-encapsulated messages

 

Router(config)#ip rsvp neighbor access-list-number

! Limitswhich routers may offer reservations.

 

Router(config-if)#ip rsvp flow-assist

! EnablesRSVP to attach itself to NetFlow

 

Router(config-if)#ip rsvp precedence { conform

precedence-value  | exceed precedence-value }

! Sets theIP Precedence conform and exceed values

!前提:ip rsvp flow-assist

 

Router(config-if)#ip rsvp tos  {conform  tos-value |

exceedtos-value}

! Sets theToS conform and exceed values

!前提:ip rsvp flow-assist

 

Toensure QoS for the RSVP reservatio n, WFQ is configured on the interfacesenabled for

thereservation

 

thefirst router  downstream from the senderin the router network would receive the RSVP PATH message from the senderthe next hop upstreamfrom the host running the receiver application would receive an  RSVP RESV message from the receiver

例子:

bubuko.com,布布扣

C1为数据源,C2为接收端

R1ip rsvpsender 225.1.1.1 12.1.2.1 UDP 7001 7000 12.1.2.1 s1/0 20 1

! This command causes the router toact as if it were receiving PATH messages destined to multicast address225.1.1.1 from a source 12.1.2.1. The previous hop of the PATH message is12.1.2.1, and the message was received on s1/0

 

R3: ip rsvp reservation 225.1.1.112.1.2.1 UDP 7001 7000 9.1.2.1 Et2/0 FF LOAD 8 1

! This command causes the router toact as if it were receiving RESV messages for the session with multicastdestination 225.1.1.1. The messages request a Fixed Filter reservation tosource 12.1.2.1, and act as if they had arrived from a receiver on E2/0 withaddress 9.1.2.1

 

Ateach hop, the  router receiving the RSVPRESV message must determine whether it

canhonor the reservation request

 

RSVP路径信息从C1C2RSVP RESV消息从C2C1,每一跳路由器判断是否可以预留.如果要QOS,那么数据的下连链路要开启WFQ

 

R1

interfaces1/0

 ip address 12.1.1.1 255.0.0.0

 no ip directed-broadcast

 ip pim dense-mode

 ip rsvp bandwidth 1 1

 

interfacef2/0

 ip address 11.1.1.2 255.0.0.0

 no ip directed-broadcast

 ip pim dense-mode

 ip rsvp bandwidth 10 10

 fair-queue 64 256 1000

 media-type 10BaseT

 

routerospf 100

 network 11.0.0.0 0.255.255.255 area 10

 network 12.0.0.0 0.255.255.255 area 10

 

iprsvp sender 225.1.1.1 12.1.2.1 UDP 7001 7000 12.1.2.1 s1/0 20 1

 

R2:

interfacef1/0

 ip address 11.1.1.1 255.0.0.0

 no ip directed-broadcast

 ip pim dense-mode

 ip rsvp bandwidth 1 1

 media-type 10BaseT

!

interfaces2/0

 ip address 10.1.1.2 255.0.0.0

 no ip directed-broadcast

 ip pim dense-mode

 ip rsvp bandwidth 20 20

 fair-queue 64 256 1000

 

routerospf 100

 network 10.0.0.0 0.255.255.255 area 10

 network 11.0.0.0 0.255.255.255 area 10

 

R3:

interfaceEthernet2/0

 ip address 9.1.1.2 255.0.0.0

 no ip directed-broadcast

 ip pim dense-mode

 ip rsvp bandwidth 20 20

 fair-queue 64 256 1000

 media-type 10BaseT

 

interfaces1/0

 ip address 10.1.1.1 255.0.0.0

 no ip directed-broadcast

 ip pim dense-mode

 ip rsvp bandwidth 1 1

 hssi internal-clock

 

iprsvp reservation 225.1.1.1 12.1.2.1 UDP 7001 7000 9.1.2.1 Et2/0 FF LOAD 8 1

 

ConfiguringRSVP Support for LLQ

Router#(config)# ip rsvp pq-profile

Router(config)#  ip rsvp pq-profile 11000 1500ignore-peak-value

! Specifies the criteria for determiningwhich flows

go into the priority queue.

 

Router(config)#  interface s2/0

Router(config-if)# ip rsvp bandwidth

Router(config-if)# ip rsvp bandwidth 300 30

! Enables RSVP on an interface

Router(config-if)# fair-queue

! Enables WFQ on an interface with priority

queueing (PQ) support

Router(config-if)# ip rsvp burst policing

! Specifies a burst factor on aper-interface basis

 

Router(config)#  ip rsvp sender

! Specifies the RSVP path parameters,including the

destination and source addresses, theprotocol, the

destination and source ports, the previoushop

address, the average bit rate, and theburst size

 

Router(config)#  ip rsvp reservation

! Specifies the RSVP reservationparameters,

including the destination and sourceaddresses, the

protocol, the destination and source ports,the next

hop address, the input interface, theservice type,

the average bit rate, and the burst size

 

Router# show ip rsvp installed


本文出自 “flyclc” 博客,请务必保留此出处http://flyclc.blog.51cto.com/1385758/1539392

CCIE学习笔记之RSVP,布布扣,bubuko.com

CCIE学习笔记之RSVP

标签:rsvp ccie学习笔记

原文地址:http://flyclc.blog.51cto.com/1385758/1539392

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!