-
Notifications
You must be signed in to change notification settings - Fork 0
/
ospf6.conf
44 lines (40 loc) · 835 Bytes
/
ospf6.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
########################################################
#
# Cost reference:
# Inter metro GRE tunnel: 10000
# Inter metro 10G: 10
# Inter metro 1G: 100
# Inter metro 100M: 1000
# Intra metro 10G: 5
# Intr metro 1G: 50
# Intra metro 100M: 500
#
# OSPF hello settings:
# hello interval: 5s
# dead interval: 20s
# type: broadcast
#
########################################################
filter redist_ospf {
if ( source = RTS_DEVICE ) then {
ospf_metric2 = 20;
accept;
}
reject;
}
protocol ospf IGP {
import all;
export filter redist_ospf;
area 0.0.0.0 {
interface "lo" {
stub yes;
};
# 10GE X-Link direct
interface "bond0" {
type pointopoint;
cost 5;
hello 5;
dead 20;
};
};
}