mpls-sysctl.rst 1.6 KB

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