policy

From: Mark M. Forest (milo279@yahoo.com)
Date: Sun Nov 11 2001 - 23:20:35 EST


Folks...here is another strange one...
I want to redistribute direct interfaces into BGP.
I use the following policy:

policy-statement direct {
    from protocol direct;
    then accept;
}

This works fine, except I am sending loopback addresses with this. My
loopback address is 1.1.1.1/32 and I want to filter it and send the
rest...so I modified it to look like this:

policy-statement direct {
    from {
        protocol direct;
        route-filter 1.1.1.1/32 exact reject;
    }
    then accept;
}

When I do this, nothing comes through. So I do the inverse:

policy-statement direct {
    from {
        protocol direct;
        route-filter 1.1.1.1/32 exact accept;
    }
    then reject;
}
 and I end up sending 1.1.1.1/32 and rejecting all the rest. To me it seems
that the route-filter exact accept then reject should have worked.

TIA for you replys...you all have been great!!!

Milo

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:37 EDT