|
Table Of Contents
MPLS VPN—Explicit Null Label Support with BGP IPv4 Label Session
Prerequisites for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
Restrictions for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
Information About MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
Feature Design of the MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session Feature
Benefits of the MPLS—VPN Explicit Null Label Support BGP IPv4 Label Session Feature
How to Configure MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
Verifying Explicit Null Configuration
Configuration Examples for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
Configuring CSC-CE with BGP: Example
Verifying Explicit Null Configuration: Example
Feature Information for MPLS VPN—Explicit Null Label Support with BGP IPv4 Label Session
MPLS VPN—Explicit Null Label Support with BGP IPv4 Label Session
First Published: January 20, 2004Last Updated: February 27, 2009The MPLS VPN—Explicit Null Label Support with BGP IPv4 Label Session feature provides a method to advertise explicit null in a Border Gateway Protocol (BGP) label session for a carrier supporting carrier (CSC) customer edge (CE) router.
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see 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 for MPLS VPN—Explicit Null Label Support with BGP IPv4 Label Session" section.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•Prerequisites for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
•Restrictions for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
•Information About MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
•How to Configure MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
•Configuration Examples for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
•Feature Information for MPLS VPN—Explicit Null Label Support with BGP IPv4 Label Session
Prerequisites for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
•You must configure your network for Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN).
•You must configure BGP to distribute labels between the CSC-CE and CSC-provider edge (PE) routers.
Restrictions for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
•Configure an explicit null label only in a CSC-CE topology.
•Configure an explicit null label only on a per-neighbor basis.
Information About MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
To configure the MPLS—VPN Explicit Null Label Support BGP IPv4 Label Session feature, you need to understand the following concepts:
•Feature Design of the MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session Feature
•Benefits of the MPLS—VPN Explicit Null Label Support BGP IPv4 Label Session Feature
Feature Design of the MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session Feature
On a CSC-CE with BGP IPv4 label distribution, BGP advertises an implicit null label for directly connected routes. This causes the previous hop (penultimate) router to do penultimate hop popping (PHP).
The MPLS—VPN Explicit Null Label Support BGP IPv4 Label Session feature makes the penultimate router swap the incoming label for (or impose) the explicit null label. This action forces the egress router to process the explicit null label by popping it and inspecting the packet that remains.
Benefits of the MPLS—VPN Explicit Null Label Support BGP IPv4 Label Session Feature
The explicit null label helps to preserve quality of service (QoS) bits from one Service Level Agreement (SLA) to another until the packets reach their CSC-CE destination.
How to Configure MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
This section contains the following procedures:
•Configuring CSC with BGP (required)
•Verifying Explicit Null Configuration (optional)
Configuring CSC with BGP
Perform this task to configure CSC with BGP.
SUMMARY STEPS
1. enable
2. configure terminal
3. router bgp autonomous system-number
4. address-family ipv4 [unicast]
5. neighbor ip-address send-label explicit-null
6. neighbor {ip-address | peer-group-name | ipv6-address} activate
7. exit
DETAILED STEPS
Verifying Explicit Null Configuration
Perform this task to verify that the explicit null option is configured.
SUMMARY STEPS
1. enable
2. show ip bgp neighbors [ip-address [advertised-routes | dampened-routes | flap-statistics |
paths [regexp] | received prefix-filter | received-routes | routes]]DETAILED STEPS
Configuration Examples for MPLS—VPN Explicit Null Label Support with BGP IPv4 Label Session
This section provides the following configuration examples:
•Configuring CSC-CE with BGP: Example
•Verifying Explicit Null Configuration: Example
Configuring CSC-CE with BGP: Example
In the following CSC-CE example, CSC is configured with BGP to distribute labels and to advertise explicit null for all its connected routes:
Router(config-router-af)# neighbor 10.0.0.0 send-label explicit-nullrouter bgp 100bgp log-neighbor-changesneighbor 10.0.0.0 remote-as 200!address-family ipv4neighbor 10.0.0.0 activateneighbor 10.0.0.0 send-label explicit-nullno auto-summaryno synchronizationexit-address-familyVerifying Explicit Null Configuration: Example
This section provides sample output from the show ip bgp neighbors command.
In this example, the show ip bgp neighbors command displays information about connected BGP neighbors, including IP addresses, version numbers, neighbor capabilities, message statistics, and address family statistics that show if explicit null is configured:
Router# show ip bgp neighborsBGP neighbor is 10.0.0.2, remote AS 300, external linkBGP version 4, remote router ID 10.0.0.20BGP state = Established, up for 00:45:16Last read 00:00:16, hold time is 180, keepalive interval is 60 secondsNeighbor capabilities:Route refresh: advertised and received(new)Address family IPv4 Unicast: advertised and receivedipv4 MPLS Label capability: advertised and receivedMessage statistics:InQ depth is 0OutQ depth is 0Sent RcvdOpens: 1 1Notifications: 0 0Updates: 1 2Keepalives: 47 47Route Refresh: 0 0Total: 49 50Default minimum time between advertisement runs is 30 secondsFor address family: IPv4 UnicastBGP table version 9, neighbor version 9/0Output queue sizes : 0 self, 0 replicatedIndex 1, Offset 0, Mask 0x2Member of update-group 1My AS number is allowed for 3 number of timesAF-dependant capabilities:Outbound Route Filter (ORF) type (128) Prefix-list:Sending Prefix & Label(advertise explicit-null set) !Explicit null is configuredSent RcvdPrefix activity: ---- ----Prefixes Current: 3 3 (Consumes 144 bytes)Prefixes Total: 3 6Implicit Withdraw: 0 3Explicit Withdraw: 0 0..................Additional References
The following sections provide references related to the MPLS—VPN Explicit Null Label with BGP IPv4 Label Session feature.
Related Documents
Related Topic Document TitleBGP configuration tasks
Cisco IOS IP Routing Protocols Configuration Guide, Release 12.4
BGP commands
•Cisco IOS IP Routing Protocols Command Reference,
•Cisco IOS IP Routing Protocols Command Reference,
IPv4 BGP label distribution
•MPLS VPN—InterAS—IPv4 BGP Label Distribution
•MPLS VPN—Carrier Supporting Carrier—IPv4 BGP Label Distribution
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
Technical Assistance
Command Reference
The following commands are introduced or modified in the feature or features documented in this module. For information about these commands, see the Cisco IOS Multiprotocol Label Switching Command Reference at http://www.cisco.com/en/US/docs/ios/mpls/command/reference/
mp_book.html. For information about all Cisco IOS commands, use the Command Lookup Tool at http://tools.cisco.com/Support/CLILookup or the Cisco IOS Master Command List, All Releases, at http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html.•debug ip bgp
•neighbor send-label explicit-null
•show ip bgp neighbors
•show ip bgp vpnv4
•show mpls forwarding-table
Feature Information for MPLS VPN—Explicit Null Label Support with BGP IPv4 Label Session
Table 1 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Glossary
BGP—Border Gateway Protocol. The exterior Border Gateway Protocol used to exchange routing information between routers in separate autonomous systems. BGP uses TCP. Because TCP is a reliable protocol, BGP does not experience problems with dropped or fragmented data packets.
CE router—customer edge router. A router on the border between a VPN provider and a VPN customer that belongs to the customer.
eBGP—external Border Gateway Protocol. A BGP session between routers in different autonomous systems. When a pair of routers in different autonomous systems are more than one IP hop away from each other, an external BGP session between those two routers is called multihop external BGP.
label—A short, fixed-length data identifier that tells switching nodes how to forward data (packets or cells).
label distribution—The techniques and processes used to cause routed traffic to travel through the network on a path other than the one that would have been chosen if standard routing methods had been used.
LDP—Label Distribution Protocol. The protocol that supports MPLS hop-by-hop forwarding by distributing bindings between labels and network prefixes. The Cisco proprietary version of this protocol is the Tag Distribution Protocol (TDP).
LSP—label switched path. A configured connection between two routers, in which MPLS is used to carry packets. A path created by the concatenation of one or more label switched hops, allowing a packet to be forwarded by swapping labels from an MPLS node to another MPLS node.
MPLS—Multiprotocol Label Switching. A method for directing packets primarily through Layer 2 switching rather than Layer 3 routing. In MPLS, packets are assigned short, fixed-length labels at the ingress to an MPLS cloud by using the concept of forwarding equivalence classes. Within the MPLS domain, the labels are used to make forwarding decisions mostly without recourse to the original packet headers; formerly known as tag switching.
NLRI—Network Layer Reachability Information. BGP sends routing update messages containing NLRI, which describes the route. In this context, an NLRI is a prefix. A BGP update message carries one or more NLRI prefixes and the attributes of a route for the NLRI prefixes. The route attributes include a BGP next hop gateway address, community values, and other information.
PE router—provider edge router. A router on the border between a VPN provider and a VPN customer that belongs to the provider.
QoS—quality of service. A measure of performance for a transmission system that reflects its transmission quality and service availability.
router—A network layer device that uses one or more metrics to determine the optimal path along which network traffic should be forwarded. Routers forward packets from one network to another based on network layer information.
VPN—Virtual Private Network. A secure IP-based network that shares resources on one or more physical networks. A VPN contains geographically dispersed sites that can communicate securely over a shared backbone.
CCDE, CCENT, Cisco Eos, Cisco HealthPresence, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0812R)
© 2004-2009 Cisco Systems, Inc. All rights reserved.
.