The ifconfig command has -pweneighbor option. However, it is not described in the manual ifconfig.8.
comment, ok? -- ASOU Masato Index: sbin/ifconfig/ifconfig.8 =================================================================== RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.391 diff -u -p -r1.391 ifconfig.8 --- sbin/ifconfig/ifconfig.8 7 Mar 2023 20:09:47 -0000 1.391 +++ sbin/ifconfig/ifconfig.8 20 Apr 2023 07:30:29 -0000 @@ -1460,7 +1460,7 @@ is omitted, it is decreased by 1. .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 Oo Fl Oc Ns Cm pweneighbor Ar mpls-label Ar neighbor .Op Oo Fl Oc Ns Cm tunneldomain Ar rdomain .Ek .nr nS 0 @@ -1513,6 +1513,8 @@ and .Ar neighbor as the remote MPLS label and neighbor respectively. Remote MPLS labels have the same restrictions on values as local MPLS labels. +.It Fl Ns Cm pweneighbor +Unset the remote MPLS label and neighbor. .El .Sh PAIR .nr nS 1