I would like to be able to specify which BGP routes get exported,
specifically. From what I understand, policies are the way to go about
this.

If someone could take the liberty to explain exactly what the statement
below achieves I would be greatful:

    policy-statement "Next_Hop_Self" {
        term 1 {
            from {
                protocol: "bgp"
            }
            then {
                nexthop4: ZZZ.ZZZ.ZZZ.ZZZ
            }
        }
    }

    bgp-id: XXX.XXX.XXX.XXX
    local-as: 1234
    export: "Next_Hop_Self"
    peer "ZZZ.ZZZ.ZZZ.ZZZ" {
        local-ip: XXX.XXX.XXX.XXX
        as: 4321
        next-hop: ZZZ.ZZZ.ZZZ.ZZZ
    }

What exactly is this configuration achieving and how would I throw in
this mix to specify exactly what routes to export to the peer
ZZZ.ZZZ.ZZZ.ZZZ? I wouldn't want to export my default gateway; I could
only imagine what kind of havoc that would create.

I have read the configuration guide on policies, but I am still
confused.

Please help build my confidence in Vyatta routing policies,

Shane McKinley
Habersham EMC
_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to