/* Autogenerated by LANforge, do not edit by hand! */ /* For Virtual-Router: Router-0 */ interfaces { interface my_discard { unreachable: true vif my_discard { } } interface "rddVR6" { vif "rddVR6" { address 2.2.2.1 { prefix-length: 24 } } } interface "rddVR8" { vif "rddVR8" { address 5.1.1.1 { prefix-length: 24 } } } interface "rddVR3" { vif "rddVR3" { address 8.1.2.1 { prefix-length: 24 } } } } fea { unicast-forwarding4 { disable: false table-id: 10001 } } policy { policy-statement connected-to-m0 { term export { from { protocol: "connected" } then { metric: 0 } } } policy-statement connected-to-m1 { term export { from { protocol: "connected" } then { metric: 1 } } } policy-statement static-to-m1 { term export { from { protocol: "static" } then { metric: 1 } } } policy-statement accept-static { term export { from { protocol: "static" } then { accept {} } } } policy-statement accept-connected { term export { from { protocol: "connected" } then { accept {} } } } policy-statement accept-ospf4 { term export { from { protocol: "ospf4" } then { accept {} } } } } /* end of policies */ protocols { static { interface-route 0.0.0.0/0 { next-hop-interface: "my_discard" next-hop-vif: "my_discard" } } ospf4 { router-id: 127.1.0.1 area 0.0.0.0 { interface "rddVR6" { vif "rddVR6" { address 2.2.2.1 { interface-cost: 1 } } } interface "rddVR3" { vif "rddVR3" { address 8.1.2.1 { interface-cost: 1 } } } } /* area */ /* traceoptions { flag all { disable: false } } */ } bgp { /* Redistribute connected, static and perhaps other routes */ export: "accept-connected,accept-static,accept-ospf4" bgp-id: 0.0.0.1 local-as: 1 peer 5.1.1.2 { local-ip: 5.1.1.1 /* local-dev: "rddVR8" */ as: 2 next-hop: 5.1.1.1 holdtime: 5 delay-open-time: 5 client: false confederation-member: false ipv4-unicast: true ipv6-unicast: false ipv6-multicast: false ipv6-multicast: false disable: false } } /* end of bgp4 proto */ } /* End of Config File */