diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-12 19:46:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 19:46:46 +0200 |
commit | a129b7239426c45e20ba3297195b51afe4399786 (patch) | |
tree | bcd0262e71f479e4080383f9371f76fd19af49d9 /docs/configuration/vrf/index.rst | |
parent | 830fe685961ce4a47656a3d57d84ce49375336d2 (diff) | |
download | vyos-documentation-a129b7239426c45e20ba3297195b51afe4399786.tar.gz vyos-documentation-a129b7239426c45e20ba3297195b51afe4399786.zip |
vrf: remove superfluous defaul config commands from example
Diffstat (limited to 'docs/configuration/vrf/index.rst')
-rw-r--r-- | docs/configuration/vrf/index.rst | 13 |
1 files changed, 5 insertions, 8 deletions
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' |