Specifications

Table Of Contents
mpls label mode (6VPE)
MP-187
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
mpls label mode (6VPE)
To configure the MPLS VPN 6VPE per VRF Label feature, use the mpls label mode command in global
configuration mode. To disable the MPLS VPN 6VPE per VRF Label feature, use the no form of this
command.
mpls label mode {vr
f vrf-name | all-vrfs} protocol {bgp-vpnv6 | all-afs}
{per
-prefix | per-vrf}
no mpls label mode {vr
f vrf-name | all-vrfs} protocol {bgp-vpnv6 | all-afs}
{per
-prefix | per-vrf}
Syntax Description
Command Default The command default for connected routes and Border Gateway Protocol (BGP) aggregate routes on the
Cisc
o 7600 router is P
er-vrf-aggr label mode. The command default for all other local routes is
Per-prefix label mode.
Command Modes Global configuration (config)#
Command History
Examples The following example configures all VRFs to per-vrf mode:
vrf vr
f-name Configures a single VPN routing and forwarding (VRF) domain.
vrf-nameThe name for the single VRF you want to configure.
all-vrfs Configures a label mode for all VRFs on the router.
protocol Specifies a protocol to use for the label mode.
bgp-vpnv6—Specifies the IPv6 VRF address-family protocol for the
label mode configuration.
all-afs—Configures a label mode for all address families (AFs) on the
router.
If a VRF is configured with the all-afs label mode, you cannot
change the label mode for individual AFs. To configure each of the
AFs for different label modes, you must first remove the all-afs
mode keyword. Similarly, if individual AFs are configured with
different label modes, the all-afs label mode for the VRF is not
accepted.
The all-afs label mode keyword has higher precedence over the
individual AF label mode keywords (vrf or all-vrfs).
per-prefix Specifies per-prefix label mode.
per-vrf Specifies per-vrf label mode.
Release Modification
12.2(33)SRD This command was introduced.