^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) MPLS Sysfs variables
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) /proc/sys/net/mpls/* Variables:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) ===============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) platform_labels - INTEGER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Number of entries in the platform label table. It is not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) possible to configure forwarding for label values equal to or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) greater than the number of platform labels.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) A dense utilization of the entries in the platform label table
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) is possible and expected as the platform labels are locally
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) allocated.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) If the number of platform label table entries is set to 0 no
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) label will be recognized by the kernel and mpls forwarding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) will be disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Reducing this value will remove all label routing entries that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) no longer fit in the table.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Possible values: 0 - 1048575
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) ip_ttl_propagate - BOOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Control whether TTL is propagated from the IPv4/IPv6 header to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) the MPLS header on imposing labels and propagated from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) MPLS header to the IPv4/IPv6 header on popping the last label.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) If disabled, the MPLS transport network will appear as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) single hop to transit traffic.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) * 0 - disabled / RFC 3443 [Short] Pipe Model
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) * 1 - enabled / RFC 3443 Uniform Model (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) default_ttl - INTEGER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Default TTL value to use for MPLS packets where it cannot be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) propagated from an IP header, either because one isn't present
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) or ip_ttl_propagate has been disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Possible values: 1 - 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Default: 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) conf/<interface>/input - BOOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Control whether packets can be input on this interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) If disabled, packets will be discarded without further
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) processing.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) * 0 - disabled (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) * not 0 - enabled