Date: Fri, 29 Mar 2024 02:44:15 +0200 (EET) Message-ID: <1655940565.49.1711673055904@help.mikrotik.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_48_414110731.1711673055901" ------=_Part_48_414110731.1711673055901 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The PWR-Line series devices allow Ethernet-like connectivity between sup= ported devices over regular power lines. When plugged into the same electri= cal circuit, the PWR-Line devices will establish connectivity by using the = HomePlug AV standard.
arp (disabled | enabled | p= roxy-arp | reply-only; Default: enabled) | Address Resolution Protocol mode:=20
|
bandwidth (integer/integer<= /em>; Default: unlimited/unlimited) | Sets max rx/tx bandwidth in kbps that will be ha= ndled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337= switch-chip ports. |
comment (string; Defau= lt: ) | Descriptive name of an item |
l2mtu (integer [0..65536]= em>; Default: ) | Layer2 Maximum transmission unit. MTU in RouterOS |
mac-address (MAC; Defa= ult: ) | Media Access Control number of an interface. |
mtu (integer [0..65536]; Default: 1500) | Layer3 Maximum transmission unit |
name (string; Default:= ) | Name of an interface |
orig-mac-address (MAC;= Default: ) | |
rx-flow-control (on | off |= auto; Default: off) | When set to on, the port will process received p= ause frames and suspend transmission if required. auto is = the same as on except when auto-negotiation=3Dyes flow con= trol status is resolved by taking into account what the other end advertise= s. The feature is supported on AR724x, AR9xxx, and QCA9xxx CPU ports, all C= CR ports, and all Atheros switch chip ports. |
tx-flow-control (on | off |= auto; Default: off) | When set to on, the port will send pause frames = when specific buffer usage thresholds are met. auto is the= same as on except when auto-negotiation=3Dyes flow contro= l status is resolved by taking into account what the other end advertises. = The feature is supported on AR724x, AR9xxx, and QCA9xxx CPU ports, all CCR = ports, and all Atheros switch chip ports. |
Property | Description |
---|---|
configure () | The command configures the attached PWR-Line dev= ice's network-key, network-password, plc-cco-selection-mode. |
join () | Initiates the pairing sequence which will look f= or other PWR-Line devices in the same electrical circuit that is also in th= e pairing mode. This mode lasts for 60 seconds. |
leave () | Initiates the leaving sequence which essentially= randomizes the device's network-key. |
monitor () | Outputs PWR-Line-related statuses in real-time.<= /td> |
upgrade-firmware () | Upgrades the PWR-Line device with specified firm= ware-file and pib-file files. |
For two or more devices to be able to connect with each other, they must= share the same network-key value. The currently configured network-key can= be seen using the monitor command as plc-actual-network-key.
[admin@MikroTik] > /i= nterface pwr-line monitor pwr-line1=20 name: pwr-line1 connection-to-plc: ok tx-flow-control: no rx-flow-control: no plc-actual-network-key: c973947c200e1540b0f84b571d92bebe plc-hw-platform: QCA7420 plc-sw-platform: MAC plc-fw-version: 1.4.0(24-20180515-CS) plc-line-freq: 50Hz plc-zero-crossing: detected plc-mac: B8:69:F4:C4:34:68
There are two ways to set the same network-key on different devices. You= can either use the network-key parameter which is a hashed version of netw= ork-password parameter. Or use the network-password parameter and let the r= outer apply the hash on a human-readable string.
For example:
/interface pwr-line conf= igure pwr-line1 network-password=3Dmynetwork
is the same as:
/interface pwr-line conf= igure pwr-line1 network-key=3Dcb01fcc6167bf3d1edb1433c2ebde4b3
You must set the same key or password on all devices you wish to communi= cate with each other.
It is possible to use the join and leave com= mands and make the PWR-Line devices automatically synchronize the network-k= ey value. It is advised to use the leave command before using the join comm= and to make sure a new network-key is randomly generated and the device is = not part of any old network.
/interface pwr-line leav= e pwr-line1
Then we can issue the join command. When doing so, the pairing sequence = is enabled for 60 seconds, meaning you have to enable pairing mode on anoth= er device within 60 seconds for them to successfully pair.
/interface pwr-line join= pwr-line1
It is also possible to set a specified role for the PWR-Line device (mas= ter or slave) with the plc-cco-selection-mode parameter.
Property | Description |
---|---|
plc-cco-selection-mode (aut= o | always | never; Default: auto) | Sets PWR-Line device mode:=20
|
Example:
/interface pwr-line conf= igure pwr-line1 plc-cco-selection-mode=3Dauto
/interface pwr-line conf= igure pwr-line1 plc-cco-selection-mode=3Dalways
/interface pwr-line conf= igure pwr-line1 plc-cco-selection-mode=3Dnever
The device is fully compatible with our PWR-= LINE AP and the newest revisions of products that have a MicroUSB port, suc= h as hAP lite, hAP lite tower, hAP mini, mAP, and mAP lite have a pwr-line = interface. A simple software upgrade to v6.44+ enables this feature (suppor= ted by the mentioned devices with serial numbers that end with /9xx). PWR-L= INE functionality is also supported by some previously manufactured units -= if you have a unit with a serial number that ends with /8xx, upgrade to 6.= 44+ and see if the pwr-line interface shows up).