6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / if_mpadm.1m
blobf726e8adc8926fed6ec9bd44b6784ede820cdad2
1 '\" te
2 .\" Copyright (C) 2009, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH IF_MPADM 1M "Sep 02, 2015"
7 .SH NAME
8 if_mpadm \- administer interfaces in an IP multipathing group
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBif_mpadm\fR \fB-d\fR | \fB-r\fR \fIifname\fR
13 .fi
15 .SH DESCRIPTION
16 .LP
17 The \fBif_mpadm\fR utility administers IP interfaces that are part of an IP
18 Multipathing (IPMP) group. Currently, administration is limited to offlining IP
19 interfaces and undoing previous offline operations.
20 .LP
21 When an IP interface is taken offline, all IP data traffic that was flowing
22 over the IP interface is moved to another IP interface in the IPMP group. In
23 addition, all \fBUP\fR IP addresses hosted on the IP interface are brought
24 down, causing \fBin.mpathd\fR(1M) to stop probe-based failure detection on the
25 IP interface. As a result, an offline IP interface will not be used for any
26 inbound or outbound IP traffic. Only IP interfaces that are in an IPMP group
27 may be brought offline. If the IP interface is the last functioning interface
28 in the IPMP group, the offline operation will fail.
29 .LP
30 When an offline operation is undone, any IP addresses hosted on that IP
31 interface are brought \fBUP\fR and will be considered by \fBin.mpathd\fR for
32 probe-based failure detection. In addition, provided the IP interface is
33 otherwise active (see \fBin.mpathd\fR(1M)), it will again be used to send and
34 receive IP data traffic for the IPMP group. Note that not all offline
35 operations can be undone. For instance, \fBin.mpathd\fR may have offlined an IP
36 interface because its hardware address was not unique within its IPMP group.
37 The \fBipmpstat\fR utility can be used to determine why an IP interface is
38 offline, identify which IP interfaces in a group are being used for inbound and
39 outbound IP traffic, and more; see \fBipmpstat\fR(1M).
40 .SH OPTIONS
41 .LP
42 The \fBif_mpadm\fR utility supports the following options:
43 .sp
44 .ne 2
45 .na
46 \fB\fB-d\fR \fIifname\fR\fR
47 .ad
48 .RS 13n
49 Offline the IP interface specified by \fIifname\fR. If \fIifname\fR is not in
50 an IPMP group, or the offline would cause the IPMP group to lose network
51 connectivity, the operation will fail.
52 .RE
54 .sp
55 .ne 2
56 .na
57 \fB\fB-r\fR \fIifname\fR\fR
58 .ad
59 .RS 13n
60 Undo a previous offline of the IP interface specified by \fIifname\fR. If
61 \fIifname\fR is not offline, the operation will fail.
62 .RE
64 .SH EXAMPLES
65 .LP
66 \fBExample 1 \fROfflining an IP Interface
67 .LP
68 The following command offlines the IP interface \fBunder0\fR, causing any IP
69 packets that were being sent and received through it to be handled by another
70 IP interface in its group.
72 .sp
73 .in +2
74 .nf
75 example% \fBif_mpadm -d under0\fR
76 .fi
77 .in -2
78 .sp
80 .LP
81 \fBExample 2 \fRUndoing a Previous Offline Operation
82 .LP
83 Use the following command to undo the operation in the previous example:
85 .sp
86 .in +2
87 .nf
88 example% \fBif_mpadm -r under0\fR
89 .fi
90 .in -2
91 .sp
93 .SH ATTRIBUTES
94 .LP
95 See \fBattributes\fR(5) for descriptions of the following attributes:
96 .sp
98 .sp
99 .TS
100 box;
101 c | c
102 l | l .
103 ATTRIBUTE TYPE  ATTRIBUTE VALUE
105 Interface Stability     Unstable
108 .SH SEE ALSO
110 \fBifconfig\fR(1M), \fBin.mpathd\fR(1M), \fBipmpstat\fR(1M),
111 \fBattributes\fR(5)
112 .SH DIAGNOSTICS
114 cannot offline: no other functioning interfaces are in its IPMP group.
115 .RS +4
116 \fBDescription: \fR
119 This message means that offlining the IP interface would leave the IPMP group
120 without network connectivity.
125 cannot offline: not a physical interface or not in an IPMP group
126 .RS +4
127 \fBDescription: \fR
130 This means that the IP interface is not an underlying interface in an IPMP
131 group, and therefore is not eligible to be offlined.