This feature module
describes how to add label mapping information to the Border Gateway Protocol
(BGP) message that is used to distribute the route on the Cisco ASR 903 Series
Aggregation Services Routers.
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see
Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for
Labeled BGP Support
Starting Cisco IOS
XE Release 3.6.0S or later that supports Labeled BGP must be installed
previously on the Cisco ASR 903 Series Aggregation Services Router.
Restrictions for
Labeled BGP Support
The ASR 903 router supports
only the client functionality of RFC 3107 and not its area border router (ABR)
functionality.
The ASR 903 router does not
support two label-pop (Label pop is the process of removing label header).
Overview of Labeled
BGP Support
The Labeled BGP
Support feature provides the option to use the BGP update message (that is used
to distribute the route) to re-distribute Multiprotocol Label Switching (MPLS)
label mapped to that route. The label mapping information is added (using
send-label option of RFC 3107) to the same BGP message that is used to
distribute the route. This process is useful in inter-domain routing, and the
message that is used to distribute the route. This process is useful in
inter-domain routing, and the Cisco ASR 903 router supports this functionality
as well as the virtual private network (VPN) and virtual routing and forwarding
(VRF) over Labeled BGP functionality.
VPN/VRF over RFC 3107
The VPN/VRF over
Labeled BGP is a 3-label imposition process (VRF Label, BGP label, interior
gateway protocols [IGP] label). The innermost label is VRF, followed by BGP
(for RFC 3107), and IGP. This functionality allows the Cisco ASR 903 router to
support a VRF over labeled BGP session with an ABR.
Configuring Labeled
BGP Support
SUMMARY STEPS
1. enable
2. configure
terminal
3. router bgp
as-number
4. address family
ipv4
5. neighbor
peer-group-name send-community
6. neighbor
peer-group-name next-hop-self
7. neighbor
peer-group-name activate
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables
privileged EXEC mode.
Enter your password if
prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global
configuration mode.
Step 3
router bgp
as-number
Example:
Router(config)# router bgp 100
Enters router
configuration mode.
as-number—Number of an
autonomous system that identifies the router to other BGP routers and tags the
routing information that is passed along. The valid values range from 1 to
65535.
Step 4
address family
ipv4
Example:
Router(config-router)# address family ipv4
Configures the
address family as IPv4 using standard IPv4 address prefixes.
To verify three
Label Support, use the
show ip cef
vrf
command as shown in the following example.
Router# show ip cef vrf LTE12 113.22.12.0 internal
113.22.12.0/24, epoch 0, flags rib defined all labels, RIB[B], refcount 5, per-destination sharing
sources: RIB
feature space:
IPRM: 0x00018000
LFD: 113.22.12.0/24 0 local labels
contains path extension list
ifnums: (none)
path 13E8A064, path list 13F49DC8, share 1/1, type recursive, for IPv4, flags must-be-labelled, recursive-via-host
MPLS short path extensions: MOI flags = 0x0 label 51
recursive via 100.111.13.22[IPv4:Default] label 51, fib 141253D8, 1 terminal fib, v4:Default:100.111.13.22/32
path 12520C8C, path list 13F49C38, share 1/1, type attached nexthop, for IPv4
MPLS short path extensions: MOI flags = 0x0 label 17
nexthop 100.111.14.4 Vlan10 label 17, adjacency IP adj out of Vlan10, addr 10.13.23.1 13734C80
output chain: label 22 label 51 label 17 TAG adj out of Vlan10, addr 10.13.23.1 143EDCA0
!You can see three labels in the output chain; of which 22 is VRF label, 51 is BGP label !and 17 is LDP label
The Cisco Support website provides extensive online resources,
including documentation and tools for troubleshooting and
resolving technical issues with Cisco products and technologies.
To receive security and technical information about your
products, you can subscribe to various services, such as the
Product Alert Tool (accessed from Field Notices), the Cisco
Technical Services Newsletter, and Really Simple Syndication
(RSS) Feeds.
Access to most tools on the Cisco Support website requires a
Cisco.com user ID and password.
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1 Feature Information for Labeled BGP Support
Feature
Name
Releases
Feature
Information
Labeled
BGP Support
Cisco IOS XE Release 3.8S
The Labeled BGP Support feature provides the option to use the BGP
update message (that is used to distribute the route) to
re-distribute Multiprotocol Label Switching (MPLS) label mapped to
that route.
In Cisco IOS XE Release 3.8S, support was added for the Cisco ASR 903 router.