diff options
author | Christian Breunig <christian@breunig.cc> | 2024-12-12 20:57:29 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-12-16 22:24:50 +0100 |
commit | d58e7ace7075e24c64cfe5e56ffcaad1688446e9 (patch) | |
tree | 038ca93da2bac49373790c74fb4145adaba19baa /smoketest/config-tests | |
parent | a8da54f50df5d60b18a8cdf0ea63c71f82faf14e (diff) | |
download | vyos-1x-d58e7ace7075e24c64cfe5e56ffcaad1688446e9.tar.gz vyos-1x-d58e7ace7075e24c64cfe5e56ffcaad1688446e9.zip |
multicast: T6746: migrate CLI to to mimic unicast IPv4 routes syntax
Consolidate "multicast interface-route" and "multicast route" under common
"mroute <x.x.x.x/y>" CLI node.
Diffstat (limited to 'smoketest/config-tests')
-rw-r--r-- | smoketest/config-tests/static-route-basic | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/config-tests/static-route-basic b/smoketest/config-tests/static-route-basic index 4416e6b19..d2d33d043 100644 --- a/smoketest/config-tests/static-route-basic +++ b/smoketest/config-tests/static-route-basic @@ -3,6 +3,8 @@ set interfaces ethernet eth0 speed 'auto' set interfaces ethernet eth0 vif 203 address '172.18.203.10/24' set interfaces ethernet eth1 duplex 'auto' set interfaces ethernet eth1 speed 'auto' +set protocols static mroute 224.1.0.0/24 interface eth0.203 distance '10' +set protocols static mroute 224.2.0.0/24 next-hop 172.18.203.254 distance '20' set protocols static route 10.0.0.0/8 blackhole distance '200' set protocols static route 10.0.0.0/8 blackhole tag '333' set protocols static route 10.0.0.0/8 next-hop 192.0.2.140 bfd multi-hop source-address '192.0.2.10' |