0001 .. SPDX-License-Identifier: GPL-2.0
0002
0003 ====================
0004 MPLS Sysfs variables
0005 ====================
0006
0007 /proc/sys/net/mpls/* Variables:
0008 ===============================
0009
0010 platform_labels - INTEGER
0011 Number of entries in the platform label table. It is not
0012 possible to configure forwarding for label values equal to or
0013 greater than the number of platform labels.
0014
0015 A dense utilization of the entries in the platform label table
0016 is possible and expected as the platform labels are locally
0017 allocated.
0018
0019 If the number of platform label table entries is set to 0 no
0020 label will be recognized by the kernel and mpls forwarding
0021 will be disabled.
0022
0023 Reducing this value will remove all label routing entries that
0024 no longer fit in the table.
0025
0026 Possible values: 0 - 1048575
0027
0028 Default: 0
0029
0030 ip_ttl_propagate - BOOL
0031 Control whether TTL is propagated from the IPv4/IPv6 header to
0032 the MPLS header on imposing labels and propagated from the
0033 MPLS header to the IPv4/IPv6 header on popping the last label.
0034
0035 If disabled, the MPLS transport network will appear as a
0036 single hop to transit traffic.
0037
0038 * 0 - disabled / RFC 3443 [Short] Pipe Model
0039 * 1 - enabled / RFC 3443 Uniform Model (default)
0040
0041 default_ttl - INTEGER
0042 Default TTL value to use for MPLS packets where it cannot be
0043 propagated from an IP header, either because one isn't present
0044 or ip_ttl_propagate has been disabled.
0045
0046 Possible values: 1 - 255
0047
0048 Default: 255
0049
0050 conf/<interface>/input - BOOL
0051 Control whether packets can be input on this interface.
0052
0053 If disabled, packets will be discarded without further
0054 processing.
0055
0056 * 0 - disabled (default)
0057 * not 0 - enabled