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

例子:

C1为数据源,C2为接收端

R1:ip 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

CCIE学习笔记之RSVP

时间: 2024-10-10 19:56:53

CCIE学习笔记之RSVP的相关文章

CCIE学习笔记之端到端QOS

Class-map默认行为match-all Match protocol http mime "*/audio/*" Match protocol http mime "*/video/*"  //分类器寻找特殊类型的音频和视频mime流量 Match protocol http "*.jpg|*.jpeg"     //匹配图片流量 注:MIME类型就是设定某种扩展名的文件用一种应用程序来打开的方式类型,当该扩展名文件被访问的时候,浏览器会自

CCIE学习笔记之BGP

Aggregate-address address mask as-set 聚合路由时不然as-path信息丢失 R1(config-router)#aggregate-address 1.0.0.0255.0.0.0 as-set Aggregate-address address mask as-set advertise-maproute-map-name 用advertise-map决定聚合总保留那个AS路径信息 在R2上: aggregate-address 10.1.1.0 255.

CCIE学习笔记之EEM

当内存使用到一定程度生成日志并发邮件: 注册applet并进入applet配置模式: Router(config)# event manager appletmemory-fail 定义触发事件: event snmp oid oid-value get-type{exact|next} entry-op operator entry-val entry-value[exit-comb| and}] [exit-opoperator] [exit-val exit-value] [exit-ti

CCIE学习笔记之EIGRP

CCIE学习笔记 向eigrp域宣告一条默认路由: 1.      用ipdefault-network: R2关键配置: Ip route 2.0.0.0255.0.0.0 null 0  //在路由表中制造一条主类网络 Router eigrp 1 Network2.0.0.0            //宣告主类网络 Ipdefault-network 2.0.0.0    //相当于告诉EIGRP域内的路由器默认网关在2.0.0.0,所以发布这个网关的路由器的路由表要可达这个地址 Ip r

CCIE学习笔记之MPLS与MPLS VPN

配置: 接口下启用:mpls ip mpls label protocol ldp | tdp | both 配置LDP RID(全局):mpls ldp route-id interface [force] 如mpls ldp route-idloopback0 force 注:force强制命令立即生效,注意对方的LDP RID可达才能和对方建立LDP邻居关系 修改MPLS MTU(接口):mpls mtu [override] 1516       //因为加上4字节的标签,这条命令可以用

CCIE学习笔记之OSPF

Area area-id default-cost cost 在ABR或ASBR上设置广播到stub,total stub,NSSA的默认路由的开销,默认为1. Router ospf 1 Area 1 default-cost 10 Area area-id nssa no-redistribution 在NSSA区域连接area 0的ABR上,不让此ABR把重发布进此ABR的路由发布进NSSA,而只发布进area 0. Router ospf 1 Area 1 nssa no-redistr

CCIE学习笔记之特性集

etherchannel loadbalance  dst –mac 以太网隧道负载方式基于目标MAC MST (config)# spanning -tree mode mst (config)# spanning -tree mst configuration (config-mst )#  name CCIE (config-mst )#  instance 1 vlan 20,40,60 spanning -tree mst 3 root primary spanning -tree m

CCIE学习笔记之组播

查看组播路由表: show ip mroute 查看igmp组成员: show ip igmp group 通用规则: 1.      无论何时,只要创建一个(S,G)项而其相应的父(*,G)不存在,就首先自动创建新的(*,G)项. 2.      RPF接口是作为对源IP地址(或稀疏模式(*,G)项,RP)的最小开销路径接口来估算的.如果多个接口开销相同,选择最高IP地址的接口作为"切入点".(比较顺序:1.管理距离2.最长匹配3.开销,这和单播不同,单播先比较最长匹配). 3.  

CCIE学习笔记 3---BGP 团体属性 community

可选传递 - BGP communities是一种给路由条目打上标记,用于确保路由过滤和选择的连续性 - BGP 路由器可以在重分布.发送.接收路由更新的时候给路由条目打上community值(route-map) - 根据 community值,BGP 路由器可以过滤进出路由更新或者优选某些路由 - 缺省情况下,在update路由的时候community被剥离 ◆32 bit community balue is split into two parts: [AS-number]:[low-o