control-mode

Use this command to set the control mode for label processing. Ordered processing sets the mode to strict chain-of-command; an LSR replies to a request packet from an LSR higher in the chain only after it receives a label from an LSR lower in the chain. Independent processing sets the mode to instant replies.

In independent control mode, each LSR might advertise label mappings to its neighbors at any time. In independent downstream-on-demand mode, an LSR might answer requests for label mappings immediately, without waiting for a label mapping from the next hop. In independent downstream unsolicited mode, an LSR might advertise a label mapping for an Forwarding Equivalence Class (FEC) to its neighbors whenever it is prepared to label-switch that FEC. In independent mode, an upstream label can be advertised before a downstream label is received.

In ordered control mode, an LSR may initiate the transmission of label mapping only for an FEC for which it has a label mapping for the FEC next hop, or for which the LSR is the egress. For each FEC for which the LSR is not the egress and no mapping exists, the LSR must wait until a label from a downstream LSR is received. An LSR may be an egress for some FECs and a non-egress for others. Changes in control mode only affect labels that were sent or received after the change was made.

Use the no parameter to revert to default control mode.

 

Control mode "independent" is supported with advertisement mode "DU" only.
When the advertisement mode is set as "DU", control mode automatically sets to "independent".
Control mode "independent" is not supported with advertisement mode "DOD".
Control mode "ordered" is supported with advertisement mode "DOD" only.
Control mode "ordered" is not supported with advertisement mode "DU".
When the advertisement mode is set as "DOD", control mode automatically sets to "ordered".

Command Syntax

Copy
control-mode (ordered|independent)
no control-mode

Parameters

independent

Sets control mode to independent processing.

ordered

Sets control mode to ordered processing.

Command Mode

Router mode

Default

Independent

Applicability

This command was introduced before OcNOS version 1.3.

Example

Copy
#configure terminal
(config)#router ldp
(config-router)#control-mode ordered