Examining the Path Message
Purpose
Each sender host transmits Path messages downstream along the routes provided by the unicast and multicast routing protocols. Path messages follow the exact paths of application data, creating path states in the routers along the way, and enabling routers to learn the previous-hop and next-hop node for the session. Path messages are sent periodically to refresh path states.
Figure 11 shows an RSVP Path message that flows downstream from ingress router
R1to egress routerR5, and transits routersR3andR6. The originating router (R1) sets the IP router-alert option so that intermediate routers look at the contents of the Path message.
![]()
A Path message can contain the following objects:
Adspec,Detour,Explicit route,FastReroute,Hop,Integrity,LabelRequest,Policy data,Properties, record route (RecRoute),Sender,Session,SessionAttribute, source route (SrcRoute),Time, andTspec. For more information on RSVP message objects, see RSVP Objects.To ensure that Path messages are displayed in the output, include the
pathflag at the [edit protocols rsvp traceoptions] hierarchy level.Action
To examine the Path message, enter the following JUNOS command-line interface (CLI) command:
user@R1>monitor startfilenameSample Output 1
[edit protocols rsvp]user@R1#showtraceoptions {file rsvp-log;flag packets detail;flag path detail;}interface so-0/0/2.0;interface fxp0.0 {disable;}Sample Output 2
user@R1>clear log rsvp-loguser@R1>monitor start rsvp-loguser@R1>*** rsvp-log ***Jun 16 18:36:48RSVP send Path 10.0.0.1->10.0.0.5 Len=216 so-0/0/2.0Jun 16 18:36:48 Session7 Len 16 10.0.0.5(port/tunnel ID 26619) Proto 0Jun 16 18:36:48 Hop Len 12 10.1.13.1/0x08678198Jun 16 18:36:48 Time Len 8 30000 msJun 16 18:36:48 SrcRoute Len 28 10.1.13.2 S 10.1.36.2 S 10.1.56.1 SJun 16 18:36:48 LabelRequest Len 8 EtherType 0x800Jun 16 18:36:48 Properties Len 12 Primary pathJun 16 18:36:48 SessionAttribute Len 16 Prio (7,0) flag 0x0 "R1-to-R5"Jun 16 18:36:48 Sender7 Len 12 10.0.0.1(port/lsp ID 4)Jun 16 18:36:48 Tspec Len 36 rate 0bps size 0bps peak Infbps m 20 M 1500Jun 16 18:36:48 ADspec Len 48 MTU 1500Jun 16 18:36:48 RecRoute Len 12 10.1.13.1monitor stopWhat It Means
Sample Output 1 shows the configuration of RSVP tracing on ingress router
R1. Thepacketsandpathflags are included at the [edit protocols rsvp traceoptions] hierarchy level to provide slightly different information about RSVP traffic. For more information about RSVP tracing flags, see Table 17. Thedetailoption is included to show granular details about the configured flags.Sample Output 2 shows
clearcommands, the output for thersvp-logfile, and that monitoring was started and then stopped.The first line of the
rsvp-logoutput indicates that this is a Path message. The source address of the IP packet is10.0.0.1(R1). The IP destination address is10.0.0.5(R5). The outgoing interface on this router isso-0/0/2.0.All subsequent lines of sample output indicate object values for this Path message and are indented in the output. To facilitate this discussion, each line of output for each object is displayed before the corresponding explanation.
The
Sessionobject (Session7) indicates that this is C-Type 7 for LSP tunnel IPv4, defined in RFC 3209. The RSVP session is defined by three values: the destination IP address (10.0.0.5), a 16-bit field that indicates the tunnel ID (26619) and is unique for the length of the RSVP session, and the protocol number (Proto 0).The
Hopobject indicates the IP address of the interface (10.1.13.1) on the router (R1) sending the Path message. At the next node, theHopobject contains the previous hop IP address.The
Timeobject indicates how long before RSVP must refresh the session state (30000 ms). By default, the value is recorded in milliseconds. RFC 3209 states that a router can refresh the state within plus or minus 50 percent of the time. In this case, RFC 3209 allows a router to refresh the state between 15 and 45 seconds.The source route (
SrcRoute) object is the list of addresses in the Explicit Route Object (ERO). TheSindicates a strict next hop, as shown in the example. AnLindicates a loose next hop.The
LabelRequestobject indicates, to the next downstream node, that a label assignment is requested.Ethertype 0x800indicates that a label for an IP packet is required.The
Propertiesobject is a Juniper Networks proprietary object used to carry information about the label-switched path (LSP). In this case, the object indicates that the Path message is signaling a primary physical path.The
SessionAttributeobject indicates a variety of parameters:
- The setup priority of the RSVP session is 7 [
Prio (7,0)]. The setup priority determines the resources used by this session, and can be in the range from 0 through 7. The value 0 is the highest priority. The setup priority is used to decide whether this session can preempt another session.- The hold priority is 0 [
Prio (7,0)]. The hold priority of a session determines resources held by other sessions, and can be in the range from 0 through 7. The value 0 is the highest priority. The hold priority is used to decide whether this session can be preempted by another session.- The 8-bit flag field (
flag 0x0)has no bits turned on (correlating to the hexadecimal value 0).Table 19 shows the SessionAttribute object flags.
Table 19: Session Attribute Object Flags
The
Senderobject defines the source of session10.0.0.1(R1). The number (7) after sender indicates that this is C-Type 7 for IPv4, defined in RFC 3209. The sender is defined by the source IP address (10.0.0.1)and the LSP ID (4). The LSP ID changes, depending on the signaling path.The traffic specification (
Tspec) object indicates the allocated bandwidth. This RSVP session uses the default of 0, no bandwidth is reserved. TheTspecobject includes two different types of RSVP bandwidth allocations: controlled load and guaranteed delivery.
- Controlled load specifies a maximum transmission rate and a maximum burst size. The peak value is always set to infinity (
Inf), unless guaranteed delivery is specified. RFC 3209 recommends support only for null service and controlled load bandwidth services. Guaranteed delivery is not currently recommended, so there should never be a value forInfin theTspecobject.- Guaranteed delivery specifies a peak transmission rate. The JUNOS software does not support guaranteed delivery. Instead you can specify a maximum transmission rate; for example, 45 Mbps. Because it is possible to burst at the maximum rate, the size parameter indicates a maximum burst size of 45 Mbps. The lowercase
m (m20)and uppercaseM(M 1500) indicate the minimum and maximum sizes for the RSVP maximum transmission unit (MTU) rate. RSVP treats any packet smaller than m20 as 20 bytes, and any packet larger than M1500 as 1500 bytes.The
ADspecobject carries a summary of available services, delay and bandwidth estimates, and operating parameters (MTU 1500) used by specific quality-of-service (QoS) control services.The record route object (
RecRoute) indicates the list of addresses that this Path message has transited, in this case,10.1.13.1.For information on objects that can appear in the Path message but do not appear in the sample output, such as
Detour,Explicit route,FastReroute, andIntegrity, see Table 15.