3. View the RSVP Log File
Action
To view the contents of the RSVP log file, enter the following JUNOS CLI operational mode command:
user@host>show logfilenameSample Output
user@R1>show log rsvp-logJun 16 17:12:23R1 clear-log[9511]: logfile clearedJun 16 18:34:51trace_on: Tracing to "/var/log/rsvp-log" startedJun 16 18:35:09RSVP send Path 10.0.0.1->10.0.0.5 Len=216 so-0/0/2.0Jun 16 18:35:09 Session7 Len 16 10.0.0.5(port/tunnel ID 26619) Proto 0Jun 16 18:35:09 Hop Len 12 10.1.13.1/0x08678198Jun 16 18:35:09 Time Len 8 30000 msJun 16 18:35:09 SrcRoute Len 28 10.1.13.2 S 10.1.36.2 S 10.1.56.1 SJun 16 18:35:09 LabelRequest Len 8 EtherType 0x800Jun 16 18:35:09 Properties Len 12 Primary pathJun 16 18:35:09 SessionAttribute Len 16 Prio (7,0) flag 0x0 "R1-to-R5"Jun 16 18:35:09 Sender7 Len 12 10.0.0.1(port/lsp ID 3)Jun 16 18:35:09 Tspec Len 36 rate 0bps size 0bps peak Infbps m 20 M 1500Jun 16 18:35:09 ADspec Len 48 MTU 1500Jun 16 18:35:09 RecRoute Len 12 10.1.13.1Jun 16 18:35:27RSVP recv Path 10.0.0.5->10.0.0.1 Len=216 so-0/0/2.0Jun 16 18:35:27 Session7 Len 16 10.0.0.1(port/tunnel ID 23942) Proto 0Jun 16 18:35:27 Hop Len 12 10.1.13.2/0x08680198Jun 16 18:35:27 Time Len 8 30000 msJun 16 18:35:27 SrcRoute Len 12 10.1.13.1 SJun 16 18:35:27 LabelRequest Len 8 EtherType 0x800Jun 16 18:35:27 Properties Len 12 Primary pathJun 16 18:35:27 SessionAttribute Len 16 Prio (7,0) flag 0x0 "R5-to-R1"Jun 16 18:35:27 Sender7 Len 12 10.0.0.5(port/lsp ID 2)Jun 16 18:35:27 Tspec Len 36 rate 0bps size 0bps peak Infbps m 20 M 1500Jun 16 18:35:27 ADspec Len 48 MTU 1500Jun 16 18:35:27 RecRoute Len 28 10.1.13.2 10.1.36.2 10.1.56.1What It Means
The sample output shows the tracing information in the
rsvp-logfile. The first entry shows that the log file was cleared, and the second entry shows that tracing is going to thersvp-logfile in the/var/log/directory.The log file displays a Path message that was sent from
R1toR5, and another thatR1received fromR5, indicating that the two unidirectional LSPs betweenR1andR5are established. For more information about Path messages, see Examining RSVP Log Messages.