Implementing MPLS Layer 3 VPNs
router static
address-family ipv4 unicast
10.0.0.2/32 40.1.1.1
end
Configuring a Static Route to a Peer: Example
This example shows how to configure a static route to an Inter-AS or CSC-CE peer:
config
router static
address-family ipv4 unicast
10.0.0.2/32 40.1.1.1
end
Configuring L3VPN over GRE: Example
The following example shows how to configure L3VPN over GRE:
Sample configuration to create a GRE tunnel between PE1 and PE2:
RP/0/RSP0/CPU0:PE1#sh run int tunnel-ip 1
interface tunnel-ip1
ipv4 address 100.1.1.1 255.255.255.0
ipv6 address 100:1:1:1::1/64
tunnel mode gre ipv4
tunnel source TenGigE0/2/0/1
tunnel destination 145.12.5.2
!
RP/0/RSP0/CPU0:PE2#sh run int tunnel-ip 1
interface tunnel-ip1
ipv4 address 100.1.1.2 255.255.255.0
ipv6 address 100:1:1:1::2/64
tunnel mode gre ipv4
tunnel source TenGigE0/1/0/2
tunnel destination 145.12.1.1
Configure IGP between PE1 and PE2:
Sample configuration for PE1 is given below. PE2 will also have a similar configuration.
RP/0/RSP0/CPU0:PE1#sh run router ospf 1
router ospf 1
nsr
router-id 1.1.1.1 <=== Loopback0
mpls ldp sync
mtu-ignore enable
dead-interval 60
hello-interval 15
area 0
interface TenGigE0/2/0/1
!
RP/0/RSP0/CPU0:PE1#sh run router ospf 0
router ospf 0
nsr
router-id 1.1.1.1
mpls ldp sync
dead-interval 60
hello-interval 15
area 0
interface Loopback0
!
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
Configuring L3VPN over GRE: Example
271
Need help?
Do you have a question about the CRS and is the answer not in the manual?