/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.46 2007/03/12 10:16:05 atanu Exp $ */ interfaces { restore-original-config-on-shutdown: false interface eth0 { description: "data interface" disable: false /*default-system-config*/ vif eth0 { disable: false address 10.100.14.2 { prefix-length: 24 broadcast: 10.100.14.255 disable: false } } } interface eth1 { description: "data interface" disable: false /*default-system-config*/ vif eth0 { disable: false address 10.100.15.2 { prefix-length: 24 broadcast: 10.100.15.255 disable: false } } } } fea { unicast-forwarding4 { disable: false forwarding-entries { retain-on-startup: false retain-on-shutdown: false } } } /* OSPF configuration for ETH0 */ protocols { ospf4 { router-id: 10.100.15.2 /* export: "static" */ traceoptions { flag { all { disable: false } } } area 0.0.0.0 { interface eth0 { /* link-type: "broadcast" */ vif eth0 { address 10.100.14.2 { priority: 1 hello-interval: 10 /* router-dead-interval: 40 */ /* interface-cost: 1 */ /* retransmit-interval: 5 */ /* transit-delay: 1 */ /* authentication { simple-password: "password"; md5 @: u32 { password: "password"; start-time: "2006-01-01.12:00" end-time: "2007-01-01.12:00" max-time-drift: 3600 } } */ /* passive: false */ /* disable: false */ } } } } } } /* BGP configuration for ETH1 */ protocols { bgp { bgp-id: 10.100.15.2 local-as: 1234 peer 10.100.15.1 { local-ip: 10.100.15.1 as: 5678 next-hop: 10.100.15.1 holdtime: 120 /* IPv4 unicast is enabled by default */ ipv4-unicast: true /* Optionally enable other AFI/SAFI combinations ipv4-multicast: true ipv6-unicast: true ipv6-multicast: true */ } } } plumbing { mfea4 { disable: false interface eth0 { vif eth0 { disable: false } } interface register_vif { vif register_vif { /* Note: this vif should be always enabled */ disable: false } } traceoptions { flag all { disable: false } } } } /* * Note: fib2mrib is needed for multicast only if the unicast protocols * don't populate the MRIB with multicast-specific routes. */ protocols { fib2mrib { disable: false } }