#
# RPS test 15
#
# Available traceoptions:
#	update internal external update route idrp kernel isis;
traceoptions "/var/tmp/gated.log" replace all;


#  Begin BGP section
#
# our AS number
autonomoussystem 121 ;

routerid 192.168.10.112 ;

#
bgp on {
	traceoptions packets;

	# BGP peers
	#
	#    group type <internal/external/idrp/routing/test> peeras <peer AS>
	#    {
	#         allow { <allow list> }
	#         peer <host IP>
	#         <options> ...
	#    }

	group type  external peeras 101
	{
		allow {
			
		};

		# peer gbsdi 
		peer 192.168.10.243;
	};

};
# End BGP section
ospf yes {
	traceoptions all;
	exportlimit 3;
	exportinterval 5;
        backbone {
                interface 192.168.11.112 
                cost 1 {
                        retransmitinterval 5;
                        transitdelay 1;
                        priority 5;
                        hellointerval 10;
                        routerdeadinterval 40;
                };
        };
        area 0.0.0.2 {
                interface 192.168.12.112 
                cost 1 {
                        retransmitinterval 5;
                        transitdelay 1;
                        priority 5;
                        hellointerval 10;
                        routerdeadinterval 40;
                };

        };


};




# Turn off unused protocols
#bgp no;
#egp no;
#idrp no;
#ospf no;
#rip no;

# Put in the static routes template
#
# local (static) routes
#
static {
	default	gw 192.168.11.1 retain;
	223.1	gw	192.168.11.254;
	223.2	gw	192.168.11.254;
	223.3	gw	192.168.11.254;
	223.120	gw	192.168.10.254;
};



import proto bgp autonomoussystem 101
{
	all;
};

import proto bgp autonomoussystem 121
{
	all;
};

import proto ospfase {
      ALL ;
};


export proto bgp autonomoussystem 101
{
        proto bgp autonomoussystem 121 {
                all;
        };
        proto bgp autonomoussystem 101 {
                all;
        };

        proto static {
                all;
        };
};

export proto ospfase type 1  {
        proto ospfase {
			all
			metric 1;
		};

        proto bgp autonomoussystem 101 {
                all
		metric 1;
				};
		proto static {
			all;
				};

        proto bgp autonomoussystem 121 {
                all
		metric 1;

        };

   proto direct  {
        ALL
        metric 1;   };
};



# end of file
