From db919fe2240ff6dd658688027b122a98bc7cce19 Mon Sep 17 00:00:00 2001 From: Fernando Fernandez Mancera Date: Wed, 29 May 2024 11:10:43 +0200 Subject: [PATCH] examples: clarify how to drop a configured route Signed-off-by: Fernando Fernandez Mancera --- examples.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/examples.md b/examples.md index 15b590d..a29de93 100644 --- a/examples.md +++ b/examples.md @@ -320,6 +320,20 @@ routes: table-id: 254 ``` +For dropping a configured route, it must be marked as absent. + +```yaml +--- +routes: + config: + - destination: 198.51.100.0/24 + metric: 150 + next-hop-address: 192.0.2.1 + next-hop-interface: eth1 + table-id: 254 + state: absent +``` + ## Route Rule ```yaml