Cisco CRS Configuration Manual page 286

Ios xr virtual private network
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

Configuring L3VPN over GRE: Example
interface tunnel-ip1
!
* Check for OSPF neighbors
RP/0/RSP0/CPU0:PE1#sh ospf neighbor
Neighbors for OSPF 0
Neighbor ID
4.4.4.4
Neighbor PE2
Neighbor is up for 00:13:40
Neighbors for OSPF 1
Neighbor ID
2.2.2.2
Neighbor P1
Neighbor is up for 00:13:43
Configure LDP/GRE on PE1 and PE2:
RP/0/RSP0/CPU0:PE1#sh run mpls ldp
mpls ldp
router-id 1.1.1.1 <=== Loopback0
discovery hello holdtime 45
discovery hello interval 15
nsr
graceful-restart
graceful-restart reconnect-timeout 180
graceful-restart forwarding-state-holdtime 300
holdtime 90
log
neighbor
!
interface tunnel-ip1
!
*Check for mpls forwarding
RP/0/RSP0/CPU0:PE1#sh mpls forwarding prefix 4.4.4.4/32
Local
Label
---- ------- -------------- -------- ----------- ----------
16003
Configure L3VPN
RP/0/RSP0/CPU0:PE1#sh run vrf vpn1
vrf vpn1
address-family ipv4 unicast
import route-target
2:1
!
export route-target
1:1
!
RP/0/RSP0/CPU0:PE1#sh run int tenGigE 0/2/0/0.1
interface TenGigE0/2/0/0.1
vrf vpn1
ipv4 address 150.1.1.1 255.255.255.0
encapsulation dot1q 1
!
RP/0/RSP0/CPU0:PE1#sh run router bgp
router bgp 1
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
272
Pri
State
1
FULL/
-
Pri
State
1
FULL/DR
Outgoing
Prefix
Label
or ID
Pop
4.4.4.4/32
Dead Time
Address
00:00:47
100.1.1.2
Dead Time
Address
00:00:50
145.12.1.2
Outgoing
Next Hop
Interface
ti1
100.4.1.2
Implementing MPLS Layer 3 VPNs
Interface
tunnel-ip1
<==
Interface
TenGigE0/2/0/1
<==
Bytes
Switched
0

Advertisement

Table of Contents
loading

Table of Contents