[AusNOG] Issue with Route-Maps on VYOS

David Hill dhill at hostcentral.net.au
Sat Nov 22 00:33:20 EST 2014


Hi Daniel,

Have you considered reaching out to the developers/maintainers of VyOS? It looks like they’re on Freenode IRC #vyos

> On 21 Nov 2014, at 8:33 pm, daniel at glovine.com.au wrote:
> 
> 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
> _______________________________________________
> AusNOG mailing list
> AusNOG at lists.ausnog.net
> http://lists.ausnog.net/mailman/listinfo/ausnog

Kind Regards,

David Hill
------------------------------------------------
* Hostcentral - Since 2002        
* http://www.hostcentral.net.au
* ABN: 84 034 347 523           
* Tel: 1300 786 400 / 03 8648 6658 
* Fax: 03 8648 6659                
------------------------------------------------



More information about the AusNOG mailing list