2013年7月24日星期三

Still on MPLS VPN

Question:

I am trying simulate WS-C3560X-48P-S a simple VPN network.  Find below, the contents of one of the vrf tables.  My challenge here is that I am unable to redistribute the BGP routes in the VPN table back into the CE's routing table.  Command such as:

PE1(config-router)# redistribute bgp xxx route-map yyy has not had any effect.   Please, give advice on how to implement this.  Thanks.

*************************************************************************************************************

PE1#show ip bgp vpnv4 vrf orange
!
!
   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 10000:10 (default for vrf orange)
*>i10.0.0.4/32      10.0.0.2            156160    100      0 ?
*> 10.0.0.6/32      10.255.1.2          156160         32768 ?
*> 10.255.1.0/30    0.0.0.0                  0         32768 ?
*> 10.255.2.0/24    10.255.1.2           30720         32768 ?
*>i10.255.3.0/30    10.0.0.2                 0    100      0 ?
*>i10.255.4.0/24    10.0.0.2             30720    100      0 ?
!
PE1#

**********************************************************************************************************
PE1#show ip route vrf orange
!
!
     10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks
D       10.0.0.6/32 [90/156160] via 10.255.1.2, 00:15:12, FastEthernet0/1
B       10.0.0.4/32 [200/156160] via 10.0.0.2, 00:14:20
B       10.255.4.0/24 [200/30720] via 10.0.0.2, 00:14:20
C       10.255.1.0/30 is directly connected, FastEthernet0/1
B       10.255.3.0/30 [200/0] via 10.0.0.2, 00:14:20
D       10.255.2.0/24 [90/30720] via 10.255.1.2, 00:15:12,

Answer:

"PE1(config-router)# redistribute bgp xxx route-map yyy has not had any effect"

Did you use this command under eigrp address family? Because from config-router it looks like you did not. Also add metric statement.

So try:

router eigrp 10000
address-family ipv4 vrf orange

redistribute bgp 50000 metric 1500 100 255 1 1500 WS-C3560X-48P-S Price

没有评论:

发表评论