Technical Documentation

Example: Applying Export and Import Policies to BGP Peer Groups

For three BGP peer groups, apply various export and import filters.

[edit]protocols {bgp {group 1 {type external;peer-as 47;export local-customers;import [ martian-filter long-prefix-filter as47-filter ];neighbor 192.168.1.4;neighbor 192.168.1.5;}group 2 {type external;peer-as 42;export local-customers;import [ martian-filter long-prefix-filter as42-filter ];neighbor 192.168.1.4;neighbor 192.168.1.5;}group 3 {type internal;export local-customers;neighbor 10.1.1.1;}}}

Published: 2010-04-15