# ip mpls forwarding-mode label-switched

#### Syntax

[ no ] ip mpls forwarding-mode label-switched

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Generates a label for each different FEC that a BGP route points to in a BGP/MPLS VPN. The no version restores the default, generating a single label for all BGP routes sent from a given VRF.

| Note: For some types of routes, the router always generates a per-VRF label, regardless of the status of this command. See Creating labels per FEC in the JunosE BGP and MPLS Configuration Guide, for details.

#### Mode

VRF Configuration