[AusNOG] Issue with Route-Maps on VYOS

daniel at glovine.com.au daniel at glovine.com.au
Fri Nov 21 20:33:42 EST 2014


Gday Guys

 

Im having an issue on our peering router where we are using route-map and a
few other bits to take prefixes from our downstream customers and advertise
them over to MegaPort IX,

 

However it seems only our prefixes are going over to the IX and none of
around 9 customer prefixes are,

 

Please find attached a copy of the policys from the current running config, 

 

If you do spot anything ive misplaced, please let me know :D

 

 

policy {

    as-path-list peering-export {

        rule 1 {

            action permit

            regex ^$

        }

        rule 2 {

            action permit

            regex ^132839$

        }

        rule 3 {

            action permit

            regex "^132839 132869$"

        }

        rule 4 {

            action permit

            regex "^132839 59256$"

        }

        rule 5 {

            action permit

            regex "^132839 133196$"

        }

    }

    community-list 10 {

        rule 1 {

            action permit

            regex 132839:58941

        }

        rule 2 {

            action permit

            regex 132869:58941

        }

    }

    community-list 20 {

        rule 1 {

            action permit

            regex 132839:17559

        }

        rule 2 {

            action permit

            regex 132869:17559

        }

    }

    community-list 30 {

        rule 1 {

            action permit

            regex 132839:133547

        }

        rule 2 {

            action permit

            regex 132869:133547

        }

    }

    community-list 40 {        rule 1 {

            action permit

            regex 132839:13335

        }

        rule 2 {

            action permit

            regex 132869:13335

        }

    }    prefix-list MegaPort {

        rule 1 {

            action permit

            le 24

            prefix 0.0.0.0/0

        }

    }    route-map MegaPort {

        rule 1 {

            action permit

            match {

                ip {

                    address {

                        prefix-list MegaPort

                    }

                }

            }

            set {

                community 132839:58941

            }

        }

        rule 2 {

            action permit

            match {

                ipv6 {

                    address {

                        prefix-list MegaPort-V6

                    }

                }

            }

        }

    }

    route-map internal-out {

        rule 1 {

            action permit

            match {

                community {

                    community-list 10

                }

            }

        }

        rule 2 {

            action permit

            match {

                community {

                    community-list 20

                }

            }

        }

        rule 3 {

            action permit

            match {

                community {

                    community-list 30

                }

            }

        }

        rule 4 {

            action permit

            match {

                community {

                    community-list 40

                }

            }

        }

        rule 999 {

            action deny

        }

    }

    route-map peering-out {

        rule 1 {

            action permit

            match {

                as-path peering-export

            }

        }

    }

}

protocols {

    bgp 132839 {

        neighbor 103.26.68.1 {

            remote-as 58941

            route-map {

                export peering-out

                import MegaPort

            }

            soft-reconfiguration {

                inbound

            }

        }

        neighbor 103.26.68.2 {

            remote-as 58941

            route-map {

                export peering-out

                import MegaPort

            }

            soft-reconfiguration {

                inbound

            }

        }

 

 

Appreciate any assistance with this that can be given

 

Daniel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ausnog.net/pipermail/ausnog/attachments/20141121/925c8e7e/attachment.html>


More information about the AusNOG mailing list