Lines Matching +full:ethernet +full:- +full:port
16 .\" Standard for Information Technology -- Portable Operating System
18 .\" Copyright (C) 2001-2004 by the Institute of Electrical and Electronics
61 .Cm show-link
67 .Cm rename-link
68 .Op Fl R Ar root-dir
69 .Ar link new-link
73 .Cm delete-phys
74 .Ar phys-link
76 .Cm show-phys
79 .Op Ar phys-link
83 .Cm create-aggr
85 .Op Fl R Ar root-dir
90 .Fl l Ar ether-link
91 .Oo Fl l Ar ether-link Oc Ns ...
92 .Ar aggr-link
94 .Cm modify-aggr
96 .Op Fl R Ar root-dir
101 .Ar aggr-link
103 .Cm delete-aggr
105 .Op Fl R Ar root-dir
106 .Ar aggr-link
108 .Cm add-aggr
110 .Op Fl R Ar root-dir
111 .Fl l Ar ether-link
112 .Oo Fl l Ar ether-link Oc Ns ...
113 .Ar aggr-link
115 .Cm remove-aggr
117 .Op Fl R Ar root-dir
118 .Fl l Ar ether-link
119 .Oo Fl l Ar ether-link Oc Ns ...
120 .Ar aggr-link
122 .Cm show-aggr
126 .Op Ar aggr-link
130 .Cm create-bridge
131 .Op Fl R Ar root-dir
134 .Op Fl m Ar max-age
135 .Op Fl h Ar hello-time
136 .Op Fl d Ar forward-delay
137 .Op Fl f Ar force-protocol
139 .Ar bridge-name
141 .Cm modify-bridge
142 .Op Fl R Ar root-dir
145 .Op Fl m Ar max-age
146 .Op Fl h Ar hello-time
147 .Op Fl d Ar forward-delay
148 .Op Fl f Ar force-protocol
149 .Ar bridge-name
151 .Cm delete-bridge
152 .Op Fl R Ar root-dir
153 .Ar bridge-name
155 .Cm add-bridge
156 .Op Fl R Ar root-dir
159 .Ar bridge-name
161 .Cm remove-bridge
162 .Op Fl R Ar root-dir
165 .Ar bridge-name
167 .Cm show-bridge
171 .Ar bridge-name
175 .Cm create-vlan
177 .Op Fl R Ar root-dir
178 .Fl l Ar ether-link
180 .Op Ar vlan-link
182 .Cm delete-vlan
184 .Op Fl R Ar root-dir
185 .Ar vlan-link
187 .Cm show-vlan
190 .Op Ar vlan-link
194 .Cm scan-wifi
196 .Op Ar wifi-link
198 .Cm connect-wifi
212 .Op Ar wifi-link
214 .Cm disconnect-wifi
216 .Op Ar wifi-link
218 .Cm show-wifi
220 .Op Ar wifi-link
224 .Cm show-ether
227 .Op Ar ether-link
231 .Cm set-linkprop
233 .Op Fl R Ar root-dir
237 .Cm reset-linkprop
239 .Op Fl R Ar root-dir
243 .Cm show-linkprop
251 .Cm create-secobj
253 .Op Fl R Ar root-dir
257 .Cm delete-secobj
259 .Op Fl R Ar root-dir
262 .Cm show-secobj
269 .Cm create-vnic
271 .Op Fl R Ar root-dir
277 .Cm factory Fl n Ar slot-identifier |
280 .Op Fl v Ar vlan-id
282 .Ar vnic-link
284 .Cm delete-vnic
286 .Op Fl R Ar root-dir
287 .Ar vnic-link
289 .Cm show-vnic
294 .Op Ar vnic-link
298 .Cm create-etherstub
300 .Op Fl R Ar root-dir
303 .Cm delete-etherstub
305 .Op Fl R Ar root-dir
308 .Cm show-etherstub
313 .Cm create-iptun
315 .Op Fl R Ar root-dir
323 .Ar iptun-link
325 .Cm modify-iptun
327 .Op Fl R Ar root-dir
334 .Ar iptun-link
336 .Cm delete-iptun
338 .Op Fl R Ar root-dir
339 .Ar iptun-link
341 .Cm show-iptun
344 .Op Ar iptun-link
348 .Cm create-overlay
356 .Cm delete-overlay
360 .Cm modify-overlay
364 .Fl s\~ Ar mac Cm \&= Ar ip Cm \&: Ar port
368 .Cm show-overlay
375 .Cm show-usage
385 command is used to administer data-links.
386 A data-link is represented in the system as a STREAMS DLPI
389 Each data-link relies on either a single network device or an aggregation of
395 .Bl -tag -width etherstub
410 .Bl -tag -width iptun-link
411 .It Ar phys-link
413 .It Ar vlan-link
415 .It Ar aggr-link
421 .It Ar ether-link
422 A physical Ethernet datalink.
423 .It Ar wifi-link
425 .It Ar vnic-link
429 .It Ar iptun-link
436 An Ethernet stub can be used instead of a physical NIC to create VNICs.
441 A bridge instance, identified by an administratively-chosen name.
455 A secure object, identified by an administratively-chosen name.
464 An overlay instance, identified by an administratively-chosen name.
477 .Bl -tag -width 4n
479 .Fl R Ar root-dir ,
480 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
490 .Cm show-link .
493 .Bl -tag -width 4n
497 .Nm Cm show-link
510 .Bl -tag -width 4n
515 A case-insensitive, comma-separated list of output fields to display.
527 .Cm show-link
529 .Bl -tag -width BRIDGE
536 .Bl -tag -width etherstub
540 .Cm show-phys
545 .Cm show-aggr
548 An Ethernet stub.
550 .Cm show-etherstub
555 .Cm show-overlay
560 .Cm show-vlan
565 .Cm show-vnic
568 A generic datalink without any other class-specific properties.
599 .Bl -tag -width IPACKETS
616 Display using a stable machine-parsable format.
636 .Nm Cm rename-link
637 .Op Fl R Ar root-dir
638 .Ar link new-link
644 .Ar new-link .
650 .Bl -tag -width 4n
652 .Fl R Ar root-dir , \&-root-dir Ns Cm = Ns Ar root-dir
659 .Nm Cm delete-phys
660 .Ar phys-link
669 .Nm Cm show-phys
672 .Op Ar phys-link
680 .Bl -tag -width 4n
686 .Bl -tag -width 9n
703 .Bl -tag -width 9n
710 .Cm create-vnic .
722 A case-insensitive, comma-separated list of output fields to display.
733 .Bl -tag -width 9n
748 For Ethernet links, the full/half duplex status of the link is displayed if the
755 Display using a stable machine-parsable format.
773 .Cm delete-phys
777 .Nm Cm create-aggr
779 .Op Fl R Ar root-dir
784 .Fl l Ar ether-link
785 .Oo Fl l ether-link Oc Ns ...
786 .Ar aggr-link
790 .Ar aggr-link .
796 .Cm -aggr
806 supports a number of port selection policies for an aggregation of
814 .Cm create-aggr
818 .Bl -tag -width 4n
819 .It Fl l Ar ether-link , Fl \&-link Ns Cm = Ns Ar ether-link
820 Each Ethernet link
821 .Pq or port
839 .Cm -aggr
848 .Fl R Ar root-dir ,
849 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
855 Specifies the port selection policy to use for load spreading of outbound
862 .Bl -tag -width 4n
880 .D1 -P L4
887 .D1 -P L2,L3
888 .It Fl L Ar mode , Fl \&-lacp-mode Ns Cm = Ns Ar mode
896 .It Fl T Ar time , Fl \&-lacp-timer Ns Cm = Ns Ar mode
908 .Nm Cm modify-aggr
910 .Op Fl R Ar root-dir
915 .Ar aggr-link
919 .Bl -tag -width 4n
924 .Fl R Ar root-dir ,
925 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
931 Specifies the port selection policy to use for load spreading of outbound
934 .Nm Cm create-aggr
936 .It Fl L Ar mode , Fl \&-lacp-mode Ns Cm = Ns Ar mode
944 .It Fl T Ar time , Fl \&-lacp-timer Ns Cm = Ns Ar time
956 .Nm Cm delete-aggr
958 .Op Fl R Ar root-dir
959 .Ar aggr-link
963 .Bl -tag -width 4n
968 .Fl R Ar root-dir ,
969 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
976 .Nm Cm add-aggr
978 .Op Fl R Ar root-dir
979 .Fl l Ar ether-link
980 .Oo Fl l Ar ether-link Oc Ns ...
981 .Ar aggr-link
985 .Bl -tag -width 4n
986 .It Fl l Ar ether-link , Fl \&-link Ns Cm = Ns Ar ether-link
987 Specifies an Ethernet link to add to the aggregation.
995 .Fl R Ar root-dir ,
996 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
1003 .Nm Cm remove-aggr
1005 .Op Fl R Ar root-dir
1006 .Fl l Ar ether-link
1007 .Oo Fl l Ar ether-link Oc Ns ...
1008 .Ar aggr-link
1012 .Bl -tag -width 4n
1013 .It Fl l Ar ether-link , Fl \&-link Ns Cm = Ns Ar ether-link
1014 Specifies an Ethernet link to remove from the aggregation.
1022 .Fl R Ar root-dir ,
1023 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
1030 .Nm Cm show-aggr
1034 .Op Ar aggr-link
1045 .Bl -tag -width LACPACTIVITY
1051 .Cm create-aggr
1078 .Cm create-aggr
1080 .Cm modify-aggr .
1085 .Cm create-aggr
1087 .Cm modify-aggr .
1096 .Cm create-aggr .
1101 .Cm show-aggr
1103 .Bl -tag -width 4n
1106 port.
1110 .Bl -tag -width AGGREGATABLE
1113 .It Sy PORT
1116 Whether the port can be added to the aggregation.
1120 the system considers the port to be synchronized and part of the aggregation.
1124 collection of incoming frames is enabled on the associated port.
1128 distribution of outgoing frames is enabled on the associated port.
1132 the port is using defaulted partner information
1137 the receive state of the port is in the EXPIRED state.
1141 each underlying port.
1145 .Bl -tag -width AGGREGATABLE
1148 .It Sy PORT
1151 The speed of the link or port in megabits per second.
1153 The full/half duplex status of the link or port is displayed if the link state
1167 The MAC address of the link or port.
1169 This indicates whether the individual aggregation port is in the
1179 A case-insensitive, comma-separated list of output fields to display.
1193 Display using a stable machine-parsable format.
1214 .Nm Cm create-bridge
1215 .Op Fl R Ar root-dir
1218 .Op Fl m Ar max-age
1219 .Op Fl h Ar hello-time
1220 .Op Fl d Ar forward-delay
1221 .Op Fl f Ar force-protocol
1223 .Ar bridge-name
1233 .Bl -tag -width 4n
1244 .Fl R Ar root-dir ,
1245 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
1263 .It Fl m Ar max-age , Fl \&-max-age Ns Cm = Ns Ar max-age
1272 .Fl d Ar forward-delay
1274 .It Fl h Ar hello-time , Fl \&-hello-time Ns Cm = Ns Ar hello-time
1281 .Fl d Ar forward-delay
1283 .It Fl d Ar forward-delay , Fl \&-forward-delay Ns Cm = Ns Ar forward-delay
1286 to sequence the link states when a port is enabled.
1292 .D1 2 * \&( Ns Ar forward-delay No - 1.0) >= Ar max-age
1294 .D1 Ar max-age No >= 2 * \&( Ns Ar hello-time No + 1.0\&)
1300 .Fl f Ar force-protocol ,
1301 .Fl \&-force-protocol Ns Cm = Ns Ar force-protocol
1305 Valid values are non-negative integers.
1311 Specifies one or more links to add to the newly-created bridge.
1314 .Cm add-bridge
1322 .Cm add-bridge
1330 .Nm Cm modify-bridge
1331 .Op Fl R Ar root-dir
1334 .Op Fl m Ar max-age
1335 .Op Fl h Ar hello-time
1336 .Op Fl d Ar forward-delay
1337 .Op Fl f Ar force-protocol
1338 .Ar bridge-name
1343 .Cm create-bridge
1348 .Cm add-bridge
1353 .Nm Cm delete-bridge
1354 .Op Fl R Ar root-dir
1355 .Ar bridge-name
1360 .Cm remove-bridge
1367 .Pq Fl \&-root-dir
1369 .Cm create-bridge
1372 .Nm Cm add-bridge
1373 .Op Fl R Ar root-dir
1376 .Ar bridge-name
1392 Only physical Ethernet datalinks, aggregation datalinks, wireless links, and
1393 Ethernet stubs are permitted to be assigned to a bridge.
1402 .Dv local-mac-address?\&
1406 .Cm create-bridge
1409 .Nm Cm remove-bridge
1410 .Op Fl R Ar root-dir
1413 .Ar bridge-name
1423 .Cm create-bridge
1426 .Nm Cm show-bridge
1430 .Ar bridge-name
1439 The show-bridge subcommand accepts the following options:
1440 .Bl -tag -width 4n
1456 Display using a stable machine-parsable format.
1464 A case-insensitive, comma-separated list of output fields to display.
1475 .Cm show-bridge
1478 .Bl -tag -width BHELLOTIME
1488 .Cm create-bridge
1490 .Cm modify-bridge .
1495 .Cm create-bridge
1497 .Cm modify-bridge .
1502 .Cm create-bridge
1504 .Cm modify-bridge .
1509 .Cm create-bridge
1511 .Cm modify-bridge .
1516 .Cm create-bridge
1518 .Cm modify-bridge .
1530 Port number used to reach the root node.
1554 .Cm show-bridge
1557 .Bl -tag -width BHELLOTIME
1585 .Cm show-bridge
1587 .Bl -tag -width 4n
1589 Displays link-related status and statistics information for all links attached
1594 .Bl -tag -width DESBRIDGE
1598 Port
1608 .Sq non-stp ,
1610 .Sq bad-mtu .
1615 .Pq 1-65535 .
1617 This indicates whether point-to-point
1623 The Root Bridge Identifier that has been seen on this port.
1625 Path cost to the network root node through the designated port.
1627 Bridge Identifier for this port.
1629 The ID and priority of the port used to transmit configuration messages for
1630 this port.
1652 .Bl -tag -width DESBRIDGE
1683 .Bl -tag -width NEXTHOP
1716 .Bl -tag -width NEXTHOP
1741 .Nm Cm create-vlan
1743 .Op Fl R Ar root-dir
1744 .Fl l Ar ether-link
1746 .Op Ar vlan-link
1751 over Ethernet link
1752 .Ar ether-link .
1757 .Ar ether-link
1766 .Ar ether-link
1773 .Bl -tag -width 4n
1781 .It Fl l Ar ether-link
1782 Specifies Ethernet link over which VLAN is created.
1787 .Fl R Ar root-dir ,
1788 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
1795 .Nm Cm delete-vlan
1797 .Op Fl R Ar root-dir
1798 .Ar vlan-link
1804 .Cm delete-vlan
1806 .Bl -tag -width 4n
1811 .Fl R Ar root-dir ,
1812 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
1819 .Nm Cm show-vlan
1822 .Op Ar vlan-link
1828 .Cm show-vlan
1830 .Bl -tag -width 4n
1835 A case-insensitive, comma-separated list of output fields to display.
1840 .Bl -tag -width FLAGS
1850 .Bl -tag -width 4n
1855 .Cm create-vlan .
1867 Display using a stable machine-parsable format.
1881 .Nm Cm scan-wifi
1883 .Op Ar wifi-link
1888 .Ar wifi-link .
1893 .Bl -tag -width 4n
1898 A case-insensitive, comma-separated list of output fields to display.
1903 .Bl -tag -width STRENGTH
1925 .Pq Wi-Fi Protected Access .
1952 .Pq ad-hoc
1956 Display using a stable machine-parsable format.
1967 .Nm Cm connect-wifi
1981 .Op Ar wifi-link
1991 However, to enable connections to non-broadcast WiFi networks and to improve
1997 .Cm connect-wifi
2007 .Ar wifi-link
2012 .Bl -tag -width 4n
2055 .Cm connect-wifi :
2056 .Bl -tag -width 4n
2069 .It Fl c , \&-create-ibss
2072 to create a new ad-hoc network if one matching the specified ESSID cannot be
2076 always triggers the creation of a new ad-hoc network.
2106 For security modes that support multiple keys, a comma-separated list can be
2110 .Nm Cm disconnect-wifi
2112 .Op Ar wifi-link
2117 .Ar wifi-link
2120 .Ar wifi-link
2122 .Bl -tag -width 4n
2123 .It Fl a , \&-all-links
2128 .Nm Cm show-wifi
2130 .Op Ar wifi-link
2135 .Ar wifi-link .
2136 .Bl -tag -width 4n
2141 A case-insensitive, comma-separated list of output fields to display.
2146 .Bl -tag -width STRENGTH
2157 .Sq -- .
2197 .Cm connect-wifi
2209 .Pq ad-hoc
2220 Displays using a stable machine-parsable format.
2230 .Nm Cm show-ether
2233 .Op Ar ether-link
2236 Shows state information either for all physical Ethernet links or for a
2237 specified physical Ethernet link.
2240 .Cm show-ether
2242 .Bl -tag -width 4n
2247 A case-insensitive, comma-separated list of output fields to display.
2252 .Bl -tag -width STATE
2264 indicates the capabilities advertised by the link-partner.
2268 A yes/no value indicating whether auto-negotiation is advertised.
2269 .It Sy SPEED-DUPLEX
2279 .Pq full-duplex
2282 .Pq half-duplex .
2289 indicating that the end-point can transmit pause frames, but ignores any
2292 indicating that the end-point receives and acts upon received pause frames; or
2294 indicating bi-directional flow-control.
2309 Displays using a stable machine-parsable format.
2329 .Nm Cm set-linkprop
2331 .Op Fl R Ar root-dir
2340 .Cm show-linkprop .
2341 .Bl -tag -width 4n
2346 .Fl R Ar root-dir ,
2347 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2358 A comma-separated list of properties to set to the specified values.
2364 .Nm Cm reset-linkprop
2366 .Op Fl R Ar root-dir
2375 .Cm show-linkprop
2377 .Bl -tag -width 4n
2383 .Fl R Ar root-dir ,
2384 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2393 A comma-separated list of properties to reset.
2399 .Nm Cm show-linkprop
2411 .Bl -tag -width 4n
2416 A case-insensitive, comma-separated list of output fields to display.
2421 .Bl -tag -width POSSIBLE
2437 .Sq -- .
2441 .Sq --
2447 .Sq --
2450 A comma-separated list of the values the property can have.
2452 .Sq min-max
2455 .Sq --
2471 Display using a stable machine-parsable format.
2484 A comma-separated list of properties to show.
2488 .Nm Cm create-secobj
2490 .Op Fl R Ar root-dir
2515 12345 and 0x3132333435 are equivalent 5-byte keys
2523 .Pq Wi-Fi Protected Access
2528 .Bl -tag -width 4n
2540 .Fl R Ar root-dir ,
2541 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2554 .Nm Cm delete-secobj
2556 .Op Fl R Ar root-dir
2563 .Bl -tag -width 4n
2568 .Fl R Ar root-dir ,
2569 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2576 .Nm Cm show-secobj
2592 .Bl -tag -width 4n
2597 A case-insensitive, comma-separated list of output fields to display.
2600 .Bl -tag -width OBJECT
2607 Display using a stable machine-parsable format.
2619 .Nm Cm create-vnic
2621 .Op Fl R Ar root-dir
2627 .Cm factory Fl n Ar slot-identifier |
2630 .Op Fl v Ar vlan-id
2632 .Ar vnic-link
2636 .Ar vnic-link
2638 .Bl -tag -width 4n
2643 .Fl R Ar root-dir ,
2644 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2654 .Fl m\~ Ar value | keyword No \&,\~ Fl \&-mac-address Cm = Ar value | Ar keyword
2664 .Bl -tag -width 4n -compact
2665 .It Cm factory Op Fl n Ar slot-identifier
2666 .It Cm factory Op Fl \&-slot Ns Cm = Ns Ar slot-identifier
2680 .Cm show-phys
2684 .It Cm random Op Fl \&-mac-prefix Ns Cm = Ns Ar prefix
2698 .It Fl v Ar vlan-id
2701 .Ar vlan-id .
2707 A comma-separated list of properties to set to the specified values.
2710 .Nm Cm delete-vnic
2712 .Op Fl R Ar root-dir
2713 .Ar vnic-link
2717 .Bl -tag -width 4n
2722 .Fl R Ar root-dir ,
2723 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2730 .Nm Cm show-vnic
2735 .Op Ar vnic-link
2741 .Ar vnic-link .
2742 .Bl -tag -width 4n
2747 A case-insensitive, comma-separated list of output fields to display.
2756 .Cm show-vnic
2758 .Bl -tag -width MACADDRTYPE
2771 .Bl -tag -width factory
2783 Display using a stable machine-parsable format.
2805 .Nm Cm create-etherstub
2807 .Op Fl R Ar root-dir
2812 .Bl -tag -width 4n
2817 .Fl R Ar root-dir ,
2818 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2829 .Nm Cm delete-etherstub
2831 .Op Fl R Ar root-dir
2836 .Bl -tag -width 4n
2841 .Fl R Ar root-dir ,
2842 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2849 .Nm Cm show-etherstub
2857 .Nm Cm create-iptun
2859 .Op Fl R Ar root-dir
2867 .Ar iptun-link
2871 .Ar iptun-link .
2882 .Bl -tag -width 4n
2887 .Fl R Ar root-dir ,
2888 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2893 .It Fl T Ar type , Fl \&-tunnel-type Ns Cm \&= Ns Ar type
2896 .Bl -tag -width 4n
2898 A point-to-point, IP-over-IP tunnel between two IPv4 nodes.
2901 IPv4-over-IPv4 and IPv6-over-IPv4 tunneling configurations.
2903 A point-to-point, IP-over-IP tunnel between two IPv6 nodes as defined in IETF
2907 IPv4-over-IPv6 and IPv6-over-IPv6 tunneling configurations.
2909 A 6to4, point-to-multipoint tunnel as defined in IETF RFC 3056.
2924 .Nm Cm modify-iptun
2926 .Op Fl R Ar root-dir
2933 .Ar iptun-link
2937 .Bl -tag -width 4n
2942 .Fl R Ar root-dir ,
2943 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2951 .Cm create-iptun
2956 .Cm create-iptun
2960 .Cm delete-iptun
2962 .Op Fl R Ar root-dir
2963 .Ar iptun-link
2967 .Bl -tag -width 4n
2972 .Fl R Ar root-dir ,
2973 .Fl \&-root-dir Ns Cm = Ns Ar root-dir
2980 .Nm Cm show-iptun
2983 .Op Ar iptun-link
2987 .Bl -tag -width 4n
2991 Display using a stable machine-parsable format.
3003 A case-insensitive, comma-separated list of output fields to display.
3011 .Cm show-iptun
3013 .Bl -tag -width SOURCE
3020 .Cm create-iptun .
3024 .Bl -tag -width 4n
3029 .D1 ipsecconf -ln -i tunnel-link
3050 .Nm Cm create-overlay
3080 For example, the default port for VXLAN comes from its IANA standard.
3083 .Bl -tag -width 4n
3099 The search plugin determines how non-local targets are found and where packets
3107 A comma-separated list of properties to set to the specified values.
3120 .Nm Cm delete-overlay
3127 .Bl -tag -width 4n
3133 .Nm Cm modify-overlay
3137 .Fl s\~ Ar mac Cm \&= Ar ip Cm \&: Ar port
3154 .Bl -tag -width 4n
3155 .It Fl d Ar mac , Fl \&-delete-entry Ns Cm \&= Ns Ar mac
3162 .It Fl f , \&-flush-table
3167 .Fl \&-set-entry Ns Cm = Ns Ar mac Ns Cm = Ns Ar value
3175 The value may be a combination of a MAC address, IP address, and port.
3179 .Oo Em mac Cm \&, Oc Oo Em IP Cm \&: Oc Op Em port .
3190 .Nm Cm show-overlay
3213 .Bl -tag -width PROPERTY
3221 .Sq r-
3227 .Sq -- .
3233 .Sq --
3236 A comma-separated list of the values the property can have.
3238 .Sq min-max
3240 .Sq --
3247 .Bl -tag -width PROPERTY
3259 .Sq -- .
3268 .Bl -tag -width PROPERTY
3280 .Cm show-overlay
3282 .Bl -tag -width 4n
3289 A case-insensitive, comma-separated list of output fields to display.
3303 Display using a stable machine-parsable format.
3317 .Nm Cm show-usage
3334 .Bl -tag -width 4n -compact
3372 subcommands have an option that displays output in a machine-parsable format.
3402 .Bl -tag -width 4n
3403 .It Sy allowed-ips
3404 A comma-separated list of IP addresses that are allowed on the interface.
3409 e.g. 192.168.10.0/24 means any address in the range 192.168.10.0 -
3415 It is a space-delimited list of modules.
3430 The value can be a comma-separated list of one or more processor ids.
3455 Only non-VLAN, non-VNIC type links have this property.
3463 Only non-VLAN, non-VNIC type links have this property.
3494 This mode is appropriate for point-to-point links connected only to end nodes.
3495 Only non-VLAN, non-VNIC type links have this property.
3512 Only non-VLAN, non-VNIC type links have this property.
3515 disables the bridge forwarding of untagged packets to and from the port.
3519 .It Sy promisc-filtered
3529 Sets the STP and RSTP Port Priority value, which is used to determine the
3530 preferred root port on a bridge.
3549 Enables or disables bridge edge port detection.
3553 the system assumes that the port is connected to other bridges even if no
3559 Sets bridge point-to-point operation mode.
3567 point-to-point connections are automatically discovered.
3570 the port mode is forced to use point-to-point.
3573 the port mode is forced to use normal multipoint mode.
3585 .Bl -bullet
3591 The bridge force-protocol value is at least 2
3606 Possible values consist of any exclusive-IP zone currently running on the
3615 .Bl -tag -width 4n
3629 .Pq performance-sensitive power management .
3645 .Cm show-linkprop
3650 .Ss "Ethernet Link Properties"
3653 are supported in read-only mode:
3655 .Bl -bullet -offset 4n -compact
3691 controlling parameters used at auto-negotiation.
3701 parameters are marked read-only, with an additional set of
3711 is a 0/1 switch that turns off/on auto-negotiation itself, and therefore cannot
3714 In addition, the following Ethernet properties are reported:
3715 .Bl -tag -width 4n
3717 .Pq read-only
3723 Valid range is 68-65536.
3725 Establishes flow-control modes that will be advertised by the device.
3727 .Bl -tag -width 4n
3746 .Bl -tag -width 4n
3752 Allow Reed-Solomon FEC code.
3753 .It Sy base-r
3754 Allow Base-R
3765 .Cm base-r .
3772 .Pq read-only
3774 .It Sy secondary-macs
3775 A comma-separated list of additional MAC addresses that are allowed on the
3781 .Bl -tag -width 4n
3784 .Bl -bullet -offset 4n
3793 non-zero priority, the priority is honored and included in the VLAN tag.
3799 .Pq read-only
3800 The current type of media that the Ethernet link is using, if known.
3801 For example, this would be something like 1000BASE-T, 25GBASE-CR, 100GBASE-KR4,
3806 .Bl -tag -width 4n
3823 To configure a data-link over an aggregation of devices
3828 .Bd -literal -offset indent
3829 # dladm create-aggr -d bge0 -d bge1 1
3839 .Cm connect-wifi
3842 .Bd -literal -offset indent
3843 # dladm connect-wifi
3852 .Bd -literal -offset indent
3853 # dladm create-secobj -c wep mykey
3856 Alternatively, to non-interactively create the WEP key
3859 .Bd -literal -offset indent
3864 # dladm create-secobj -c wep -f /tmp/mykey.$$ mykey
3878 .Bd -literal -offset indent
3879 # dladm connect-wifi -k mykey -e wlan ath0
3890 .Bd -literal -offset indent
3891 # dladm set-linkprop -p powermode=fast pcwl0
3895 Connecting to a WPA-Protected WiFi Link
3900 .Bd -literal -offset indent
3901 # dladm create-secobj -c wpa psk
3911 .Bd -literal -offset indent
3912 # dladm connect-wifi -k psk -e wlan ath0
3923 .Bd -literal -offset indent
3924 # dladm rename-link bge0 mgmt0
3937 .Bd -literal -offset indent
3938 # dladm rename-link ce0 mgmt0
3954 .Bd -literal -offset indent
3955 # dladm delete-phys mgmt0
3964 .Bd -literal -offset indent
3965 # mtu=`dladm show-link -p -o mtu net0`
3972 .Bd -literal -offset indent
3973 # dladm show-link -p -o link,state | \e
3988 .Bd -literal -offset indent
3989 # dladm create-vnic -l bge0 hello0
3990 # dladm create-vnic -l bge0 test1
4004 a high priority VNIC with a factory-assigned MAC address with a maximum
4010 .Bd -literal -offset indent
4011 # dladm create-vnic -l bge0 -m factory \e
4012 -p maxbw=50,priority=high hello0
4013 # dladm create-vnic -l bge0 -m random \e
4014 -p maxbw=100M,priority=low test1
4021 .Bd -literal -offset indent
4022 # dladm show-phys -m bge0
4033 .Bd -literal -offset indent
4034 # dladm create-vnic -l bge0 -m factory -n 1 hello0
4035 # dladm show-phys -m bge0
4044 Creating a VNIC with User-Specified MAC Address, Binding it to Set of
4050 .Bd -literal -offset indent
4051 # dladm create-vnic -l bge0 -m 8:0:20:fe:4e:b8 \e
4052 -p cpus=0,1,2,3 hello0
4060 .Bd -literal -offset indent
4061 # dladm create-etherstub stub1
4073 .Bd -literal -offset indent
4074 # dladm create-vnic -l stub1 hello0
4075 # dladm create-vnic -l stub1 test1
4083 .Bd -literal -offset indent
4084 # acctadm -e basic -f /var/log/net.log net
4093 .Cm show-usage
4095 .Bd -literal -offset indent
4096 # dladm show-usage -f /var/log/net.log
4105 .Cm show-bridge
4107 .Bd -literal -offset indent
4108 # dladm show-bridge
4113 # dladm show-bridge -l foo
4118 # dladm show-bridge -s foo
4122 # dladm show-bridge -ls foo
4127 # dladm show-bridge -f foo
4129 8:0:20:bc:a7:dc 10.860 -- hme0
4130 8:0:20:bf:f9:69 -- L hme0
4131 8:0:20:c0:20:26 17.420 -- hme0
4132 8:0:20:e5:86:11 -- L qfe1
4142 .Bd -literal -offset indent
4143 # dladm create-iptun -T ipv4 -s 66.1.2.3 -d 192.4.5.6 mytunnel0
4144 # dladm show-iptun mytunnel0
4146 mytunnel0 ipv4 -- 66.1.2.3 192.4.5.6
4149 A point-to-point IP interface can then be created over this tunnel link:
4150 .Bd -literal -offset indent
4167 .Bd -literal -offset indent
4168 # dladm create-iptun -T 6to4 -s 75.10.11.12 sitetunnel0
4169 # dladm show-iptun sitetunnel0
4171 sitetunnel0 6to4 -- 75.10.11.12 --
4175 .Bd -literal -offset indent