[Xorp-users] What exactly wrong in policy-statement bgp_out / bgp_in? This settings work fine with OSPF . . . Fw: XORP on Windows 8 -- OSPF and BGP

Victor Miasnikov vvm at tut.by
Tue Mar 20 04:27:30 PDT 2012


Hi!

> what exactly wrong in
> 
>                term 10 {
>                term 20 {
>                term 30 {
> 
> of
> 
> 
>        policy-statement bgp_out
>        policy-statement bgp_in
> 
> 
> ?

 This policy-statement bgp_out  work Ok:
==
 . . .
policy {
        policy-statement bgp_out {
/* { */
                term 10 {
                    from {
                        protocol: "connected"
                        network4-list: "Default_Route"
                    }
                    then {
                        reject {
                        }
                    }
                }
                term 20 {
                    from {
                        protocol: "connected"
                        network4-list: "No_Advertise"
                    }
                    then {
                        reject {
                        }
                    }
                }
                term 30 {
                    from {
                        protocol: "connected"
                    prefix-length4 < 32..32
                    }
                    then {
                        accept {
                        }
                    }
                }
/* } */
                term 98 {
                    from {
                            protocol: "static"
                    }
                    then {
                            accept
                    }
                }
                term 99 {
                    from {
                            protocol: "bgp"
                    }
                    then {
                            accept
                    }
                }
                then {
                    reject {
                    }
                }

        }
 . . .
==

How about policy-statement bgp_in ?

Best regards, Victor Miasnikov
Blog:  http://vvm.blog.tut.by/



More information about the Xorp-users mailing list