Cannot use "Distribute-List" on OSPF Routing Context (OSPF VRF

From: Warakorn Sae-Tang <kornrono_at_gmail.com>
Date: Fri, 7 Aug 2009 12:17:55 +0700

Dear all,

First of all, I want to test "Sham-Link" feature. After finish I want to
filter "O E2" of PE Loopback Interface before sending update to CE Router.
But I've found this problem. Now, I test MPLS-VPN lab with Cisco 7600 router
(IOS Version 12.2(33)SRC3).

this is my sample config on OSPF vrf "12"

!
router ospf 1 vrf 12
 log-adjacency-changes
 redistribute bgp 65001 subnets
 network 172.16.111.1 0.0.0.0 area 0
!

I try to use "distribute-list" command on OSPF, but it show like this:

(config-router)#distribute-list 1 out gigabitEthernet 5/2
% Interface not allowed with OUT for OSPF
(config-router)#

But it success on other Routing Context such as RIPv2 and BGP

RIPv2
!
router rip
 version 2
 no auto-summary
 !
 address-family ipv4 vrf 12
  redistribute bgp 65001
  network 172.16.0.0
  distribute-list 1 out GigabitEthernet5/2
  no auto-summary
 exit-address-family
!

BGP
!
router bgp 65001
!
 address-family ipv4 vrf 12
  no synchronization
  network 111.111.111.111 mask 255.255.255.255
  distribute-list 1 out GigabitEthernet5/2
 exit-address-family
!

I don't know this is IOS problem or my missing concept of distribute-list on
OSPF-VRF.

Please suggest me.

Best Regards,
Warakorn Sae-Tang

Blogs and organic groups at http://www.ccie.net
Received on Fri Aug 07 2009 - 12:17:55 ART

This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 05:43:56 ART