You can advertise an explicit null label (label 0) out of the egress for a label-switch path (LDP). By default, the router advertises label 3. Enabling explicit null allows the router to send out label 0. Advertising explicit null labels is used for peers in the same BGP group.
Configure the
labeled-unicaststatement with theexplicit-nulloption. As with regular BGP configuration, thefamilystatement can be specified.Configure the
labeled-unicaststatement as follows:family inet {labeled-unicast {aggregate-label {communitycommunity-name:}explicit-null { connected-only;}}}For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.
Specify the
connected-onlystatement to advertise explicit null labels between connectly routes only (direct routes and loopback routes).
NOTE: The
connected-onlystatement is required to advertise explicit null labels.
NOTE: Explicit null labels are supported for the IPv4 (
inet) family only.