Commit | Line | Data |
---|---|---|
e14fd64d MCC |
1 | .. SPDX-License-Identifier: GPL-2.0 |
2 | ||
3 | ==================== | |
4 | MPLS Sysfs variables | |
5 | ==================== | |
6 | ||
7720c01f | 7 | /proc/sys/net/mpls/* Variables: |
e14fd64d | 8 | =============================== |
7720c01f EB |
9 | |
10 | platform_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 | ||
4e5da369 AA |
15 | A dense utilization of the entries in the platform label table |
16 | is possible and expected as the platform labels are locally | |
7720c01f EB |
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 | |
e14fd64d | 27 | |
7720c01f | 28 | Default: 0 |
37bde799 | 29 | |
5b441ac8 RS |
30 | ip_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 | ||
e14fd64d MCC |
38 | * 0 - disabled / RFC 3443 [Short] Pipe Model |
39 | * 1 - enabled / RFC 3443 Uniform Model (default) | |
5b441ac8 | 40 | |
dca895b6 | 41 | default_ttl - INTEGER |
a59166e4 RS |
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 | |
e14fd64d | 47 | |
a59166e4 RS |
48 | Default: 255 |
49 | ||
37bde799 RS |
50 | conf/<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 | ||
e14fd64d MCC |
56 | * 0 - disabled (default) |
57 | * not 0 - enabled |