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

policy: T4704: Added set metric (MED) to (+/-)rtt in route-map #1173

Merged
merged 1 commit into from
Dec 7, 2023
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
8 changes: 5 additions & 3 deletions docs/configuration/policy/route-map.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,29 +240,29 @@

Delete all BGP large-communities

.. cfgcmd:: set policy route-map <text> rule <1-65535> set large-community delete

Check warning on line 243 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=81
<text>

Delete BGP communities matching the large-community-list.

.. cfgcmd:: set policy route-map <text> rule <1-65535> set extcommunity bandwidth

Check warning on line 248 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=81
<1-25600|cumulative|num-multipaths>

Set extcommunity bandwidth

.. cfgcmd:: set policy route-map <text> rule <1-65535> set extcommunity bandwidth-non-transitive

Check warning on line 253 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=96

The link bandwidth extended community is encoded as non-transitive

.. cfgcmd:: set policy route-map <text> rule <1-65535> set extcommunity rt
<text>

Set route target value in format ``<0-65535:0-4294967295>`` or ``<IP:0-65535>``.

Check warning on line 260 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=83

.. cfgcmd:: set policy route-map <text> rule <1-65535> set extcommunity soo
<text>

Set site of origin value in format ``<0-65535:0-4294967295>`` or ``<IP:0-65535>``.

Check warning on line 265 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=85

.. cfgcmd:: set policy route-map <text> rule <1-65535> set extcommunity none

Expand Down Expand Up @@ -318,10 +318,12 @@
Set BGP local preference attribute.

.. cfgcmd:: set policy route-map <text> rule <1-65535> set metric
<+/-metric|0-4294967295>
<+/-metric|0-4294967295|rtt|+rtt|-rtt>

Set destination routing protocol metric. Add or subtract metric, or set
metric value.
Set the route metric. When used with BGP, set the BGP attribute MED
to a specific value. Use ``+/-`` to add or subtract the specified value
to/from the existing/MED. Use ``rtt`` to set the MED to the round trip
time or ``+rtt/-rtt`` to add/subtract the round trip time to/from the MED.

.. cfgcmd:: set policy route-map <text> rule <1-65535> set metric-type
<type-1|type-2>
Expand Down Expand Up @@ -358,12 +360,12 @@

List of well-known communities
==============================
* ``local-as`` - Well-known communities value NO_EXPORT_SUBCONFED 0xFFFFFF03

Check warning on line 363 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=99
* ``no-advertise`` - Well-known communities value NO_ADVERTISE 0xFFFFFF02

Check warning on line 364 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=92
* ``no-export`` - Well-known communities value NO_EXPORT 0xFFFFFF01

Check warning on line 365 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=89
* ``internet`` - Well-known communities value 0
* ``graceful-shutdown`` - Well-known communities value GRACEFUL_SHUTDOWN 0xFFFF0000

Check warning on line 367 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=97
* ``accept-own`` - Well-known communities value ACCEPT_OWN 0xFFFF0001

Check warning on line 368 in docs/configuration/policy/route-map.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=90
* ``route-filter-translated-v4`` - Well-known communities value ROUTE_FILTER_TRANSLATED_v4 0xFFFF0002
* ``route-filter-v4`` - Well-known communities value ROUTE_FILTER_v4 0xFFFF0003
* ``route-filter-translated-v6`` - Well-known communities value ROUTE_FILTER_TRANSLATED_v6 0xFFFF0004
Expand Down
Loading