On Mon, Apr 02, 2012 at 03:26:51PM +1200, Michal Ludvig wrote:
>     export filter {
>             if source = RTS_OSPF then {
>                 bgp_path.prepend(64526);
>             }
>             [...]
>     }
> But that didn't make any difference.
>

Just quick answer:

> Now I've got these questions:
> 1. How do I alter MED for a specific route on one of the routers?

     import filter {
             if net = 1.2.3.4/24 then {
                 bgp_med = xxx;
             }
             [...]
     }

> 2. How can I get more details about the exported routes? Like the MED,  
> BGP path, etc? Just to make sure my filters do what I want them to do.

Add 'all' to the show route command:

show route all
show route 1.2.3.4/24 all

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: [email protected])
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."

Attachment: signature.asc
Description: Digital signature

Reply via email to