Sample Configuration - Cisco ASR 5500 System Administration Manual

Hide thumbs Also See for ASR 5500:
Table of Contents

Advertisement

BGP MPLS VPNs

Sample Configuration

In this example, VRFs are configured on the ASR 5500 PE and pools are associated with VRFs. The exchanges
VPN routes with its IBGP peers (PE routers) and learns the MPLS paths to reach PEs via LDP. The forwards
the packets to the next-hop with two labels – an inner label learned from PE and an outer label learned from
the next hop IBGP neighbor.
Figure 6: Sample Configuration
mpls ip
protocol ldp
exit
exit
ip vrf vrf1
mpls traffic-class copy
exit
ip vrf vrf2
mpls traffic-class value 5
exit
router bgp 300
ip vrf vrf1
exit
exit
router-id 2.2.2.2
neighbor 192.168.107.20 remote-as 300
neighbor 192.168.107.20 update-source node1_loopback
address-family vpnv4
exit
address-family ipv4 vrf vrf1
exit
address-family ipv4 vrf vrf2
exit
interface interface_to_internet
ip address 192.168.109.65/24
mpls ip
exit
router ospf
network 192.168.109.0/24 area 0.0.0.0
exit
enable
route-target export 300 1
route-target import 300 1
route-distinguisher 300 1
ip vrf vrf2
route-target export 300 2
route-target import 300 2
route-distinguisher 300 2
neighbor 192.168.107.20 activate
neighbor 192.168.107.20 send-community both
neighbor 192.168.107.20 next-hop-self
redistribute connected
redistribute connected
ASR 5500 System Administration Guide, StarOS Release 21.5
Sample Configuration
243

Advertisement

Table of Contents
loading

Table of Contents