BGP Neighbors With Export Policy
Engro BGP config router route-map edit "higher-local" config rule edit 10 set set-local-preference 120 next end next edit "lower-local" config rule edit 10 set set-local-preference 80 next end next edit "higher-med" config rule edit 10 set set-metric 40 next end next edit "lower-med" config rule edit 10 set set-metric 20 next end next end config router bgp set as [[Customer AS]] set router-id [[Router ID]] config neighbor edit "[[Primary Neighbor IP Odd]]" set soft-reconfiguration enable set remote-as 23966 set route-map-in "higher-local" set route-map-out "lower-med" set password ldn@64602 next edit "[[Secondary Neighbor IP Odd]]" set soft-reconfiguration enable set remote-as 23966 set route-map-in "lower-local" set route-map-out "higher-med" set password ldn@[[Customer AS]] next end config network edit 1 set prefix [[Customer First Advertised IP]] [[Subnet1]] next edit 5 set prefix [[Customer Second Advertised IP]] [[Subnet2]] next end config firewall policy edit 1 set name "Permit-all" set uuid a3a60716-661d-51eb-8ca0-558f91da0636 set srcintf "any" set dstintf "any" set srcaddr "all" set dstaddr "all" set action accept set schedule "always" set service "ALL" set logtraffic disable next



Customer AS:
Router ID:
Primary Neighbor IP Odd:
Secondary Neighbor IP Odd:
Customer First Advertised IP:
Subnet1:
Customer Second Advertised IP:
Subnet2:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: