Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 1 | ! |
| 2 | ! Zebra configuration saved from vty |
| 3 | ! 2007/04/01 17:46:48 |
| 4 | ! |
| 5 | password foo |
| 6 | log stdout |
| 7 | service advanced-vty |
| 8 | ! |
| 9 | debug zebra rib |
| 10 | debug zebra kernel |
| 11 | ! |
| 12 | interface eth0 |
| 13 | ip address 10.0.0.1/24 |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 14 | ipv6 address 1::0:1/64 |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 15 | state up |
| 16 | ! |
| 17 | interface eth1 |
| 18 | ip address 10.0.1.1/24 |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 19 | ipv6 address 1::1:1/64 |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 20 | ! |
| 21 | interface eth2 |
| 22 | ip address 10.0.2.1/24 |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 23 | ipv6 address 1::2:1/64 |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 24 | ! |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 25 | ! Unnumbered |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 26 | interface foo1 |
| 27 | ip address 192.168.1.1/32 |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 28 | ipv6 address 2::1:1/128 |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 29 | ! |
| 30 | interface foo0 |
| 31 | ip address 192.168.1.1/32 |
| 32 | ip address 192.168.1.1/24 label foo |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 33 | ipv6 address 2::1:1/128 |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 34 | state up |
| 35 | ! |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 36 | |
| 37 | ! statics that should be subsumed by connected routes, according to interface |
| 38 | ! state |
| 39 | ip route 10.0.0.0/24 10.0.1.254 |
| 40 | ip route 10.0.1.0/24 10.0.2.254 |
| 41 | ip route 10.0.2.0/24 10.0.0.254 |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 42 | ipv6 route 1::0:0/64 1::1:f |
| 43 | ipv6 route 1::1:0/64 1::2:f |
| 44 | ipv6 route 1::2:0/64 1::0:f |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 45 | |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 46 | ! null route |
| 47 | ip route 10.1.0.1/32 null0 |
| 48 | ipv6 route 100::1:1/128 null0 |
| 49 | |
| 50 | ! normalish routes |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 51 | ip route 1.1.2.0/24 10.0.0.2 |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 52 | ipv6 route 80::/64 1::0:e |
| 53 | |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 54 | ! different admin distances |
| 55 | ip route 1.1.0.2/32 10.0.0.3 10 |
| 56 | ip route 1.1.0.2/32 10.0.0.4 20 |
| 57 | ip route 1.1.0.2/32 10.0.1.3 30 |
| 58 | |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 59 | ipv6 route 90::1/128 1::0:a 10 |
| 60 | ipv6 route 90::1/128 1::0:b 20 |
| 61 | ipv6 route 90::1/128 1::1:c 30 |
| 62 | |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 63 | ! multiple-nexthop + distance |
| 64 | ip route 1.1.0.2/32 10.0.0.5 10 |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 65 | ipv6 route 90::1/128 1::0:d 10 |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 66 | |
| 67 | ! a recursive route, potentially. |
| 68 | ip route 1.1.3.0/24 10.0.0.2 |
| 69 | ! double recursive, potentially |
| 70 | ip route 1.1.0.1/32 1.1.3.1 |
| 71 | ! |
Paul Jakma | 7a6eec5 | 2014-10-09 10:51:41 +0100 | [diff] [blame] | 72 | ip route 1.1.1.0/24 1.1.2.2 |
Paul Jakma | fab7f89 | 2009-08-06 12:12:12 +0100 | [diff] [blame] | 73 | |
| 74 | line vty |
| 75 | exec-timeout 0 0 |
| 76 | ! |