Cisco Cisco IOS Software Release 12.2(33)SRE

Page de 40
 
NDE for VRF Interfaces
  How to Configure NDE for VRF Interfaces for an MPLS VPN
6
Cisco IOS Release 12.2(33)SRB
VRF Name as the Source Interface in the NetFlow Cache
For traffic received for an MPLS VPN on an MPLS interface, the source interface for the traffic in the 
NetFlow cache is listed as the VPN name, not the physical interface on which the traffic was received. 
For example, traffic being received on FastEthernet0/0 on PE2 in 
 will be displayed in the 
NetFlow cache on the router as being received over VPN Red, not interface FastEthernet0/0. 
How to Configure NDE for VRF Interfaces for an MPLS VPN
Perform this task to configure the NDE for VRF Interfaces feature on an MPLS VPN. This configuration 
is appropriate for the router named PE1 in 
. Repeat this task on router PE2 but remember to 
change the interface references to the appropriate interfaces for PE2.
Note
This task does not include the commands to configure open shortest path first (OSPF) and border 
gateway protocol (BGP) that are required to activate the MPLS VPN between routers PE1 and PE2. See 
the 
 for the complete 
configurations for all of the devices in the example network in 
Figure 3
Example Network with One MPLS VPN
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip vrf vrf-id
4.
rd route-distinguisher
5.
route-target {import | export | bothroute-target-ext-community 
6.
interface
 
type number
7.
ip address ip-address mask
8.
exit
9.
mpls label protocol {ldp | tdp}
Hosts
Hosts
eBGP or other
routing protocol
Lo0 10.1.1.1/32
Lo0 172.20.1.2/32
Lo0 172.20.1.3/32
Lo0 172.20.1.4/32
Lo0 10.2.2.2/32
CE1
PE1
P1
PE2
CE2
eBGP or other
routing protocol
iBGP peers
OSPF
VRF Red
rd 100:1
rt 100:1
VPN v4 route distribution between PE routers
Performed by multi-protocol BGP
230538
10.1.0.2/24
FE0/0
G5/2
10.1.0.1/24
172.16.1.2/24
FE1/1
FE0/1
172.16.1.1/24
172.16.2.1/24
FE0/0
FE0/0
172.16.2.2/24
10.2.0.1/24
FE0/1
FE0/1
10.2.0.2/24
VRF Red
rd 100:1
rt 100:1