summaryrefslogtreecommitdiff
path: root/docs/configexamples/dhcp-relay-through-gre-bridge.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-05 22:53:53 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-05 22:54:22 +0100
commit0ae01b4a1c6e6376b2db498618c65801a809e826 (patch)
treeb2dbe35025eed7b4e85d2b64b083e703ba0ed948 /docs/configexamples/dhcp-relay-through-gre-bridge.rst
parent0fa792f9365cc10c593bb672c32fff30bdbe437d (diff)
downloadvyos-documentation-0ae01b4a1c6e6376b2db498618c65801a809e826.tar.gz
vyos-documentation-0ae01b4a1c6e6376b2db498618c65801a809e826.zip
vrf: static: T2450: adjust to new CLI syntax
Diffstat (limited to 'docs/configexamples/dhcp-relay-through-gre-bridge.rst')
-rw-r--r--docs/configexamples/dhcp-relay-through-gre-bridge.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configexamples/dhcp-relay-through-gre-bridge.rst b/docs/configexamples/dhcp-relay-through-gre-bridge.rst
index 0db5fa0a..afa4d854 100644
--- a/docs/configexamples/dhcp-relay-through-gre-bridge.rst
+++ b/docs/configexamples/dhcp-relay-through-gre-bridge.rst
@@ -29,7 +29,7 @@ DHCP Server
set protocols ospf area 0 network '192.168.3.0/24'
set protocols ospf area 0 network '10.0.2.0/24'
set protocols ospf parameters router-id '192.168.3.3'
- set protocols static interface-route 10.0.1.2/32 next-hop-interface tun100
+ set protocols static route 10.0.1.2/32 interface tun100
set service dhcp-server shared-network-name asdf authoritative
set service dhcp-server shared-network-name asdf subnet 192.168.3.0/24 range 0 start '192.168.3.30'
set service dhcp-server shared-network-name asdf subnet 192.168.3.0/24 range 0 stop '192.168.3.40'
@@ -70,7 +70,7 @@ DHCP Relay
set protocols ospf area 0 network '192.168.0.0/24'
set protocols ospf area 0 network '10.100.100.0/24'
set protocols ospf parameters router-id '10.100.100.1'
- set protocols static interface-route 192.168.3.3/32 next-hop-interface tun100
+ set protocols static route 192.168.3.3/32 interface tun100
set service dhcp-relay interface 'eth0'
set service dhcp-relay interface 'tun100'
set service dhcp-relay server '192.168.3.3'