diff options
author | Rafael Zalamena <rzalamena@cvs.openbsd.org> | 2015-07-25 18:07:19 +0000 |
---|---|---|
committer | Rafael Zalamena <rzalamena@cvs.openbsd.org> | 2015-07-25 18:07:19 +0000 |
commit | fd9171aaa7a9d2a2fae0423448393f6be684c654 (patch) | |
tree | 813c112258cc66b4972f06dcde574b8fee4bb745 /sbin | |
parent | 51b3e27c070445b48ae39a17b063428635f22f85 (diff) |
Teach ifconfig(8) man page about the mpw(4) commands.
ok jmc@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 55 |
1 files changed, 53 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index da4d0c90317..6c4acf5717e 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.253 2015/03/12 18:28:34 benno Exp $ +.\" $OpenBSD: ifconfig.8,v 1.254 2015/07/25 18:07:18 rzalamena 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 12 2015 $ +.Dd $Mdocdate: July 25 2015 $ .Dt IFCONFIG 8 .Os .Sh NAME @@ -178,6 +178,7 @@ At least the following devices can be created on demand: .Xr gre 4 , .Xr lo 4 , .Xr mpe 4 , +.Xr mpw 4 , .Xr pflog 4 , .Xr pflow 4 , .Xr pfsync 4 , @@ -486,6 +487,8 @@ interface groups .It .Xr mpe 4 .It +.Xr mpw 4 +.It .Xr pflow 4 .It .Xr pfsync 4 @@ -1216,6 +1219,54 @@ Set the MPLS label to This value is a 20-bit number which will be used as the MPLS header for packets entering the MPLS domain. .El +.\" mpw +.Sh MPW +.nr nS 1 +.Bk -words +.Nm ifconfig +.Ar mpw-interface +.Op Oo Fl Oc Ns Cm controlword +.Op Cm encap Ar encapsulation +.Op Cm mpwlabel Ar local-label remote-label Cm neighbor Ar dest-address +.Ek +.nr Ns 0 +.Pp +The following options are available for an +.Xr mpw 4 +interface: +.Bl -tag -width Ds +.It Cm controlword +Configure the mpw interface to use control-word. +.It Cm -controlword +Remove control-word configuration from the interface. +.It Cm encap Ar encapsulation +Configures the mpw encapsulation type with value +.Ar encapsulation +which can be +.Cm ethernet +or +.Cm ethernet-tagged . +By default it's assumed to be +.Cm ethernet +mode. +.It Cm mpwlabel Ar local-label remote-label +Set mpw local label to +.Ar local-label +and remote label to +.Ar remote-label . +The +.Ar local-label +is a 20-bit number which will be used to create a local label route to +the mpw interface and the +.Ar remote-label +is another 20-bit number which will be used to create the output label header. +.It Cm neighbor Ar dest-address +Sets the destination address where this mpw should output. +The +.Ar dest-address +is an IPv4 address that will be used to find the nexthop in the MPLS +network. +.El .\" PFLOW .Sh PFLOW .nr nS 1 |