blob: 0df7dc24fdc9d8eb111fa23afd50b3279c12c01b [file] [log] [blame]
Paul Jakmafab7f892009-08-06 12:12:12 +01001!
2! Zebra configuration saved from vty
3! 2007/04/01 17:46:48
4!
5password foo
6log stdout
7service advanced-vty
8!
9debug zebra rib
10debug zebra kernel
11!
12interface eth0
13 ip address 10.0.0.1/24
Paul Jakma7a6eec52014-10-09 10:51:41 +010014 ipv6 address 1::0:1/64
Paul Jakmafab7f892009-08-06 12:12:12 +010015 state up
16!
17interface eth1
18 ip address 10.0.1.1/24
Paul Jakma7a6eec52014-10-09 10:51:41 +010019 ipv6 address 1::1:1/64
Paul Jakmafab7f892009-08-06 12:12:12 +010020!
21interface eth2
22 ip address 10.0.2.1/24
Paul Jakma7a6eec52014-10-09 10:51:41 +010023 ipv6 address 1::2:1/64
Paul Jakmafab7f892009-08-06 12:12:12 +010024!
Paul Jakma7a6eec52014-10-09 10:51:41 +010025! Unnumbered
Paul Jakmafab7f892009-08-06 12:12:12 +010026interface foo1
27 ip address 192.168.1.1/32
Paul Jakma7a6eec52014-10-09 10:51:41 +010028 ipv6 address 2::1:1/128
Paul Jakmafab7f892009-08-06 12:12:12 +010029!
30interface foo0
31 ip address 192.168.1.1/32
32 ip address 192.168.1.1/24 label foo
Paul Jakma7a6eec52014-10-09 10:51:41 +010033 ipv6 address 2::1:1/128
Paul Jakmafab7f892009-08-06 12:12:12 +010034 state up
35!
Paul Jakmafab7f892009-08-06 12:12:12 +010036
37! statics that should be subsumed by connected routes, according to interface
38! state
39ip route 10.0.0.0/24 10.0.1.254
40ip route 10.0.1.0/24 10.0.2.254
41ip route 10.0.2.0/24 10.0.0.254
Paul Jakma7a6eec52014-10-09 10:51:41 +010042ipv6 route 1::0:0/64 1::1:f
43ipv6 route 1::1:0/64 1::2:f
44ipv6 route 1::2:0/64 1::0:f
Paul Jakmafab7f892009-08-06 12:12:12 +010045
Paul Jakma7a6eec52014-10-09 10:51:41 +010046! null route
47ip route 10.1.0.1/32 null0
48ipv6 route 100::1:1/128 null0
49
50! normalish routes
Paul Jakmafab7f892009-08-06 12:12:12 +010051ip route 1.1.2.0/24 10.0.0.2
Paul Jakma7a6eec52014-10-09 10:51:41 +010052ipv6 route 80::/64 1::0:e
53
Paul Jakmafab7f892009-08-06 12:12:12 +010054! different admin distances
55ip route 1.1.0.2/32 10.0.0.3 10
56ip route 1.1.0.2/32 10.0.0.4 20
57ip route 1.1.0.2/32 10.0.1.3 30
58
Paul Jakma7a6eec52014-10-09 10:51:41 +010059ipv6 route 90::1/128 1::0:a 10
60ipv6 route 90::1/128 1::0:b 20
61ipv6 route 90::1/128 1::1:c 30
62
Paul Jakmafab7f892009-08-06 12:12:12 +010063! multiple-nexthop + distance
64ip route 1.1.0.2/32 10.0.0.5 10
Paul Jakma7a6eec52014-10-09 10:51:41 +010065ipv6 route 90::1/128 1::0:d 10
Paul Jakmafab7f892009-08-06 12:12:12 +010066
67! a recursive route, potentially.
68ip route 1.1.3.0/24 10.0.0.2
69! double recursive, potentially
70ip route 1.1.0.1/32 1.1.3.1
71!
Paul Jakma7a6eec52014-10-09 10:51:41 +010072ip route 1.1.1.0/24 1.1.2.2
Paul Jakmafab7f892009-08-06 12:12:12 +010073
74line vty
75 exec-timeout 0 0
76!