Specifications

Table Of Contents
mpls label mode
MP-186
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
mpls label mode
To configure the Per VRF Labels, use the mpls label mode command in global configuration mode. To
disable the Per VRF Label feature, use the no form of this command.
mpls label mode {vr
f vrf-name | all-vrfs} protocol bgp-vpnv4 {per-prefix | per-vrf}
no mpls label mode {vr
f vrf-name | all-vrfs} protocol bgp-vpnv4 {per-prefix | per-vrf}
Syntax Description
Command Default Per-vrf-aggr label mode is the default for connected routes and Border Gateway Protocol (BGP)
ag
gregate routes on the Cisco 6500 router. Per-prefix label mode is the default for all other local routes.
Command Modes Global configuration (config)#
Command History
Examples The following command example configures all VRFs to per-vrf mode:
Router(config)# mpls label mode all-vrfs protocol bgp-vpnv4 per-vrf
Related Commands
vrf Configures a single VPN routing and forwarding (VRF) domain.
vrf-name Specifies a 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-vpnv4 Specifies the IPv4 VRF Address-family protocol for the label mode
c
onfiguration.
per-prefix Specifies per-prefix label mode.
per-vrf Specifies per-vrf label mode.
Release Modification
XE Release 2.2 This command was introduced.
12.2(33)SRD This command was integrated into Cisco IOS Release 12.2(33)SRD.
Command Description
debug ip bgp vpnv4 unicast Displays debugging messages for VPNv4 unicast routes.
show ip vrf detail Displays the assigned label mode for the VRF.