18c2ecf20Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ci====================
48c2ecf20Sopenharmony_ciMPLS Sysfs variables
58c2ecf20Sopenharmony_ci====================
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci/proc/sys/net/mpls/* Variables:
88c2ecf20Sopenharmony_ci===============================
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciplatform_labels - INTEGER
118c2ecf20Sopenharmony_ci	Number of entries in the platform label table.  It is not
128c2ecf20Sopenharmony_ci	possible to configure forwarding for label values equal to or
138c2ecf20Sopenharmony_ci	greater than the number of platform labels.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci	A dense utilization of the entries in the platform label table
168c2ecf20Sopenharmony_ci	is possible and expected as the platform labels are locally
178c2ecf20Sopenharmony_ci	allocated.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci	If the number of platform label table entries is set to 0 no
208c2ecf20Sopenharmony_ci	label will be recognized by the kernel and mpls forwarding
218c2ecf20Sopenharmony_ci	will be disabled.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci	Reducing this value will remove all label routing entries that
248c2ecf20Sopenharmony_ci	no longer fit in the table.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci	Possible values: 0 - 1048575
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci	Default: 0
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciip_ttl_propagate - BOOL
318c2ecf20Sopenharmony_ci	Control whether TTL is propagated from the IPv4/IPv6 header to
328c2ecf20Sopenharmony_ci	the MPLS header on imposing labels and propagated from the
338c2ecf20Sopenharmony_ci	MPLS header to the IPv4/IPv6 header on popping the last label.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	If disabled, the MPLS transport network will appear as a
368c2ecf20Sopenharmony_ci	single hop to transit traffic.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci	* 0 - disabled / RFC 3443 [Short] Pipe Model
398c2ecf20Sopenharmony_ci	* 1 - enabled / RFC 3443 Uniform Model (default)
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_cidefault_ttl - INTEGER
428c2ecf20Sopenharmony_ci	Default TTL value to use for MPLS packets where it cannot be
438c2ecf20Sopenharmony_ci	propagated from an IP header, either because one isn't present
448c2ecf20Sopenharmony_ci	or ip_ttl_propagate has been disabled.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	Possible values: 1 - 255
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci	Default: 255
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ciconf/<interface>/input - BOOL
518c2ecf20Sopenharmony_ci	Control whether packets can be input on this interface.
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci	If disabled, packets will be discarded without further
548c2ecf20Sopenharmony_ci	processing.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci	* 0 - disabled (default)
578c2ecf20Sopenharmony_ci	* not 0 - enabled
58