File: interfaces-mpls.scd

package info (click to toggle)
ifupdown-ng 0.12.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 964 kB
  • sloc: ansic: 3,572; sh: 980; makefile: 233
file content (40 lines) | stat: -rw-r--r-- 1,057 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
interfaces-mpls(5)

# NAME

*interfaces-mpls* - MPLS vocabulary for the interfaces(5) file format

# DESCRIPTION

Linux allows has support for MultiProtocol Label Switching (MPLS) for a while
now.  The following options allow for this configuration.

# MPLS-RELATED OPTIONS

The MPLS executor will only modify the sysctl configuration if these options
are provided, otherwise other mechanisms such as /etc/sysctl.conf may be used.
If MPLS is enabled on (at least) one interface the executor will load the
_mpls_iptunnel_ kernel module.

Be aware that you have to set the _platform_labels_ sysctl to make MPLS work.
See https://www.kernel.org/doc/Documentation/networking/mpls-sysctl.rst for
more details on the MPLS related knobs in the Linux kernel.


*mpls-enable* _yes|no_
	Control whether packets can be input on this interface.  If disabled,
	packets carrying an MPLS label will be discarded without further
	processing.

# EXAMPLES

```
iface eth0
	address 2001:db8:08:15::42/64
	#
	mpls-enable yes
```

# AUTHORS

Maximilian Wilhelm <max@sdn.clinic>