EasyManuals Logo

Cisco NCS 540 Series User Manual

Cisco NCS 540 Series
72 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #54 background imageLoading...
Page #54 background image
Router#configure
Router(config)#vrf vrf1
Router(config-vrf)#address-family ipv4 unicast
/* You must create route-policy pass-all before this configuration */
Router(config-vrf-af)#import from default-vrf route-policy pass-all
Router(config-vrf-af)#import route-target
Router(config-vrf-import-rt)#100:100
Router(config-vrf-import-rt)#exit
Router(config-vrf-af)#export route-target
Router(config-vrf-import-rt)#100:100
Router(config-vrf-import-rt)#exit
Router(config-vrf-import-rt)#commit
Similarly create vrf2, with route-target as 100:100.
Configure VRF under the interface:
Router#configure
Router(config)#interface TenGigE0/0/0/0.2001
Router(config-subif)#vrf vrf1
Router(config-subif)#ipv4 address 192.0.2.2 255.255.255.252
Router(config-subif)#encapsulation dot1q 2001
Router(config-subif)#exit
Router(config)#interface TenGigE0/0/0/0.2000
Router(config-subif)#vrf vrf2
Router(config-subif)#ipv4 address 192.0.2.5/30 255.255.255.252
Router(config-subif)#encapsulation dot1q 2000
Router(config-vrf-import-rt)#commit
Similarly configure vrf1 under interface TenGigE0/0/0/0.2001 and vrf2 under interface
TenGigE0/0/0/0.2000
Configure VRF under routing protocol:
Router#configure
Router(config)#router rip
Router(config-rip)#vrf vrf1
Router(config-rip-vrf)#interface TenGigE0/0/0/0.2001
Router(config-rip-vrf-if)#exit
Router(config-rip-vrf)#interface TenGigE0/0/0/0.2001
Router(config-rip-vrf-if)#exit
Router(config-rip-vrf)#default-information originate
Router(config-vrf-import-rt)#commit
Similarly configure vrf2 under rip, with interface TenGigE0/0/0/0.2000 and interface TenGigE0/0/0/1.2000
Running Configuration
/* VRF Configuration */
vrf vrf1
address-family ipv4 unicast
import route-target
100:100
!
L3VPN Configuration Guide for Cisco NCS 540 Series Routers, IOS XR Release 6.3.x
44
MPLS L3VPN Overview
Configure VRF-lite

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco NCS 540 Series and is the answer not in the manual?

Cisco NCS 540 Series Specifications

General IconGeneral
SeriesNCS 540
CategoryNetwork Router
Operating SystemCisco IOS XR
Form Factor1RU, 2RU
Forwarding CapacityUp to 800 Gbps
RedundancyPower supply, fan
Power SupplyAC or DC options
ManagementCLI, SNMP, NETCONF
Storage Temperature-40 to 70°C (-40 to 158°F)
Humidity5% to 95% non-condensing

Related product manuals