RSVP protocol configuration command

debug ip rsvp local

debug ip rsvp packet

ip rsvp bandwidth

ip rsvp local reservation

ip rsvp local sender

ip rsvp local session

ip rsvp neighbor

ip rsvp precedence

ip rsvp tos

show ip rsvp installed

show ip rsvp interface

show ip rsvp local

show ip rsvp neighbor

show ip rsvp precedence

show ip rsvp reservation

show ip rsvp sender

show ip rsvp tos

 

debug ip rsvp local

Use command “debug ip rsvp local” to show receive/send state of RSVP information. Use “no” form of the command to prohibit the output of this information.

[no] debug ip rsvp local [call | upcall] [detail]

 

Parameter:

call | upcall

Show local task or RSVP request sent /received by the users.

 

Default:

none

 

Command mode:

Supervisor mode

 

Explanation:

Use this command to track interaction of local RSVP. If the parameter is “call”, local task or RSVP information received by the user will be showed. If the parameter is “upcall”, local task or RSVP request will be showed. If the parameter is not “call” or “upcall”, all information will be showed. If there is a parameter “detail”, detailed information of RSVP interaction will be showed.

 

Example:

The following the output sample when command “debug ip rsvp local” is used for call.

ROUTER# debug ip rsvp local call

RSVP:RSVP trace call on

RSVP: <Session 1> session from api // local RSVP api create session

   

    Command “debug ip rsvp locall call tracks the state of RSVP local session and shows session identifier and execution action.

the following is the output sample when command “debug ip rsvp packet detail” is used for call.

 

ROUTER# debug ip rsvp call detail

RSVP:RSVP trace call detail on

RSVP: session from api  // local RSVP api crease session

 

Session ID  :2

Session Addr:33.33.33.33

Session Port:4554

Session Pid :17

    Command “debug ip rsvp locall call” tracks the state of RSVP local session and shows session identifier and execution action. Explains the specific content of execution action. The explanation is in accordance with RAPI form in RSVP protocol.

The following is the output sample when command “debug ip rsvp local” is used for “upcall”:

 

ROUTER# debug ip rsvp upcall

RSVP:RSVP trace upcall on

RSVP: <Session 1> confirm upcall

 

Relevant command:

debug ip rsvp packet

 

debug ip rsvp packet

In order to show receiving/sending state of RSVP information in router interface, command “debug ip rsvp packet” can be used. Use the “no” form to prohibit the output of the information.

 [no] debug ip rsvp packet [detail]

 

Parameter:

detail

Whether to show detailed content

 

Default:

none

 

Command mode:

Supervisor mode

 

Explanation:

Use this command to track receiving/sending state of RCVP package. If there is detailed parameter, detailed information of RSVP package will be showed.

 

Example:

The following is an output sample when command “debug ip rsvp packet” is used for f0/0:

ROUTER# debug ip rsvp packet

RSVP:RSVP trace on

RSVP: Receive RSVP PATH packet for 192.168.20.44 from  local application

RSVP: Send RSVP PATH packet for 192.168.20.44 to 192.168.20.44

 

Command “debug ip rsvp packet” outputs receiving/sending package tracking RSVP protocol Implementation and shows the type, source address and destination address of the package.

the following is an output sample when command “debug ip rsvp packet detail” doesn’t have parameter:

ROUTER# debug ip rsvp packet detail

RSVP:RSVP trace detail on

RSVP: Send RSVP PATH packet for 192.168.20.44 to 192.168.20.44 //发送RSVP PATH报文

    command header: version:1 flags:0000 type:PATH cksum:5073 ttl:128 reserved:0 length:180 // RSVP头部

SESSION       type 1  length  12: C0A8142C : 0601014D

RSVP_HOP      type 1  length  12: C0A81463 : 00000001

TIME_VALUES   type 1  length   8: 00007530

SENDER_TEMPLATE   type 1  length  12: C0A81463 : 0000014D

SENDER_TSPEC       type 2  length 36

    version: 0  length: 7

   service header  id:1  length:6

   parameter header  id:127  flags:0  length:5

    average rate(Bps)   :125

    burst depth(byte)   :1000

    peak rate(Bps)      :125

    min unit(bype)      :0

    max unit(bype)      :0

ADSPEC       type 2  length 92

version: 0  length: 21

   general parameters  break bit:0  length:8

    IS hop cnt                         :1

    minimum path bandwidth(Bps)        :10000000

    minimum path latency(byte)            :0

    composed MTU(byte)             :1500

    guaranteed service  break bit:0  length:8

    path delay(ms)                     :192000

    path jitter(ms)                    :12000

    path delay since shaping(ms)          :192000

    path jitter since shaping(ms)         :12000

    Control Load service  break bit:0  length:2

minimum path bandwidth(Bps)        :1000

 

   Command “deb ip rsvp packet detail” tracks the receiving/sending package realized by RAVP and explain the content of the whole packge.

 

Relevant command:

debug ip rsvp local

 

ip rsvp bandwidth

Use configuration command “ip rsvp bandwidth” to enable RSVP protocol on a interface. Use the “no” form of the command to prohibit running RSVP protocol on the interface.

ip rsvp bandwidth [interface-kbps] [single-flow-kbps]

no ip rsvp bandwidth [interface-kbps] [single-flow-kbps]

 

Parameter:

interface-kbps

Upper limit of reserved resource can applied by the whole interface

single-flow-kbps   

Upper limit of reserved resource can applied by a single data flow

 

Default:

Prohibit RSVP on this interface.

 

Command mode:

interface configuration mode

 

Explanation:

This command can make an interface have RSVP function. Parameter “single-flow-kbps” sets upper limit of reserved resource can be applied by a single data flow.  Command “interface-kbps” can set upper limit of reserved resource can be applied by the whole interface. When there is no parameter, default limit is 75% of interface general resource.

 

Example:

In the following example, configure RSVP total reserve bandwidth as 1M, single flow bandwidth as 200K.

interface f0/0

ip rsvp bandwidth 1000 200

 

Relevant command:

ip rsvp neighbor

 

ip rsvp local reservation

To ensure that users can have RSVP interaction with other hosts, there must be the ability to send RSVP RESV information to the other side. Command “ip rsvp local reservation” can meet this requirement. What needs special attention is that “ip rsvp local session” should be used to create RSVP session before using “ip rsvp local reservation” to send RSVP RESV information. Use the “no” form of the command to disable the configuration.

 

ip rsvp local reservation session-id sender-ip-address sender-sport [guarantee | load] [bandwidth] [burst-size]

no ip rsvp local reservation session-id

 

Parameter:

session-id

identifier of session

sender-ip-address

Address of the host of the sender in RSVP flow

sender-sport 

Port of the host of the sender in RSVP flow

guarantee | load

RSVP reversed type

bandwidth 

Average rate of reserved resource

burst-size

size of the largest burst data

 

Default:

user has not configured this command

 

Command mode:

global configuration mode

 

Explanation:

Users use this command to send “resv” information towards outside. Use the “no” form to send “resv tear” information. Under default state, reserved type is “Control Load”, the average rate of reserved resource and the size of the largest burst data are both 1K. 

Example:

The following example shows how to use this command.

ip rsvp local reservation 1 1.0.0.2 3000 load 100 60

ip rsvp local reservation 2 2.0.3.2 4000 guarantee 150 65

 

Relevant command:

ip rsvp local session

ip rsvp local sender

 

ip rsvp local sender

 In order to ensure that users can have RSVP interaction with other hosts initiatively, RSVP PATH information must be sent to the other side. Command “ip rsvp local sender” can meet this requirement. What needing special attention is that “ip rsvp local session” should be used to create RSVP session before using “ip rsvp local sender” to send RSVP PATH information. Use the “no” form of the command to disable the configuration.

 

ip rsvp local sender session-id sender-ip-address sender-sport [bandwidth] [burst-size]

no ip rsvp local sender session-id

 

Parameter:

session-id

Identifier of session

sender-ip-address

Host address of sender in RSVP flow

sender-sport 

Host port of sender in RSVP flow

bandwidth 

Average rate of reserved resource

burst-size

Size of the largest burst data

 

Default:

users have not configured this command

 

Command mode:

global configuration mode

 

Explanation:

Users use this command to send “path” information towards outside. Use the “no” form to send “path tear” information. Under default state, reserved type is “Control Load”, the average rate of reserved resource and the size of the largest burst data are both 1K.

 

Example:

The following example shows how to use this command.

ip rsvp local sender 1 1.0.0.2 3000 100 60

ip rsvp local sender 2 2.0.3.2 4000 150 65

 

Relevant command:

ip rsvp local session

ip rsvp local reservation


ip rsvp local session

Users can use this command “ip rsvp local session” to create RSVP session. Use “no” form of the command to disable the configuration.

ip rsvp local session session-ip-address session-dport {tcp | udp}

no ip rsvp local session session-id

 

Parameter:

session-id

Identifier of session

session-ip-address

Destination host address

session-dport

Destination host port number

tcp | udp

Protocol number of data flow to be reserved

 

Default:

Users have not configured this command 

Command mode:

global configuration mode

 

Explanation:

Use this command to configure a new RSVP session. This session can be used by other commands

 

Example:

The following example shows hoe to use the commands.

ip rsvp local session 1.0.0.3 3000 UDP

ip rsvp local session 3.4.4.3 5600 TCP

 

Relevant command:

ip rsvp local sender

ip rsvp local reservation

 

ip rsvp neighbor

In order to receive RSVP request from other hosts on a port, command “ip rsvp neighbor” can be used. Use the “no” form to disable the configuration.

ip rsvp neighbor access-list-name

no ip rsvp neighbor access-list-name

 

Parameter:

access-list-name

name of access list

 

Default:

All RSVP packet received on this interface.

 

Command mode:

interface configuration mode

 

Explanation:

It will let the request of some RSVP hosts be accepted and the request of other hosts will be refused. This command is used to control the running state of RAVP. Under this command, only the request of the host fitting the access list. Otherwise it will be refused.

 

Example:

The following example allows satisfying RSVP request of RAVP host required by access-list ABC on port f0/0.

interface f0/0

ip rsvp neighbor ABC

 

Relevant command:

ip rsvp bandwidth

 

ip rsvp precedence

In order to let users improve the effect of RSVP reservation a little further, users can use this command to configure precedence value of data flow.

ip rsvp precedence {conform|exceed} precedence-value

no ip rsvp precedence {conform|exceed}

 

Parameter:

conform|exceed

Use “conform” to set TOS setting when data flow is lower than reserved value. Use “exceed” to set TOS setting when data flow exceeds reserved value.

precedence-value

value of precedence

 

Default:

users have not configured this command

 

Command mode:

interface configuration mode

 

Explanation:

Use this command to set precedence option of reserved flow. Use “conform” to set precedence setting when data flow is lower than reserved value. Use “exceed” to set precedence setting when data flow exceeds reserved value. 

Example:

The following example shows how to use this command.

ip rsvp precedence conform 6

ip rsvp precedence exceed 5

 

Relevant command:

ip rsvp tos


ip rsvp tos

In order to let users improve the effect of RSVP reservation a little further, users can use this command to configure TOS value of data flow.

ip rsvp tos {conform|exceed} tos-value

no ip rsvp tos {conform|exceed}

 

Parameter:

conform|exceed

Use “conform” to set TOS setting when data flow is lower than reserved value. Use “exceed” to set TOS setting when data flow exceeds reserved value.

tos-value

Value of TOS

 

Default:

Users have not configured this command 

Command mode:

interface configuration mode 

Explanation:

This command can be used to set TOS option of reserved flow. Use “conform” to set TOS setting when data flow is lower than reserved value. Use “exceed” to set TOS setting when data flow exceeds reserved value.

 

Example:

The following example shows how to use this command.

ip rsvp tos conform 6

ip rsvp tos exceed 5

 

Relevant command:

ip rsvp precedence


 

show ip rsvp installed

Use command “show ip rsvp installed” to show reserved information on RSVP port.

 

show ip rsvp installed [type-number]

 

Parameter:

type-number

number of router port

 

Default:

none

 

Command mode:

    Supervisor mode。

 

Explanation:

Use command “show ip rsvp installed” to show specific situation of RSVP reserved flow on router port. If no parameter is provided, specific situation of reserved flow on all ports with RSVP function will be showed.

 

Example:

The following is an output sample when command “show ip rsvp installed” is used on f0/0:

ROUTER# show ip rsvp installed f0/0

f0/0 :

allocate   SessAddr        SessPort   SrcAddr         SrcPort    ProtId

20K      12.3.3.45           1000      30.2.3.2         2000      TCP

 

The following is an output sample when command “show ip rsvp interface” is used without any parameter:

 

ROUTER# show ip rsvp installed

f0/0 :

allocate   SessAddr        SessPort   SrcAddr         SrcPort    ProtId

20K      12.3.3.45           1000      30.2.3.2         2000      TCP

api :

allocate   SessAddr        SessPort   SrcAddr         SrcPort    ProtId

10K      12.43.3.45      1030      40.2.3.2         2040      UDP

 

Relevant command:

show ip rsvp interface

show ip rsvp sender

show ip rsvp reservation

show ip rsvp neighbor

show ip rsvp local

show ip rsvp tos

show ip rsvp precedence


show ip rsvp interface

Use command “show ip rsvp interface” to show reserved information n RSVP port.

show ip rsvp interface [type-number]

 

Parameter:

type-number

number of router port

 

Default:

RSVP is prohibited on this port.

 

Command mode:

Supervisor mode

  

Explanation:

Use command “show ip rsvp interface” to show situation of RSVP reservation on router port. If no parameter is provided, situation of reservation on all ports with RSVP function will be showed.

 

Example:

The following is an output sample when command “show ip rsvp interface” is used on f0/0:

ROUTER# show ip rsvp interface f0/0

interface   allocate   i/f max   flow max

f0/0       30K     7500K   7500K

 

The following is an output sample when command “show ip rsvp interface” is used without any parameter

ROUTER# show ip rsvp interface

interface   allocate   i/f max   flow max

f0/0       30K     7500K   7500K

api        20K      -           -

 

Relevant command:

show ip rsvp installed

show ip rsvp sender

show ip rsvp reservation

show ip rsvp neighbor

show ip rsvp local

show ip rsvp tos

show ip rsvp precedence


 

show ip rsvp local

Use command “show ip rsvp local” to show reservation information in router database.

show ip rsvp local [session-id]

 

Parameter:

session-id

Identifier of RSVP local session

 

Default:

none

 

Command mode:

Supervisor mode

 

Explanation:

Use command “show ip rsvp local” to show information of local session in router database. If no parameter is provided, all local session information of this router will be showed.

 

Example:

The following is an output sample when command “show ip rsvp sender” is used on 192.14.3.2:

The following is an output sample when command “show ip rsvp sender” is used for session identification of 20:

ROUTER# show ip rsvp local 20

    Sid SessAddr        SrcAddr         Pro  DPort  Sport  Type   BPS  Bytes User

    20  23.44.33.44      33.33.44.33      TCP 2200    3333  GU    2      2   SYS

 

The following is an output sample when command “show ip rsvp local” is used without any parameter:

ROUTER# show ip rsvp local

    Sid SessAddr        SrcAddr         Pro  DPort  Sport  Type   BPS  Bytes User

    20  23.44.33.44      33.33.44.33      TCP 2200    3333  GU    2      2   SYS

42  24.54.36.64      34.63.77.53      UDP 2500    3773  LD    5      5   USR

 

Relevant command:

show ip rsvp interface

show ip rsvp installed

show ip rsvp sender

show ip rsvp reservation

show ip rsvp neighbor

show ip rsvp tos

show ip rsvp precedence

 

show ip rsvp neighbor

Use command “show ip rsvp neighbor” to show reservation information in router database.

show ip rsvp neighbor [type-number] 

 

Parameter:

type-number

Number of route port

 

Default:

none

 

Command mode:

Supervisor mode

 

Explanation:

Use command “show ip rsvp neighbor” to show address information of host or router with RSVP function in adjacency with an interface in the database. Information of all interfaces of this router will be showed if no parameter is provided.

 

Example:

The following is an output sample when command “show ip rsvp neighbor” is used for f0/0:

ROUTER# show ip rsvp neighbor f0/0

f0/0 :

Neighbor        Encapsulation

192.168.20.43    RAW

 

The following is an output sample when command “show ip rsvp neighbor” is used without any parameter:

ROUTER# show ip rsvp neighbor

f0/0 :

Neighbor        Encapsulation

192.168.20.43    RAW

    a0 :

Neighbor        Encapsulation

193.148.20.43    UDP

 

Relevant command:

show ip rsvp interface

show ip rsvp installed

show ip rsvp sender

show ip rsvp reservation

show ip rsvp local

show ip rsvp tos

show ip rsvp precedence

 

show ip rsvp precedence

Use command “show ip rsvp precedence” to show the setting of TOS about RSVP flow on router interface.

show ip rsvp precedence [type-number]

 

Parameter:

type-number

Number of route port

 

Default:

none

 

Command mode:

Supervisor mode

 

Explanation:

Use command “show ip rsvp precedence” to show the setting of precedence about RSVP flow in router port. If no parameter is provided, the setting of precedence about RSVP flow in all router ports will be showed.

 

Example:

The following is an output sample when command “show ip rsvp precedence” is used for f0/0:

ROUTER# show ip rsvp precedence f0/0

    Interface   Conform     Exceed

f0/0         4           -

 

The following is an output sample when command “show ip rsvp precedence” is used without any parameter:

 

ROUTER# show ip rsvp precedence

    Interface   Conform     Exceed

f0/0         4           -

e1/1         -           4

 

Relevant command:

show ip rsvp interface

show ip rsvp installed

show ip rsvp sender

show ip rsvp reservation

show ip rsvp neighbor

show ip rsvp local

show ip rsvp tos

 

show ip rsvp reservation

Use command “show ip rsvp reservation” to show reservation information in router database.

 

show ip rsvp reservation [dest-ip-address]

 

Parameter:

dest-ip-address

Destination IP address of RSVP session

 

Default:

none

 

Command mode:

Supervisor mode

 

Explanation:

Use command “show ip rsvp reservation” to show reservation information in router database. If no parameter is provided, all reservation information passing through the router will be showed.

 

Example:

The following is an output sample when command “show ip rsvp reservation” is used for destination of 192.14.3.2:

ROUTER# show ip rsvp reservation 192.14.3.2

    SessAddr       DP    Pid SrcAddr       SP    NextHop        Int  Fi Sv Bps byte

    192.14.3.2     1000  TCP 122.3.4.6     2000  133.3.3.4      a0  FF GU10K 10K

    193.14.3.2     1030  TCP 124.3.3.7     2300  143.3.5.4      f0/0 FF LD 1K  2K

 

The following is an output sample when command “show ip rsvp reservation” is used without any parameter:

ROUTER# show ip rsvp reservation

    SessAddr       DP    Pid SrcAddr       SP    NextHop        Int  Fi Sv Bps byte

    192.14.3.2     1000  TCP 122.3.4.6     2000  133.3.3.4      a0 FF GU10K 10K

    193.14.3.2     1030  TCP 124.3.3.7     2300  143.3.5.4      f0/0 FF LD 1K  2K

 

Relevant command:

show ip rsvp interface

show ip rsvp installed

show ip rsvp sender

show ip rsvp neighbor

show ip rsvp local

show ip rsvp tos

show ip rsvp precedence

 


show ip rsvp sender

Use command “show ip rsvp sender” to show sender information in router database.

show ip rsvp sender [dest-ip-address]

 

Parameter:

dest-ip-address

Destination IP address of RSVP session

 

Default:

none

 

Command mode:

Supervisor mode

 

Explanation:

Use command “show ip rsvp sender” to show sender information in router database. If no parameter is provided, all sender information passing through the router will be showed.

 

Example:

The following is an output sample when command “show ip rsvp sender” is used for the destination address of 192.14.3.2:

 

ROUTER# show ip rsvp sender 192.14.3.2

    SessAddr        DP    Pid  SrcAddr         SP    PrevHop         Intf  Bps  byte

    192.14.3.2      1000 TCP 122.3.4.6           2000  133.3.3.4          f0/0  10K 10K

    193.14.3.2      1030 TCP 124.3.3.7           2300  143.3.5.4          e0/0  1K  2K

 

The following is an output sample when command “show ip rsvp sender” is used without any parameter:

 

ROUTER# show ip rsvp sender

    SessAddr        DP    Pid  SrcAddr         SP    PrevHop         Intf  Bps  byte

    192.14.3.2      1000 TCP 122.3.4.6           2000  133.3.3.4          f0/0  10K 10K

    193.14.3.1      1230 TCP 124.3.3.7           2300  143.3.5.4          e0/0  1K  2K

 

Relevant command:

show ip rsvp interface

show ip rsvp installed

show ip rsvp reservation

show ip rsvp neighbor

show ip rsvp local

show ip rsvp tos

show ip rsvp precedence


 

show ip rsvp tos

Use command “show ip rsvp tos” to show the setting of TOS about RSVP flow in router ports.

 

show ip rsvp tos [type-number]

 

Parameter:

type-number

router port number

 

Default:

none

 

Command mode:

Supervisor mode

 

Explanation:

Use command “show ip rsvp tos” to show the setting of TOS about RSVP flow in router port. If no parameter is provided, the setting of TOS about RSVP flow in al ports of the router will be showed.

 

Example:

The following is an output sample when command “show ip rsvp tos” is used f0/0:

 

ROUTER# show ip rsvp tos f0/0

    Interface   Conform     Exceed

f0/0         4           -

 

The following is an output sample when command “show ip rsvp tos” is used without any parameter:

 

ROUTER# show ip rsvp tos

    Interface   Conform     Exceed

f0/0         4           -

e1/1         -           3

 

Relevant command:

show ip rsvp interface

show ip rsvp installed

show ip rsvp sender

show ip rsvp reservation

show ip rsvp neighbor

show ip rsvp local

show ip rsvp precedence