Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T6871: add missing static route documentation #1566

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 49 additions & 2 deletions docs/configuration/protocols/static.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,47 @@ Interface Routes

set protocols static route6 2001:db8:1000::/36 interface eth0 segments '2001:db8:aaaa::7/2002::4/2002::3/2002::2'

Blackhole
=========

DHCP Interface Routes
=====================

.. cfgcmd:: set protocols static route <subnet> dhcp-interface <interface>

Defines route with DHCP interface supplying next-hop IP address.


Reject Routes
=============

.. cfgcmd:: set protocol static route <subnet> reject

Defines route which emits an ICMP unreachable when matched.

.. cfgcmd:: set protocols static route <subnet> reject distance <distance>

Defines distance for this route, routes with smaller administrative
distance are elected prior to those with a higher distance.

.. cfgcmd:: set protocols static route <subnet> reject tag <tag>

Sets a tag for this route.

.. cfgcmd:: set protocol static route6 <subnet> reject

Defines route which emits an ICMP unreachable when matched.

.. cfgcmd:: set protocols static route6 <subnet> reject distance <distance>

Defines distance for this route, routes with smaller administrative
distance are elected prior to those with a higher distance.

.. cfgcmd:: set protocols static route6 <subnet> reject tag <tag>

Sets a tag for this route.


Blackhole Routes
================

.. cfgcmd:: set protocols static route <subnet> blackhole

Expand All @@ -154,6 +193,10 @@ Blackhole
Defines blackhole distance for this route, routes with smaller administrative
distance are elected prior to those with a higher distance.

.. cfgcmd:: set protocols static route <subnet> blackhole tag <tag>

Sets a tag for this route.

.. cfgcmd:: set protocols static route6 <subnet> blackhole

Use this command to configure a "black-hole" route on the router. A
Expand All @@ -167,6 +210,10 @@ Blackhole
Defines blackhole distance for this route, routes with smaller administrative
distance are elected prior to those with a higher distance.

.. cfgcmd:: set protocols static route6 <subnet> blackhole tag <tag>

Sets a tag for this route.

Alternate Routing Tables
========================

Expand Down
Loading