From a129b7239426c45e20ba3297195b51afe4399786 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 12 Jul 2021 19:46:46 +0200 Subject: vrf: remove superfluous defaul config commands from example --- docs/configuration/vrf/index.rst | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'docs/configuration/vrf') diff --git a/docs/configuration/vrf/index.rst b/docs/configuration/vrf/index.rst index a2ff74a9..e172dade 100644 --- a/docs/configuration/vrf/index.rst +++ b/docs/configuration/vrf/index.rst @@ -346,28 +346,25 @@ Configuration set interfaces bridge br10 member interface eth3 set interfaces bridge br10 member interface eth4 set interfaces bridge br10 vrf 'red' + set interfaces ethernet eth0 address 'dhcp' set interfaces ethernet eth0 vrf 'mgmt' set interfaces ethernet eth1 address '10.0.0.254/24' set interfaces ethernet eth2 address '10.20.0.254/24' set interfaces ethernet eth2 vrf 'blue' + set protocols static interface-route 10.20.0.0/24 next-hop-interface eth2 next-hop-vrf 'blue' set protocols static interface-route 10.30.0.0/24 next-hop-interface br10 next-hop-vrf 'red' set protocols vrf blue static interface-route 10.0.0.0/24 next-hop-interface eth1 next-hop-vrf 'default' set protocols vrf red static interface-route 10.0.0.0/24 next-hop-interface eth1 next-hop-vrf 'default' + set service ssh disable-host-validation set service ssh vrf 'mgmt' - set system console device ttyS0 speed '9600' + set system domain-name 'vyos.net' set system host-name 'R1' set system name-servers-dhcp 'eth0' - set system ntp server 0.pool.ntp.org - set system ntp server 1.pool.ntp.org - set system ntp server 2.pool.ntp.org - set system ntp vrf 'mgmt' - set system syslog global facility all level 'info' - set system syslog global facility protocols level 'debug' - set system time-zone 'UTC' + set vrf name blue table '3000' set vrf name mgmt table '1000' set vrf name red table '2000' -- cgit v1.2.3