A gated OSPF / BGP exterior Router Configuration


  # define our AS (autonomous system)

  # number for BGP

  autonomoussystem 249;

  # defines the OSPF router id

  routerid 172.16.1.5;

  # disable RIP

  rip no;

  # enable BGP

  bgp yes {

   group type external peeras 164 {

   peer 26.6.0.103;

   peer 26.20.0.72;

   };

  };

  #

  # enable OSPF; subnet one(1) is the

  # backbone area;

  # use password authentication

  ospf yes {

    backbone {

    auth type simple;

    interface 172.16.1.5 {

    priority 10;

    authkey "UTrustME";

    };

   };

  };


  export proto bgp as 164 {

    proto direct;

    proto ospf;

  };


  # bgp route from AS number 164

  # to our OSPF area

     export proto OSP face type 2 {

     proto bgp as 164 {

     all;

   };

  };