Configuring VRF Lite. Understanding VRF Lite CHAPTER

Similar documents
Configuring VRF Lite. Understanding VRF Lite CHAPTER


Failover with EIGRP Using VRF Configuration Example

Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling

Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling

Configuring VRF-lite CHAPTER

MPLS VPN--Inter-AS Option AB

MPLS VPN Inter-AS Option AB

Multi-VRF Support. Finding Feature Information. Prerequisites for Multi-VRF Support

InterAS Option B. Information About InterAS. InterAS and ASBR

Configuring IRB. Integrated Routing and Bridging CHAPTER

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

BGP Support for the L2VPN Address Family

Configuring Easy Virtual Network Shared Services

BGP Event-Based VPN Import

OSPF Filtering (Part I)

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

Configuring Link Aggregation on the ML-MR-10 card

Remote Access MPLS-VPNs

BGP-MVPN SAFI 129 IPv6

Configuring MPLS and EoMPLS

UniNets MPLS LAB MANUAL MPLS. UNiNets Multiprotocol label Switching MPLS LAB MANUAL. UniNets MPLS LAB MANUAL

Configuring MPLS Multi-VRF (VRF-lite)

MPLS VPN Half-Duplex VRF

BGP Support for the L2VPN Address Family

Configuring VRF-lite. Information About VRF-lite

MPLS over GRE. Finding Feature Information. Prerequisites for MPLS VPN L3VPN over GRE

Configuring Network Access to the GGSN

MPLS for R&S CCIE Candidates

Configuring IP Unnumbered on IEEE 802.1Q VLANs

BGP mvpn BGP safi IPv4

Layer3 VPN with RIP protocol between CE-PE

Layer3 VPN with OSPF Protocol between CE-PE

et Su cc es s in Passing Yourertification Exam at first

BGP Best External. Finding Feature Information

BGP Event-Based VPN Import

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS

Route between VLANs using a 3560 switch with an internal route processor using Cisco Express Forwarding (CEF).

MPLS VPN MIB Support. Cisco IOS Release 12.0(24)S1 1

LAB11: EIGRP IPv4. EIGRP: Stub. Disclaimer

VLANs over IP Unnumbered SubInterfaces

All participants will work within their groups in pairs. Each group has three routers and three switches to work with.

Configuring Scalable Hub-and-Spoke MPLS VPNs

Implementing MPLS VPNs over IP Tunnels

Objectives. Review: Classful addresses. RIPv1 Characteristics. RIP Operation. RIP version 1

Configuring Routed Pseudowire and VPLS

MPLS VPN Carrier Supporting Carrier

LAB8: Named EIGRP IPv4

ibgp Multipath Load Sharing

Deploy MPLS L3 VPN. APNIC Technical Workshop October 23 to 25, Selangor, Malaysia Hosted by:

VLAN Range. Feature Overview

BFD on BDI Interfaces

BFD on BDI Interfaces

ML-Series Card Overview

Configure L2VPN Autodiscovery and Signaling

SEMESTER 2 Chapter 1 Planning and Cabling a Network V 4.0

Cisco Exam Implementing Cisco Service Provider Next-Generation Egde Network Services Version: 7.0 [ Total Questions: 126 ]

BGP Cost Community. Prerequisites for the BGP Cost Community Feature

Configuring VLANs. Understanding VLANs

CISCO EXAM QUESTIONS & ANSWERS

Configuring BGP: RT Constrained Route Distribution

VRF, MPLS and MP-BGP Fundamentals

GRE Tunnel with VRF Configuration Example

Alcatel-Lucent 4A Alcatel-Lucent Virtual Private Routed Networks. Download Full version :

C. The ESP that is installed in the Cisco ASR 1006 Router does not support SSO.

Module 11b MPLS VPLS Configuration Lab (LDP Manual)

VRF, MPLS and MP-BGP Fundamentals

Configuring VLANs CHAPTER

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

King Fahd University of Petroleum & Minerals. Configuration of Routers and Establishing Routed Networks

Contents. Introduction. Prerequisites. Configure. Requirements. Components Used

CCNA Questions/Answers Routing Protocols

Disclaimer. IOS used: c7200-p-mz s.bin. Page1

mpls traffic-eng lsp attributes

RealCiscoLAB.com. Inter-VLAN Routing with an Internal Route Processor and Monitoring CEF Functions

MPLS VPN Multipath Support for Inter-AS VPNs

MLDP In-Band Signaling/Transit Mode

Concepts and Operation of MPLS VPNs. Francisco Bolanos

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Distance vector Routing protocols. 2000, Cisco Systems, Inc. 9-1

Configuring Multicast VPN Extranet Support

Basic Router Configuration

OSPF Support for Multi-VRF on CE Routers

MPLS VPN: VRF Selection Based on Source IP Address

Lab Configuring IGRP Instructor Version 2500

Multicast VPN IP Multicast Support for MPLS VPNs

VLAN Range. Feature Overview

Initial Configurations for OSPF over a Point to Point Link

lane global-lecs-address

MPLS: Layer 3 VPNs: Inter-AS and CSC Configuration Guide, Cisco IOS Release 15SY

LAB15: EIGRP IPv4. LAB 15: Diagram. Disclaimer

BTEC Level 3 Extended Diploma

Lab Troubleshooting RIP

This document is not restricted to specific software and hardware versions.

Contents. Introduction. Prerequisites. Requirements

Lab: Basic Static Route Configuration

Lab Configuring OSPF Timers 2500 Series

cisco. Number: Passing Score: 800 Time Limit: 120 min.

Transcription:

13 HAPTER onfiguring VRF Lite This chapter describes how to configure VPN Routing and Forwarding Lite (VRF Lite) for the ML-Series cards. For additional information about the isco IOS commands used in this chapter, refer to the isco IOS ommand Reference publication. This chapter contains the following major sections: Understanding VRF Lite, page 13-1 onfiguring VRF Lite, page 13-2 VRF Lite onfiguration Example, page 13-3 Monitoring and Verifying VRF Lite, page 13-7 Note If you have already configured bridging, you may now proceed with configuring VRF Lite as an optional step. Understanding VRF Lite VRF is an extension of IP routing that provides multiple routing instances. It provides a separate IP routing and forwarding table to each VPN and is used in concert with MP-iBGP (Multi-Protocol internal BGP) between provider equipment (PE) routers to provide Layer 3 MPLS-VPN. However, ML-Series VRF implementation is without MP-iBGP. With VRF Lite, the ML Series is considered a PE-extension or a customer equipment (E)-extension. VRF Lite is considered a PE-extension since its has VRF (but without MP-iBGP), and it is considered a E-extension since this E can have multiple VRFs and serves many customer with one E box. Under VRF Lite, an ML-Series E can have multiple interfaces/subinterfaces with PE for different customers (while a normal E is only for one customer). It holds VRFs (routing information) locally and it does not distribute the VRFs to its connected PE. It uses VRF information to direct traffic to the correct interfaces/subinterfaces when it receives traffic from customers routers or from Internet service provider (ISP) PE router(s). isco ONS 15454 and isco ONS 15454 SDH Ethernet ard Software Feature and onfiguration Guide, R8.0 13-1

onfiguring VRF Lite hapter 13 onfiguring VRF Lite onfiguring VRF Lite Perform the following procedure to configure VRF Lite: ommand Purpose Step 1 Router(config)# ip vrf vrf-name Enters VRF configuration mode and assigns a VRF name. Step 2 Step 3 Router(config-vrf)# rd route-distinguisher Router(config-vrf)# route-target {import export both} route-distinguisher reates a VPN route distinguisher (RD). An RD creates routing and forwarding tables and specifies the default route distinguisher for a VPN. The RD is added to the beginning of the customer's IPv4 prefixes to change them into globally unique VPN-IPv4 prefixes. Either RD is an ASN-relative RD, in which case it is composed of an autonomous system number and an arbitrary number, or it is an IP-address-relative RD, in which case it is composed of an IP address and an arbitrary number. You can enter a route-distinguisher in either of these formats: 16-bit AS number: your 32-bit number For example, 101:3. 32-bit IP address: your 16-bit number For example, 192.168.122.15:1. reates a list of import and/or export route target communities for the specified VRF. Step 4 Router(config-vrf)# import map route-map (Optional) Associates the specified route map with the VRF. Step 5 Router(config-vrf)# exit Exits the current configuration mode and enters global configuration mode. Step 6 Router(config)# interface type number Specifies an interface and enters interface configuration mode. Step 7 Router(config-vrf)# ip vrf forwarding vrf-name Associates a VRF with an interface or subinterface. Step 8 Router(config-if)# end Exits to privileged EXE mode. Step 9 Router# copy running-config (Optional) Saves configuration changes to NVRAM. startup-config Example 13-1 shows an example of configuring a VRF. In the example, the VRF name is customer_a, the route-distinguisher is 1:1, and the interface type is Fast Ethernet, number 0.1. Example 13-1 onfiguring a VRF Router(config)# ip vrf customer_a Router(config-vrf)# rd 1:1 Router(config-vrf)# route-target both 1:1 Router(config)# interface fastethernet 0.1 Router(config-subif)# ip vrf forwarding customer_a 13-2 isco ONS 15454 and isco ONS 15454 SDH Ethernet ard Software Feature and onfiguration Guide, R8.0

hapter 13 onfiguring VRF Lite VRF Lite onfiguration Example VRF Lite onfiguration Example Figure 13-1 shows an example of a VRF Lite configuration. The configurations for Router A and Router B are provided in Example 13-2 and Example 13-3 on page 13-4, respectively. The associated routing tables are shown in Example 13-4 on page 13-5 through Example 13-9 on page 13-7. Figure 13-1 VRF Lite Sample Network Scenario ustomer A ustomer A Fast Ethernet 0.1 192.168.1.1. ONS 15454 with ML100T-12 Router_A Fast Ethernet 1.1 192.168.2.1 POS 0.1 STS-N POS 0.1 192.168.50.1 192.168.50.2 POS 0.2 STS-N POS 0.2 192.168.100.1 192.168.100.2 POS 0.3 STS-N POS 0.3 192.168.200.1 192.168.200.2 ONS 15454 with ML100T-12 Router_B Fast Ethernet 1.1 192.168.5.1 Fast Ethernet 0.1 192.168.4.1 Service Provider Network ustomer B ustomer B 83244 Example 13-2 Router A onfiguration hostname Router_A ip vrf customer_a rd 1:1 route-target export 1:1 route-target import 1:1 ip vrf customer_b rd 2:2 route-target export 2:2 route-target import 2:2 bridge 1 protocol ieee bridge 2 protocol ieee bridge 3 protocol ieee interface FastEthernet0 interface FastEthernet0.1 encapsulation dot1q 2 ip vrf forwarding customer_a ip address 192.168.1.1 255.255.255.0 bridge-group 2 interface FastEthernet1 isco ONS 15454 and isco ONS 15454 SDH Ethernet ard Software Feature and onfiguration Guide, R8.0 13-3

VRF Lite onfiguration Example hapter 13 onfiguring VRF Lite interface FastEthernet1.1 encapsulation dot1q 3 ip vrf forwarding customer_b ip address 192.168.2.1 255.255.255.0 bridge-group 3 interface POS0 crc 32 no cdp enable pos flag c2 1 interface POS0.1 encapsulation dot1q 1 native ip address 192.168.50.1 255.255.255.0 bridge-group 1 interface POS0.2 encapsulation dot1q 2 ip vrf forwarding customer_a ip address 192.168.100.1 255.255.255.0 bridge-group 2 interface POS0.3 encapsulation dot1q 3 ip vrf forwarding customer_b ip address 192.168.200.1 255.255.255.0 bridge-group 3 router ospf 1 network 192.168.50.0 0.0.0.255 area 0 router ospf 2 vrf customer_a network 192.168.1.0 0.0.0.255 area 0 network 192.168.100.0 0.0.0.255 area 0 router ospf 3 vrf customer_b network 192.168.2.0 0.0.0.255 area 0 network 192.168.200.0 0.0.0.255 area 0 Example 13-3 Router_B onfiguration hostname Router_B ip vrf customer_a rd 1:1 route-target export 1:1 route-target import 1:1 ip vrf customer_b rd 2:2 route-target export 2:2 route-target import 2:2 bridge 1 protocol ieee bridge 2 protocol ieee bridge 3 protocol ieee 13-4 isco ONS 15454 and isco ONS 15454 SDH Ethernet ard Software Feature and onfiguration Guide, R8.0

hapter 13 onfiguring VRF Lite VRF Lite onfiguration Example interface FastEthernet0 interface FastEthernet0.1 encapsulation dot1q 2 ip vrf forwarding customer_a ip address 192.168.4.1 255.255.255.0 bridge-group 2 interface FastEthernet1 interface FastEthernet1.1 encapsulation dot1q 3 ip vrf forwarding customer_b ip address 192.168.5.1 255.255.255.0 bridge-group 3 interface POS0 crc 32 no cdp enable pos flag c2 1 interface POS0.1 encapsulation dot1q 1 native ip address 192.168.50.2 255.255.255.0 bridge-group 1 interface POS0.2 encapsulation dot1q 2 ip vrf forwarding customer_a ip address 192.168.100.2 255.255.255.0 bridge-group 2 interface POS0.3 encapsulation dot1q 3 ip vrf forwarding customer_b ip address 192.168.200.2 255.255.255.0 bridge-group 3 router ospf 1 network 192.168.50.0 0.0.0.255 area 0 router ospf 2 vrf customer_a network 192.168.4.0 0.0.0.255 area 0 network 192.168.100.0 0.0.0.255 area 0 router ospf 3 vrf customer_b network 192.168.5.0 0.0.0.255 area 0 network 192.168.200.0 0.0.0.255 area 0 Example 13-4 Router_A Global Routing Table Router_A# sh ip route odes: - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP isco ONS 15454 and isco ONS 15454 SDH Ethernet ard Software Feature and onfiguration Guide, R8.0 13-5

VRF Lite onfiguration Example hapter 13 onfiguring VRF Lite 192.168.50.0/24 is directly connected, POS0.1 Example 13-5 Router_A customer_a VRF Routing Table Router_A# show ip route vrf customer_a odes: - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP O 192.168.4.0/24 [110/2] via 192.168.100.2, 00:15:35, POS0.2 192.168.1.0/24 is directly connected, FastEthernet0.1 192.168.100.0/24 is directly connected, POS0.2 Example 13-6 Router_A customer_b VRF Routing Table Router_A# show ip route vrf customer_b odes: - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP O 192.168.200.0/24 is directly connected, POS0.3 192.168.5.0/24 [110/2] via 192.168.200.2, 00:10:32, POS0.3 192.168.2.0/24 is directly connected, FastEthernet1.1 Example 13-7 Router_B Global Routing Table Router_B# sh ip route odes: - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP 192.168.50.0/24 is directly connected, POS0.1 13-6 isco ONS 15454 and isco ONS 15454 SDH Ethernet ard Software Feature and onfiguration Guide, R8.0

hapter 13 onfiguring VRF Lite Monitoring and Verifying VRF Lite Example 13-8 Router_B customer_a VRF Routing Table Router_B# sh ip route vrf customer_a odes: - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP O 192.168.4.0/24 is directly connected, FastEthernet0.1 192.168.1.0/24 [110/2] via 192.168.100.1, 00:56:24, POS0.2 192.168.100.0/24 is directly connected, POS0.2 Example 13-9 Router_B customer_b VRF Routing Table Router_B# show ip route vrf customer_b odes: - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP O 192.168.200.0/24 is directly connected, POS0.3 192.168.5.0/24 is directly connected, FastEthernet1.1 192.168.2.0/24 [110/2] via 192.168.200.1, 00:10:51, POS0.3 Monitoring and Verifying VRF Lite Table 13-1 shows the privileged EXE commands for monitoring and verifying VRF Lite. Table 13-1 ommands for Monitoring and Verifying VRF Lite ommand Router# show ip vrf Router# show ip route vrf vrf-name Router# show ip protocols vrf vrf-name Router# ping vrf vrf-name ip ip-address Purpose Displays the set of VRFs and interfaces. Displays the IP routing table for a VRF. Displays the routing protocol information for a VRF. Pings an ip address that has a specific VRF. isco ONS 15454 and isco ONS 15454 SDH Ethernet ard Software Feature and onfiguration Guide, R8.0 13-7

Monitoring and Verifying VRF Lite hapter 13 onfiguring VRF Lite 13-8 isco ONS 15454 and isco ONS 15454 SDH Ethernet ard Software Feature and onfiguration Guide, R8.0