summaryrefslogtreecommitdiffstats
path: root/yang/example/ripd.xml
blob: 2feddde2d86b8fc263d8fd751a4fe3bc7f3d1cad (plain)
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
<lib xmlns="http://frrouting.org/yang/interface">
	<interface>
		<name>eth0</name>
		<vrf>default</vrf>
		<description>engineering</description>
		<rip xmlns="http://frrouting.org/yang/ripd">
			<split-horizon>poison-reverse</split-horizon>
			<version-receive>1</version-receive>
			<version-send>1</version-send>
			<v2-broadcast>true</v2-broadcast>
		</rip>
	</interface>
	<interface>
		<name>eth1</name>
		<vrf>default</vrf>
		<description>marketing</description>
	</interface>
</lib>
<ripd xmlns="http://frrouting.org/yang/ripd">
	<instance>
		<vrf>default</vrf>
		<allow-ecmp>true</allow-ecmp>
		<static-route>10.0.1.0/24</static-route>
		<distance>
			<source>
				<prefix>172.16.1.0/24</prefix>
				<distance>25</distance>
			</source>
		</distance>
		<redistribute>
			<protocol>ospf</protocol>
			<metric>3</metric>
		</redistribute>
	</instance>
</ripd>