[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring Locally Defined Static Routes on the Exchange Peer 2 Router

The Exchange Peer 2 router exchanges all routes with all BGP peers. The outbound-routes policy for Exchange Peer 2 advertises locally defined static routes using BGP.

[edit]
protocols {
    bgp {
        group Peers {
            type external;
            export outbound-routes;
            neighbor 10.222.4.1 {
                peer-as 11111;
            }
            neighbor 10.222.44.2 {
                peer-as 8000;
            }
            neighbor 10.222.46.2 {
                peer-as 1000;
            }
        }
    }
}
policy-options {
    policy-statement outbound-routes {                                                                 # advertise the simulated Internet routes 
        term statics {                                                            #to all BGP peers
            from protocol static;
            then accept;
        }
    }
}

[Contents] [Prev] [Next] [Index] [Report an Error]