1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright (c) 2012, Joyent, Inc. All Rights Reserved
13 .\" Copyright (c) 2013 by Delphix. All rights reserved.
14 .\" Copyright 2018 Nexenta Systems, Inc.
15 .\" Copyright (c) 2016-2017, Chris Fraire <cfraire@me.com>.
16 .\"
17 .Dd February 6, 2018
18 .Dt IPADM 1M
19 .Os
20 .Sh NAME
21 .Nm ipadm
22 .Nd configure IP interfaces, addresses and protocols
23 .Sh SYNOPSIS
24 .Nm
25 .Ic create-if
26 .Op Fl t
27 .Ar interface
28 .Nm
29 .Ic disable-if
30 .Fl t
31 .Ar interface
32 .Nm
33 .Ic enable-if
759 .Nm ipadm Ic set-addrprop
760 subcommand for the list of property names.
761 .El
762 .It Xo
763 .Ic set-prop
764 .Op Fl t
765 .Fl p Ar prop Ns Oo Cm + Ns | Ns Cm - Oc Ns = Ns
766 .Ar value Ns Oo , Ns Ar value Oc Ns ...
767 .Ar protocol
768 .Xc
769 Set a property's value(s) on the protocol.
770 .Bl -tag -width Ds
771 .It Fl p Ns \&, Ns Fl -prop
772 Specify the property name and value(s).
773 The optional
774 .Sy + Ns | Ns Sy -
775 syntax can be used to add/remove values from the current list of values on the
776 property.
777 The property name can be one of the following:
778 .Bl -tag -compact -width "smallest_nonpriv_port"
779 .It Cm ecn
780 Explicit congestion control
781 .Pq Cm never Ns / Ns Cm passive Ns / Ns Cm active
782 .Pq TCP .
783 .It Cm extra_priv_ports
784 Additional privileged ports
785 .Pq SCTP/TCP/UDP .
786 .It Cm forwarding
787 Packet forwarding
788 .Pq Cm on Ns / Ns Cm off .
789 .It Cm hoplimit
790 The IPv6 hoplimit.
791 .It Cm largest_anon_port
792 Largest ephemeral port
793 .Pq SCTP/TCP/UDP .
794 .It Cm max_buf
795 Maximum receive or send buffer size
796 .Pq ICMP/SCTP/TCP/UDP .
797 This also sets the upper limit for the
798 .Cm recv_buf
|
1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright (c) 2012, Joyent, Inc. All Rights Reserved
13 .\" Copyright (c) 2013, 2017 by Delphix. All rights reserved.
14 .\" Copyright 2018 Nexenta Systems, Inc.
15 .\" Copyright (c) 2016-2017, Chris Fraire <cfraire@me.com>.
16 .\"
17 .Dd February 6, 2018
18 .Dt IPADM 1M
19 .Os
20 .Sh NAME
21 .Nm ipadm
22 .Nd configure IP interfaces, addresses and protocols
23 .Sh SYNOPSIS
24 .Nm
25 .Ic create-if
26 .Op Fl t
27 .Ar interface
28 .Nm
29 .Ic disable-if
30 .Fl t
31 .Ar interface
32 .Nm
33 .Ic enable-if
759 .Nm ipadm Ic set-addrprop
760 subcommand for the list of property names.
761 .El
762 .It Xo
763 .Ic set-prop
764 .Op Fl t
765 .Fl p Ar prop Ns Oo Cm + Ns | Ns Cm - Oc Ns = Ns
766 .Ar value Ns Oo , Ns Ar value Oc Ns ...
767 .Ar protocol
768 .Xc
769 Set a property's value(s) on the protocol.
770 .Bl -tag -width Ds
771 .It Fl p Ns \&, Ns Fl -prop
772 Specify the property name and value(s).
773 The optional
774 .Sy + Ns | Ns Sy -
775 syntax can be used to add/remove values from the current list of values on the
776 property.
777 The property name can be one of the following:
778 .Bl -tag -compact -width "smallest_nonpriv_port"
779 .It Cm congestion_control
780 The default congestion-control algorithm to be used for new connections
781 .Pq TCP .
782 .It Cm ecn
783 Explicit congestion control
784 .Pq Cm never Ns / Ns Cm passive Ns / Ns Cm active
785 .Pq TCP .
786 .It Cm extra_priv_ports
787 Additional privileged ports
788 .Pq SCTP/TCP/UDP .
789 .It Cm forwarding
790 Packet forwarding
791 .Pq Cm on Ns / Ns Cm off .
792 .It Cm hoplimit
793 The IPv6 hoplimit.
794 .It Cm largest_anon_port
795 Largest ephemeral port
796 .Pq SCTP/TCP/UDP .
797 .It Cm max_buf
798 Maximum receive or send buffer size
799 .Pq ICMP/SCTP/TCP/UDP .
800 This also sets the upper limit for the
801 .Cm recv_buf
|