carlosmscabral | 6d3dd60 | 2013-03-23 11:12:34 -0300 | [diff] [blame] | 1 | |
| 2 | hostname parc |
| 3 | password pwd |
| 4 | enable password pwd |
| 5 | !log file /var/log/quagga/ospfd-s1.log |
| 6 | log file ospfd.log |
| 7 | ! |
| 8 | ! |
| 9 | ! |
| 10 | interface parc-eth0 |
| 11 | interface parc-eth1 |
| 12 | interface parc-eth2 |
| 13 | interface parc-eth3 |
| 14 | ! |
| 15 | ! |
| 16 | !access-list ospfn permit 10.0.0.0/8 |
| 17 | !access-list ospfn deny any |
| 18 | ! |
| 19 | router ospf |
| 20 | ospf router-id 0.0.0.4 |
| 21 | redistribute connected |
| 22 | distribute-list ospfn out connected |
| 23 | network 1.0.0.52/30 area 0 |
| 24 | network 1.0.0.48/30 area 0 |
| 25 | network 1.0.0.12/30 area 0 |
| 26 | network 1.0.0.56/30 area 0 |
| 27 | capability opaque |
| 28 | ! |
| 29 | line vty |
| 30 | ! |
| 31 | !end of configuration file here |