summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2021-03-18 14:16:39 +0000
committerkn <kn@cvs.openbsd.org>2021-03-18 14:16:39 +0000
commitc3dcd04934bb7d7986cbe717080a69bde8aae19a (patch)
treef36dbd042dda674eeca87910f182db552386b76a
parent47b373b622e802a618026708612fa7bc881d5e06 (diff)
Document "-tunneldomain" and "-mplslabel", complete MPLS synopsis
OK claudio
-rw-r--r--sbin/ifconfig/ifconfig.814
1 files changed, 9 insertions, 5 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 765f6ea24d6..c5389295ab7 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.369 2021/03/11 21:07:16 jmc Exp $
+.\" $OpenBSD: ifconfig.8,v 1.370 2021/03/18 14:16:38 kn Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -31,7 +31,7 @@
.\"
.\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94
.\"
-.Dd $Mdocdate: March 11 2021 $
+.Dd $Mdocdate: March 18 2021 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -1433,11 +1433,11 @@ is omitted, it is decreased by 1.
.Bk -words
.Nm ifconfig
.Ar mpls-interface
-.Op Cm mplslabel Ar mpls-label
+.Op Oo Fl Oc Ns Cm mplslabel Ar mpls-label
.Op Oo Fl Oc Ns Cm pwecw
.Op Oo Fl Oc Ns Cm pwefat
.Op Cm pweneighbor Ar mpls-label Ar neighbor
-.Op Cm tunneldomain Ar rdomain
+.Op Oo Fl Oc Ns Cm tunneldomain Ar rdomain
.Ek
.nr nS 0
.Pp
@@ -1455,12 +1455,16 @@ MPLS packets sent to this label on the local system will be
decapsulated for input.
An MPLS label is a 20-bit number.
Labels 0 to 15 inclusive are reserved labels and cannot be used.
+.It Cm -mplslabel
+Unset the local MPLS label.
.It Cm tunneldomain Ar rdomain
-Use the route domain
+Use the routing domain
.Ar rdomain
for MPLS transit.
The MPLS encapsulated traffic does not need to terminate in the same
routing domain as the interface itself.
+.It Cm -tunneldomain
+Use the default routing domain 0 for MPLS transit.
.El
.Pp
The following options are available for the