summaryrefslogtreecommitdiff
path: root/docs/appendix/examples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/appendix/examples')
-rw-r--r--docs/appendix/examples/ospf-unnumbered.rxt7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/appendix/examples/ospf-unnumbered.rxt b/docs/appendix/examples/ospf-unnumbered.rxt
index f312a533..0238177e 100644
--- a/docs/appendix/examples/ospf-unnumbered.rxt
+++ b/docs/appendix/examples/ospf-unnumbered.rxt
@@ -14,10 +14,13 @@ Configuration
set interfaces ethernet eth0 address '10.0.0.1/24'
set interfaces ethernet eth1 address '192.168.0.1/32'
+ set interfaces ethernet eth1 ip ospf authentication md5 key-id 1 md5-key 'yourpassword'
set interfaces ethernet eth1 ip ospf network 'point-to-point'
set interfaces ethernet eth2 address '192.168.0.1/32'
+ set interfaces ethernet eth2 ip ospf authentication md5 key-id 1 md5-key 'yourpassword'
set interfaces ethernet eth2 ip ospf network 'point-to-point'
set interfaces loopback lo address '192.168.0.1/32'
+ set protocols ospf area 0.0.0.0 authentication 'md5'
set protocols ospf area 0.0.0.0 network '192.168.0.1/32'
set protocols ospf parameters router-id '192.168.0.1'
set protocols ospf redistribute connected
@@ -28,10 +31,13 @@ Configuration
set interfaces ethernet eth0 address '10.0.0.2/24'
set interfaces ethernet eth1 address '192.168.0.2/32'
+ set interfaces ethernet eth1 ip ospf authentication md5 key-id 1 md5-key 'yourpassword'
set interfaces ethernet eth1 ip ospf network 'point-to-point'
set interfaces ethernet eth2 address '192.168.0.2/32'
+ set interfaces ethernet eth2 ip ospf authentication md5 key-id 1 md5-key 'yourpassword'
set interfaces ethernet eth2 ip ospf network 'point-to-point'
set interfaces loopback lo address '192.168.0.2/32'
+ set protocols ospf area 0.0.0.0 authentication 'md5'
set protocols ospf area 0.0.0.0 network '192.168.0.2/32'
set protocols ospf parameters router-id '192.168.0.2'
set protocols ospf redistribute connected
@@ -117,4 +123,3 @@ Results
* via 192.168.0.1, eth2 onlink, 00:29:03
vyos@vyos:~$
-