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