Académique Documents
Professionnel Documents
Culture Documents
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-1
• Connect customers using per-VRF static routes, RIP PE-CE routing
sessions, and EIGRP PE-CE routing sessions
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-2
PE-CE Routing
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-3
• PE-CE routing protocols are configured for individual VRFs.
• Cisco IOS and IOS XE Software
- Per-VRF routing protocols can be configured in two ways:
• Per-VRF parameters are specified in routing contexts, which are selected
with the address-family command.
• A separate OSPF process is started for each VRF.
• Cisco IOS XR Software
- Per-VRF parameters are specified in the routing contexts.
- A separate OSPF process can also be configured for each VRF, but using
multiple instances of OSPF will use more router resources.
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-4
Router(config)#
router bgp as-number
Cisco IOS address-family ipv4 vrf vrf-name
and IOS XE ... Non-BGP redistribution ...
RP/0/RSP0/CPU0:Router(config)#
router bgp as-number
Cisco IOS XR vrf vrf-name
address-family ipv4 unicast
... Non-BGP redistribution ...
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-5
Router(config)#
ip route vrf vrf-name prefix mask [next-hop-address]
[interface interface-number]
• This command configures per-VRF static routes.
• The route is entered in the VRF table.
• You must specify a next-hop IP address if you are not using a
point-to-point interface.
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-6
RP/0/RSP0/CPU0:Router(config)#
router static
vrf vrf-name
address-family ipv4 unicast
prefix mask [next-hop-address] [interface interface-number]
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-7
MPLS VPN Backbone
AS 64500
CE-A1 CE-A2
Cisco IOS and Cisco IOS
IOS XE XR
CE-B1 CE-B2
PE-X PE-Y
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-8
• A routing context is configured for each VRF running RIP.
• RIP parameters have to be specified in the VRF.
• Some parameters configured in the RIP process are propagated to
routing contexts (for example, RIP version).
• Only RIPv2 is supported.
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-9
Router(config)#
router rip
Cisco IOS version 2
and IOS XE address-family ipv4 vrf vrf-name
redistribute bgp as-number metric transparent
Router(config)#
router rip
Cisco IOS XR vrf vrf-name
redistribute bgp as-number
default-metric number-value
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-10
MPLS VPN Backbone
CE-A1 AS 64500 CE-A2
Cisco IOS and Cisco IOS
IOS XE XR
CE-B1 CE-B2
PE-X PE-Y
router rip
router rip
vrf Customer_A
version 2
interface GigabitEthernet0/0/0/0
address-family ipv4 vrf Customer_A
!
redistribute bgp 64500 metric transparent
redistribute bgp 64500
network 10.0.0.0
default-metric 5
no auto-summary
!
!
router bgp 64500
router bgp 64500
vrf Customer_A
address-family ipv4 vrf Customer_A
rd 64500:1
redistribute rip
address-family ipv4 unicast
no auto-summary
redistribute rip
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-11
• Provides EIGRP with the capability to redistribute routes through a VPN
cloud.
• EIGRP extended community attributes are used to define EIGRP routes
and preserve internal metrics.
• Supports SOO capabilities to filter VPN traffic.
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-12
Router(config)#
router eigrp autonomous-system-number
Cisco IOS address-family ipv4 vrf vrf-name
and IOS XE autonomous-system as-number
redistribute bgp as-number metric metric-value
Router(config)#
router eigrp autonomous-system-number
vrf vrf-name
Cisco IOS address-family ipv4
XR autonomous-system as-number
redistribute bgp as-number metric metric-value
CE-B1 CE-B2
PE-X PE-Y
router eigrp 1
router eigrp 1 vrf Customer_A
address-family ipv4 vrf Customer_A [...] address-family ipv4
[...] autonomous-system 1 default-metric 10000 100 255 1 1500
network 10.0.0.0 255.255.255.0 autonomous-system 1
redistribute bgp 64500 metric 10000 100 redistribute bgp 64500
255 1 1500 interface GigabitEthernet0/0/0/0
no auto-summary !
! router bgp 64500
router bgp 64500 vrf Customer_A
address-family ipv4 vrf Customer_A rd 64500:1
redistribute eigrp 1 metric 1 address-family ipv4 unicast
redistribute eigrp 1
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-14
2
10.1.2.0/24
Site B
Site A P-Network EIGRP 101
EIGRP 101 AS 64500
10.1.2.0/24
CE-EIGRP-A3
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-15
2
10.1.2.0/24
Site B
Site A P-Network EIGRP 101
EIGRP 101 AS 64500
10.1.2.0/24
CE-EIGRP-A3
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-16
Cisco IOS and IOS XE Cisco IOS XR
• Displays the list of all VRFs configured in the router
show ip vrf show vrf all
• Displays detailed VRF configuration
show ip vrf detail show vrf all detail
RP/0/RSP0/CPU0:PE3# show vrf all detail
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-18
Cisco IOS and IOS XE Cisco IOS XR
• Displays configured BGP neighbors and the protocols negotiated
with these neighbors
show ip bgp neighbors show bgp neighbors
Precedence: internet
Neighbor capabilities:
Route refresh: advertised and received
4-byte AS: advertised and received
Address family VPNv4 Unicast: advertised and received
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-19
Cisco IOS and IOS XE Cisco IOS XR
• Displays the whole VPNv4 table
show ip bgp vpnv4 all show bgp vpnv4 unicast
• Displays only BGP parameters associated with the specified VRF
show ip bgp vpnv4 vrf vrf -name show bgp vpnv4 unicast vrf vrf -name
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-20
Cisco IOS and IOS XE Cisco IOS XR
• Displays per-VRF Cisco Express Forwarding table
show ip cef vrf vrf-name show cef vrf vrf-name
• Displays details of an individual Cisco Express Forwarding entry,
including label stack
show ip cef vrf vrf-name show cef vrf vrf-name ip-
ip-prefix detail prefix detail
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-21
• Performs PE-CE Telnet through specified VRF
telnet vrf vrf-name ip-address
• These commands are the same in Cisco IOS , IOS XE, and IOS XR
Software.
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-22
• All routing protocols that support per-VRF routing can be used for route
exchange between the PE and CE.
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-23
© 2012 Cisco and/or its affiliates. All rights reserved. SPEDGE v1.0—2-24