rsvp-session force-reoptimize

Use this command to force re-optimize a specific RSVP session by providing its session name for any session (primary or secondary) within the trunk.

Command Syntax

Copy
rsvp-session SESSIONNAME force-reoptimize

Parameters

SESSIONNAME

Specify the name of the RSVP session to reoptimize. Must reference an existing RSVP session configured on the router. The session name is derived from the trunk name by appending suffixes such as “-Primary, -Secondary, -Detour”, etc.

force-reoptimize

Triggers re-optimization of the specified session.

Default

None

Command Mode

Execution mode

Applicability

Introduced before OcNOS version 1.3. In OcNOS version 7.0.0, the force-reoptimize option was updated to accept a session name as input and to re-optimize the specified session, supporting primary or secondary tunnels.

Examples

This example forces reoptimization of the secondary RSVP session t1-Secondary; the Type field in the show rsvp session output displays both the primary (PRI) and secondary (SEC) sessions.

Copy
#rsvp-session t1-Secondary force-reoptimize
Copy
OcNOS#show rsvp session
Type  : PRI - Primary, SEC - Secondary, DTR - Detour, BPS - Bypass
State : UP - Up, DN - Down, BU - Backup in Use, SU - Secondary in Use, FS - Forced to Secondary
* indicates the session is active with local repair at one or more nodes
(P) indicates the secondary-priority session is acting as primary

Ingress RSVP:
To              From            Tun-ID   LSP-ID   Type   LSPName                         State Uptime    Rt  Style  Labelin  Labelout
3.3.3.3         2.2.2.2         5001     2203     PRI    t1-Primary                      UP    00:00:38  1 1 SE     -        24322
3.3.3.3         2.2.2.2         5001     2204     SEC    t1-Secondary                    UP    00:00:03  1 1 SE     -        24321
Total 2 displayed, Up 2, Down 0.