Выбор PoE адаптера для маршрутизатора MikroTik
Сначала нужно определить с каким напряжением по POE работает маршрутизатор MikroTik. Данную информацию можно всегда получить на официальном сайте MikroTik routerboard.com.
Возьмем, к примеру, маршрутизатор RB751U-2HnD. В таблице с техническими характеристиками находим следующую строку: PoE 8-30V DC on Ether1. Это говорит о том, что данный роутер поддерживает POE питание с постоянным напряжением от 8В до 30В на первом сетевом порту.
Если будет еще надпись (Non 802.3af) или будет указано 802.3af supportNo, то данный роутер не работает с POE адаптерами, поддерживающими стандарт 802.3af. Поэтому при покупке POE блока питания нужно проверить, чтобы он не работал по стандарту 802.3af.
Выбор POE адаптера на 8 В или 30 В зависит от того, какой длины сетевой кабель «витая пара» вы будете использовать.
Чтобы избежать проблем с питанием, мы рекомендуем всегда использовать медную (не омедненную, не биметалл) экранированную витую пару FTP с экранированными коннекторами.
Ниже в таблице указана различная длина сетевого кабеля «витая пара» и модели POE адаптеров, которые рекомендуется использовать при данной длине кабеля.
Длина сетевого кабеля | Модель PoE | Параметры PoE |
---|---|---|
до 20 метров | Блок питания 12V 1A с PoE инжектором | 12В, 1A |
до 30 метров | Ubiquiti POE-15 | 15В, 0.8A |
до 40 метров | Блок питания 18V 1A с PoE инжектором | 18В, 1A |
до 60 — 80 метров | Ubiquiti POE-24 | 24В, 0.5A — 1А |
POE инжектор Ubiquiti оснащается сетевой вилкой с заземлением. Поэтому если у вас в розетке 220 В есть заземление (в старых домах большая редкость), то вы сможете заземлить экранированную витую пару через заземление розетки 220 В. Это позволит защитить сетевые порты устройства от грозы и других видов статического напряжения.
Mikrotik hex poe lite. обзор от вива-телеком
PoE Configuration is supported on all MikroTik devices with PoE-Out interfaces, the configurations can be edited from the RouterOS and SwOS interfaces.
RouterOS
Usage
RouterOS provides an option to configure PoE-Out over Winbox, Webfig and CLI, basic commands using the CLI are
Property | Description |
---|---|
print () | Prints PoE-Out related settings. |
export () | export is displayed under menu. |
monitor (string| interface) | Shows poe-out-status of a specified port, or all ports with command. |
power-cycle (time:0..1m |; Default: 5s) | Disables PoE-Out power for a specified period of time. |
Global Settings
Some MikroTik PoE-Out devices support global PoE setting which can be configured under menu.
Global setting ether1-poe-in-long-cable feature disables strict input/output current monitoring (short detection) to allow the use of PoE-Out with long ethernet cables and/or avoiding improper short-circuit detection.
Property | Description |
---|---|
ether1-poe-in-long-cable (yes | no) | Setting it to «yes» will disable short detection on all poe-out ports. This is potentially dangerous settings and should be used with caution |
Note: Global setting of ether1-poe-in-long-cable can also affect PoE-Out behaviour on PSE which is powered using a DC connector
Port Settings
PoE-Out can be configured under menu. Each port can be controlled independently.
- auto-on — the board will attempt to detect if power can be applied on the port. For power-on to happen there should be resistance on spare pairs in the range from 3kΩ to 26.5kΩ
- forced-on — detection range is removed. As a result power over Ethernet will be always on
- off — all detection and power is turned off for this port
Highest priority is 0, lowest priority is 99. If there are 2 or more ports with the same priority then port with the smallest port number will have a higher priority. For example, if ether2 and ether3 have the same priority and over-current is detected then PoE-Out on ether3 will be turned off.
Power-cycle settings
RouterOS provides a possibility to monitor PD using a ping, and power-cycle a PoE-Out port when the host does not respond. power-cycle-ping feature can be enabled under menu.
- PoE Out — Change between modes (auto/on/off)
- PoE Priority — Change the of port (0…8)
- Voltage Level — Change between two voltage outputs on PoE-Out ports (auto/low/high)
PoE-Out Monitoring
RouterOS
MikroTik devices with PoE-Out controller (not injector) provides port monitoring option.
- powered-on — Power is applied to the port, and PoE-Out is operating normally,
- waiting-for-load — PSE attempts to detect if power can be applied to the port. For power-on to happen there should be resistance on spare pairs in the range from 3kΩ to 26.5kΩ;
- short-circuit — Short-circuit is detected on PoE-Out port, power is switched off, the only detection with low voltage takes place.
- overload — The PoE-Out current limit is exceeded, power is switched off on PoE-Out port. For port limits see each model specifications.
- voltage-too-low — PD can not be powered with voltage provided from PSE.
- current-too-low — current-too-low means that PD draws too low current (<10mA) than normal PoE-Out device should, reason for this can be:
Delivered voltage at PD is too low for normal powering (for example Vmin = >30V, but provided 24V);
PD uses second power source which has a higher voltage than PSE, so all current is taken from second DC source, not PSE PoE-Out port;
off — all detection and power is turned off for this port;
If feature is used, will show additional fields:
SNMP OID tables:
- 1.3.6.1.4.1.14988.1.1.15.1.1.1 — interface id
- 1.3.6.1.4.1.14988.1.1.15.1.1.2 — interface names
- 1.3.6.1.4.1.14988.1.1.15.1.1.4 — voltage in dV (decivolt)
- 1.3.6.1.4.1.14988.1.1.15.1.1.5 — current in mA
- 1.3.6.1.4.1.14988.1.1.15.1.1.6 — power usage in dW (deviwatt)
SNMP values can be requested also from the RouterOS, for example, will print current mA from all available PoE-Out ports:
To get very specific OID value, use tool (displays current mA on ether3 interface):
A PoE-Out controller will enable certain monitoring features also from SwOS, such as PoE-Out Status, PoE-Out Current, PoE-Out Voltage and PoE-Out Power usage.
All PoE-Out configuration and monitoring is located on one page, under PoE tab :
Эксклюзивный обзор Mikrotik hEX PoE lite от ЗАО «Вива-Телеком»
«Комплект поставки PoE маршрутизатора Mikrotik hEX PoE lite.В комплект входит:1. Маршрутизатор2. Кабель питания и блок питания3
Руководство эксплуатации.Все лаконично, ничего лишнего.»
«Передняя панель роутера Mikrotik hEX PoE lite.Все сетевые порты роутера расположены на передней панели.Слева направо расположены разъем питания, кнопка RESET, индикатор питания, индикатор активности и 5 портов 10/100 Mbit/s Ethernet с Auto-MDI/X.Пройдемся немного по сетевым портам, через первый порт можно запитать само устройство, если у вас есть коммутатор с PoE интерфейсом, то это легко организовать когда рядом с роутером нет розеток.Последующие порты со 2 по 5 могут сами запитывать другие устройства, буль то точки доступа, IP-телефоны и прочие устройства.Обратите внимание, что один порт может выдать до 1 А или 2 А на все порты.То есть если вам необходимо запитать 4 сторонних устройства, то максимально нагружать порты можно по 0.5A на один порт, итого чтобы было не более 2А, иначе ваши устройства просто не запустятся.Особенно это стоит учесть при выборе данного маршрутизатора когда к нему планируется подключать IP-видеокамеры.»
«Маршрутизатор Mikrotik hEX PoE lite оснащен портом USB для подключения интернет модема или другого устройства.Порт расположен на правой стороне корпуса, если смотреть на лицевую панель устройства.»
«Нижняя часть корпуса Mikrotik hEX PoE lite.Здесь видим множество вентиляционных отверстий для лучшего охлаждения платы.Наклейка с указанием модели устройства, серийный номер и прочая техническая информация.На нижней поверхности производитель предусмотрел резиновые противоскользящие ножки, спасут от царапин лакированную поверхность стола и не дадут соскользнуть устройству с наклонной поверхности.С помощью 4х позиционных креплений можно закрепить устройство на стене любой стороной, то есть выход портов расположить как направо или налево, так и вниз или вверх направлен, очень хорошая задумка производителя.»
«Печатная плата Mikrotik hEX PoE lite, вид сзади.»
«Монтаж выполнен аккуратно, нареканий нет, плата чистая, потеков флюса или наплывов припоя нет.»
«Распайка USB порта на плате hEX PoE lite.»
«Расположение сетевых портов на плате Mikrotik hEX PoE lite.»
«Мощный блок питания для Mikrotik hEX PoE lite.Характеристики блока:Входящее напряжение 100
240V, 50/60 HzНа выходе блока питания уже будет DC 24V, 2.5 A »
Обзоры других сетевых маршрутизаторов Mikrotik от ЗАО «Вива-Телеком»
Обзор Mikrotik hAP ac lite tower10 фото в обзоре | Обзор Mikrotik RouterBOARD-750UP6 фото в обзоре | Обзор Mikrotik RouterBOARD-RB951G-2HnD6 фото в обзоре |
Обзор Mikrotik RouterBOARD-RB2011iLS-IN8 фото в обзоре | Обзор Mikrotik RouterBOARD-RB1100AHx23 фото в обзоре | Обзор Mikrotik hEX10 фото в обзоре |
Контакты полностью | Краснодар(861) 945-35-55krasnodar@viva-telecom.orgМосква(499) 392-10-00msk@viva-telecom.org Омск(3812) 50-60-00omsk@viva-telecom.orgСтатус счета |
Контакты и поддержкаНовости от 12.08.2020Наши преимуществаО компанииОплатаДоставка
КраснодарСолнечная, д. 4Б, офис 200+7 (861) 945-35-55krasnodar@viva-telecom.orgМоскваМО, Подольск, Рощинская, 22А, офис 302+7 (499) 392-10-00msk@viva-telecom.orgОмск7-я Северная, д. 186+7 (3812) 50-60-00omsk@viva-telecom.org
Перейти в корзину |
Перейти в закладки |
Оборудование и решения профессионалов. 11 лет успешной работыФлагманский сайт и онлайн-магазин компании Вива-Телеком |
Troubleshooting
In cases where a PD does not power-up or reboots unexpectedly when powered from your PSE, it’s suggested to first check:
- PD supported input voltage — PSE output voltage must be in the range supported by the PD. Otherwise the PD is incompatible with the PSE, and will not be able to power-up. Check the PD datasheet.
- PD supported input PoE-in standard — Some PDs do not support af/at standard even if it has PoE-in support up to 57 V, check PD datasheet.
- PD is rebooted from PSE
- Check if PD does not exceed PoE-Out port limit and Total-PoE-Out port limit of the PSE, check PSE datasheet.
- Check if Voltage limit does not drop bellow supported (Can be caused by voltage drop on the wires).
- Check if you are using a proper power supply, the output power of PSU should be calculated from:
- Check if you are using good quality ethernet cables, it’s important especially in cases if PoE is used.
- There can be cases where a PD does not power up, even though it supports passive PoE, and does not consume more power than the specified PSE port limit. This can be caused by inrush current triggering overcurrent protection on the PSE. Make sure that PD specification supports powering from PSE (not only from passive power injector)
- Polarity — Devices with opposite or different pinout can be unable to powerup from all PSE. Check PD datasheet.
- Incompatible resistance — PD resistance on spare pairs should have range from 3kΩ to 26.5kΩ (For Passive-PoE) and from 23.75kΩ to 26.25kΩ on af/at.
PoE Out examples
RouterOS allows to define priorities on PoE-Out ports, so if your installation is going over power budget, the PSE will disable less important PD with the lowest priority.
Priority of is the highest priority, 99 — lowest
Setting up priority
Example of how to set priorities from CLI:
What will happen when power budget will go over total PoE-Out limit — first, if overload is detected, ether5 will be turned off (lowest priority), then recheck is done and if still total limit overload is detected next port in priority will be turned off, in this example, ether3 will be turned off. Both of these ports will be reached every few seconds to check if it is possible to turn PoE-Out on for these ports. Power up will happen in reverse order as the power was cut.
Same priority
if all, or some ports will have the same poe-priority, then port with the lowest port number will have higher priority
In this example, if the total PoE-Out limit is reached ether5 will be turned off first, then ether4 then ether3 as all of these ports have same poe priority.
Monitoring PoE-Out
PoE-Out ports can be monitored using a command
Power-cycle ping
Monitor connected PD with power-cycle-ping feature:
In this example, PD attached to ether1 will be continuously monitored using a power-cycle-ping feature, which will send ICMP ping requests and wait for a reply. If PD with IP address 192.168.88.10 will not respond for more than 30s, the PoE-Out port will be switched off for 5s.
How it works
PoE-Out Modes
auto-on mode
If auto-on is selected on PoE-Out interface, then port operates in this strict order:
- PSE with low voltage checks for a resistance on the connected port. If detected resistance range is between (3kΩ to 26.5kΩ) power is turned on;
- When power is applied, the PSE continuously checks if overload limit is not reached or short circuit detected
- If the cable is unplugged, the port returns in detection state and will remain off until suitable PD is detected
forced-on mode
If forced-on is selected then port operates in this strict order:
- PSE disables resistance check on the port, and apply power on pins 4,5 (+) and 7,8 (-), even if no cable is attached
- When power is applied, PSE still continuously checks if an overload or short circuit is not detected
- After the cable is unplugged, the power still remains enabled on the port.
off mode
If off mode is used, PoE-Out on the port will be turned off, no detection will take place, and interface will behave as a simple Ethernet port.
PoE-Out limitations
It is important to check PoE-Out specification to find out hardware limitations because it can differ between models
PoE-Out port limitation
PoE-Out ports are limited with max amp values which are supported in particular voltage, usually max current will differ for low voltage devices (up to 30 V), and for high voltage devices (31 to 57 V).
PoE Out polarity
Note: Passive PD with high input inrush current can result in overcurrent protection on PSE, make sure that PD specification supports powering from PSE (not only from the passive power injector)
Safety
PSE has following safety features:
PoE-Out compatibility detection
The auto-on mode is considered safe, it will check if the resistance on the port is within allowed range and only then enable PoE out on the interface. The range is 3kΩ to 26.5kΩ
Overload protection
When a PoE-Out port is powered-on, it is constantly checked for overload. If overload is detected, PoE-Out is turned off on the port to avoid damage to the PD or PSE.
In seconds the PoE Out feature will be turned on again to see if the environment has changed and PD can be supplied with power again. That is important for configurations that are not connected to mains (solar installations, equipment running on batteries due to mains failure) so that when voltage drops — overload will be detected and connected devices turned off. After a while when voltage level returns to usual operating value — connected equipment can be powered up again.
Short circuit detection
When power is enabled on PoE-Out port, PSE continuously checks for a short circuit. If it is detected to ensure that there is no additional damage on PD and PSE, the power is turned off on all ports. PSE will continue to check PoE-Out port until environment returns to normal.
Warning: Make sure that non-standard incompatible PD which does not have the resistance range 3kΩ to 26.5kΩ are not attached, so the PSE would not try to apply power on them
Эксклюзивный обзор Mikrotik hEX-PoE от ЗАО «Вива-Телеком»
«В комплект поставки PoE маршрутизатора Mikrotik hEX PoE (RB960PGS) входит:1. Коммутатор2. Блок питания3. Краткая инструкция пользователя.»
«Передняя панель Mikrotik hEX PoE, по порядку укажем все разъемы, слева направо:1. Разъем питания2. SFP порт3. ЕTH порты 1-5На портах ETH остановимся немного подробней, через 1 PoE порт можно запитать сам роутер Mikrotik hEX PoE, а остальные порты со 2 по 5 уже сами могут запитать какое нибудь стороннее устройство, будь то точка доступа, телефон, роутер или другое совместимое PoE устройство.SFP порт работает на скоростях 1.25G и поддерживает SFP трансиверы как своего производства, так и стороннего (по совместимости сторонних, лучше проверить на сайте производителя маршрутизатора).»
«USB 2.0 порт в Mikrotik hEX PoE RB960PGS и кнопка RESET.»
«На нижней части корпуса маршрутизатора Mikrotik hEX PoE по периметру расположены резиновые ножки, не позволят поцарапать стол и сам пластиковый корпус не будет скользить.А с помощью четырех позиционных креплений можно закрепить корпус роутера на стене, повернув в любую сторону портами.Вентиляционные отверстия улучшат охлаждение платы за счет притока воздуха.»
«На верхней панели расположены индикаторы активности маршрутизатора, здесь и индикатор питания устройства, индикатор активности, работы SFP порта и индикаторы обычных ETH портов.»
«Открыв корпус роутера видим, что ETH порты роутера Mikrotik hEX PoE в металлическом корпусе.»
«Печатная плата Mikrotik hEX PoE RB960PGS вид сверху»
«Распаянные на плате порт USB и кнопка RESET.»
«Печатная плата Mikrotik hEX PoE RB960PGS вид снизу.»
«Блок питания для маршрутизатора Mikrotik hEX PoE (RB960PGS) со следующими выходными характеристиками:24В, 2,5А.»
MikroTik supported PoE-Out standards
MikroTik devices can support some or all of the following PoE standards:
Passive PoE-Out up to 30 V — PoE standard, which does not require negotiation between PSE (Power Sourcing Equipment) and PD (Powered Device). For PoE-out uses the same voltage as supplied to the PSE (Power Sourcing Equipment). PoE-Out Standard for devices which supports input voltage up to 30 V. PD resistance on spare pairs should have range from 3kΩ to 26.5kΩ. (e.g. hEX PoE lite, RB3011UiAS-RM, RB2011iL-IN.)
Passive PoE-Out up to 57 V — Works same as low voltage (up to 30 V) PoE-Out, but is also capable to deliver high voltage over PoE ports. The output voltage depends from the power source connected to PSE. Can power up af/at compatible devices, which accepts power over 4,5 (+) and 7,8 (-), and does not require PoE negotiation. PD resistance on spare pairs should have range from 3kΩ to 26.5kΩ. (e.g. cAP ac, hAP ac, wsAP ac lite.)
IEEE Standards 802.3af/at — Also called PoE Type 1/PoE+ Type 2, are PoE standards Defined by the IEEE. The aim of these standards is to reduce incompatibility between vendors. MikroTik PSE with af/at support is capable of powering both a Type 1 and a Type 2 PD. Valid PD should have PoE-In resistance from 23.75kΩ to 26.25kΩ. MikroTik devices which support af/at standard can also switch to Passive PoE-Out mode. (e.g. hEX PoE, CRS112-8P-4S-IN, CRS328-24P-4S+RM.)
Each PoE-Out implementation supports overload and short-circuit detection.
Note: Some MikroTik devices support all of the described standards (e.g. hEX PoE, PowerBOX Pro, CRS112-8P-4S-IN etc…)
PoE-Out notifications
PoE-Out LEDs
Models with dependant voltage output
PoE-Out LED behaviour can differ between models, but most of them will indicate PoE-Out state on one additional LED. Devices with one voltage output will light:
- Red colour LED — PoE-Out port state is powered-on (auto or forced-on mode).
- Blinking Red colour LED — PoE-Out port state is short-circuit
Models with selectable voltage output
Models with multiple voltage options can indicate additional information:
- Green colour triangle LED — PoE-Out port state is powered-on (auto or forced-on mode), PD uses low voltage.
- Red colour triangle LED — PoE-Out port state is powered-on (auto or forced-on mode), PD uses high voltage (af/at or passive).
- Blinking Green colour triangle LED — PoE-Out port state is short-circuit or overload
- Blinking Red colour triangle LED — PoE-Out port state is short-circuit or overload
Model-specific LED behaviour
PoE-Out Logs
To avoid unnecessary logging in cases when PD is not powered because of current-too-low, RouterOS will filter such events, and add one log per every 512 current-too-low events.
Logs can be disabled if necessary:
PoE-Out Warnings in GUI/CLI
To notify a user about important PoE-Out related problems, messages will be shown in Winbox / Webig and CLI interface fields:
Mikrotik poe priority что это
RB750UP Настройка И Тест POE
НАЧНЕМ ТЕСТ RB750 UP:
Решили начать с беспроводного оборудования, долго не искали взяли Ubiquiti Nanostation2 — требует 12V 1A. Подключаем точку доступа и..ничего..питание не пошло..сразу поняли в чем дело. Заходим на наш Микротик и в разделе Interface -> закладка Generalвключаем подачу питания РОЕ:
Коммутатор mikrotik routerboard 260gs 5 x rj45
An access control list (ACL) rule table is very powerful tool allowing wire speed packet filtering, forwarding and VLAN tagging based on L2,L3 protocol header field conditions. SwOS allow you to implement limited number of access control list rules (32 simple rules (only L2 conditions are used); 16 rules where both L2 and L3 conditions are used; or 8 advanced rules where all L2,L3 and L4 conditions are used). Each rule contains a conditions part and an action part.
Access Control List settings
Conditions part parameters
VLAN header presence:
- any
- present
- not present
Action part parameters
Property | Description |
---|---|
Redirect To | Whether to force new destination ports. If is enabled and no ports specified in , packet will be dropped |
Redirect To Ports | Destination ports |
Mirror | Clones packet and sends it to mirror-target port |
Rate | Limits bandwidth (bps) (only supported on RB260GS/RB260GSP) |
Set VLAN ID | Changes the VLAN tag ID, if VLAN tag is present |
Priority | Changes the VLAN tag priority bits, if VLAN tag is present |
Summary
SwOS is an operating system designed specifically for administration of MikroTik switch products.
SwOS is configurable from your web browser. It gives you all the basic functionality for a managed switch, plus more: allows to manage port-to-port forwarding, broadcast storm control, apply MAC filter, configure VLANs, mirror traffic, apply bandwidth limitation and even adjust some MAC and IP header fields.
Warning: Each RouterBOARD switch series have their own firmware which cannot be installed on other series models! In case wrong installation is accidentally done, correct firmware has to be reinstalled following instructions from «Reinstall SwOS firmware» section below.
- RB250GS supports SwOS v1.0 till v1.17.
- RB260GS supports SwOS v1.7 till v1.17.
- RB260GSP supports SwOS v1.11 till v1.17.
- new RB260GS (CSS106-5G-1S), new RB260GSP (CSS106-1G-4P-1S) supports SwOS v2.0 and newer. See CSS106 series manual.
Link Tab
Link Tab allows you to:
- Configure Ethernet ports
- Monitor status of Ethernet ports
Link settings
Property | Description |
---|---|
Enabled | Enable or disable port |
Link Status | Current link status (read-only) |
Auto Negotiation | Enable or disable auto negotiation |
Speed | Specify speed setting of the port (requires auto negotiation to be disabled) |
Full Duplex | Specify duplex mode of the port (requires auto negotiation to be disabled) |
Flow control | Enable or disable 802.3x Flow control |
PoE (RB260GSP only)
PoE settings configure Power over Ethernet output on RB260GSP port2-port5 and show PoE status and measurements.
RB260GSP PoE Out settings
Sets PoE out mode of the port:
- — All detection and PoE out is turned off
- — Detection is done regarding resistance on the spare pairs to check if port has PoE capability. For port to be turned on measured value should be within range from 3kΩ to 26.5kΩ
- — PoE out is enabled regardless of the resistance on the port. Use this with caution as that can damage connected equipment!
- — Manual port PoE out recalibration. It may be necessary if there are ocasional problems with powering connected devices.
Current PoE out status of the port (read-only):
- — PoE out is turned off
- — «auto» mode detects out of range resistance to turn on PoE out
- — PoE out is turned on
- — If it is detected, PoE out is turned off to ensure that there is no additional damage on powered device and no damage on powering device
- — Not enough voltage supplied to turn on device with PoE out
- — Not enough current supplied to turn on device with PoE out
- — Manual recalibration with «calibr» has detected connected device and waits for disconnection to complete the recalibration process
RB260 series features
- Full non-blocking wirespeed switching
- Up to 2k MAC entries in Host table
- Forwarding Database works based on SVL or IVL
- Port Isolation
- Port Lock
- Jumbo frame support — 9198 bytes
- Fully compatible with IEEE802.1Q
- Port based VLAN
- VLAN filtering
- Ingress traffic limiting (by ACL)
- Egress traffic limiting
- Ingress ACL tables
- Up to 32 ACL rules (limited by RouterOS)
- Classification based on ports, L2, L3, L4 protocol header fields
- ACL actions include filtering, forwarding and modifying of the protocol header fields
VLAN Tab
VLAN configuration for switch ports.
VLAN settings
VLAN mode for ingress port:
- — VLAN table is not used. Switch ignores VLAN tag part of tagged packets
- — Handle packets with VLAN tag ID that is not present in VLAN table just like packets without VLAN tag
- — Drop packets with VLAN tag ID that is not present in VLAN table. Packets without VLAN tag are treat as tagged packets with
- — Same as , but also checks VLAN support for inbound interface (drop packets with VLAN tag ID and ingress port that are not present in VLAN table)
- — if VLAN header is present it remains unchanged
- — if VLAN header is present it is removed from the packet
- — if VLAN header is not present it is added to the packet (VLAN ID will be of ingress port)
Note: VLAN modes and require VLAN ID 1 in VLANs table to allow access of untagged traffic to switch itself.
VLAN Configuration Examples
Simple trunk and access port configuration, as well as trunk and hybrid port configuration examples can be found in this article — SwOS/RB250-RB260-VLAN-Example.
Настройка коммутатора(свитча) MikroTik CRS309-1G-8S+IN
- →
- →
- →
- →
- →
Система | |
---|---|
Процессор: | 98DX8208 800 MHz, 2 ядра |
RAM: | 512 MB DDR2 |
Flash: | 16 MB |
Разъемы: | 8 × SFP+ cage Gigabit Ethernet (Mini-GBIC; SFP модуль не поставляется) 1 × 10/100/1000 Mbit/s Ethernet with Auto-MDI/X 1 × serial port RJ45 |
ОС: | MikroTik RouterOS Level 5 / SwitchOS |
Дополнительные функции | |
Управление устройством: | WinBox, Web-интерфейс, Terminal |
Другое | |
Электропитание: | DC jack: 12-57V PoE in: 18-57V on Ether1 (802.3af/at или Passive PoE) |
Потребление: | ≤ 23 Вт |
Размеры: | 272 × 158 × 44 мм |
Рабочая температура: | от -40°C до +70°С |
CRS309-1G-8S+IN | |||||||
---|---|---|---|---|---|---|---|
Mode | Configuration | 64 byte | 512 byte | 1518 byte | |||
kpps | Mbps | kpps | Mbps | kpps | Mbps | ||
Switching | Non blocking Layer 2 throughput | 6,583.2 | 79,946.7 | 19,032.0 | 77,954.9 | 120,535.7 | 61,714.3 |
Switching | Non blocking Layer 2 capacity | 6,583.2 | 159,893.4 | 19,032.0 | 155,909.8 | 120,535.7 | 123,428.6 |
Switching | Non blocking Layer 1 throughput | 6,583.2 | 81,000.0 | 19,032.0 | 81,000.0 | 120,535.7 | 81,000.0 |
Switching | Non blocking Layer 1 capacity | 6,583.2 | 162,000.0 | 19,032.0 | 162,000.0 | 120,535.7 | 162,000.0 |
CRS309-1G-8S+IN | 98DX8208 all port test | ||||||
---|---|---|---|---|---|---|---|
Mode | Configuration | 1518 byte | 512 byte | 64 byte | |||
kpps | Mbps | kpps | Mbps | kpps | Mbps | ||
Bridging | none (fast path) | 217,5 | 2641.3 | 231,1 | 946.6 | 243,6 | 124.7 |
Bridging | 25 bridge filter rules | 117,4 | 1425.7 | 117,4 | 480.9 | 145,2 | 74.3 |
Routing | none (fast path) | 207,6 | 2521.1 | 217,6 | 891.3 | 229,5 | 117.5 |
Routing | 25 simple queues | 121,1 | 1470.6 | 122,7 | 502.6 | 145,2 | 74.3 |
Routing | 25 ip filter rules | 83,6 | 1015.2 | 83,1 | 340.4 | 88,9 | 45.5 |
Reset
Reset button
The only button on the SwOS device. It has two functions:
- Hold this button during boot time until LED light starts flashing, release the button to reset SwOS configuration (same result as with reset hole)
- Hold this button during boot time longer, until LED starts to blink twice as fast, and then release it to make the device wait for TFTP firmware upgrade
Jumper reset hole
Located on the bottom of case, behind one of the rubber feet of device – resets SwOS software to defaults. Must short circuit the metallic sides of the hole (with a screwdriver, for example) and boot the device. Hold screwdriver in place until SwOS configuration is cleared.
VLANs Tab
VLAN tables specifies certain forwarding rules for packets that have specific 802.1q tag. Basically the table contains entries that map specific VLAN tag IDs to a group of one or more ports. Packets with VLAN tags leave switch through one or more ports that are set in corresponding table entry. VLAN table works together with destination MAC lookup to determine egress ports. VLAN table supports up to 250 entries.
RB250GS VLANs settings
Property | Description |
---|---|
VLAN ID | VLAN ID of the packet |
Ports | Ports the packet should be mapped to |
RB260GS VLANs tab
RB260GS VLANs settings
Property | Description |
---|---|
VLAN ID | VLAN ID of the packet |
Ports | Each port has individual VLAN header options for each VLAN ID. Depending on VLAN mode if lookup is done in this table, egress action of packets is processed by this option. Egress option from VLAN tab is ignored. |
System Tab
System Tab performs the following functions:
- General information about switch
- Switch management
- Configuration reset
- Backup and restore configuration
- Firmware upgrade
General settings
Note: SwOS uses a simple algorithm to ensure TCP/IP communication — it just replies to the same IP and MAC address packet came from. This way there is no need for Default Gateway on the device itself.
Property | Description |
---|---|
IP Address | IP address of the switch |
Identity | Name of the switch (for Mikrotik neighbor discovery protocol) |
Allow From | IP address from which the service is accessible. Default value is ‘0.0.0.0/0’ — any address |
Allow From Ports | List of switch ports from which the service is accessible |
Allow From VLAN | VLAN ID from which the service is accessible (VLAN Mode on ingress port must be other than in order to connect) |
Watchdog | Enable or disable system watchdog. It will reset CPU of the switch in case of fault condition |
Mikrotik Discovery Protocol | Enable or disable Mikrotik neighbor discovery protocol |
MAC Address | MAC address of the switch (read-only) |
Serial Number | Serial number of the switch (read-only) |
Version | Firmware version of the switch (read-only) |
Uptime | Current switch uptime (read-only) |
Password, Backup and Firmware Upgrade
System management settings
Firmware can be upgraded/downgraded by selecting firmware file and pressing upgrade button. Switch will reboot automatically after successful upgrade.
PoE and Health (RB260GSP only)
RB260GSP PoE and Health settings
FAQ по PoE, часть 2
Технология PoE на данный момент существует в нескольких, кардинально отличающихся видах. Почему так произошло?
К тому времени, как ребята из IEEE решили стандартизировать технологию, а произошло это не сразу после ее появления, некоторые корпорации уже изобрели свои собственные реализации PoE. Cisco, к примеру, еще в 2000 году представила питание устройств по витой паре.
Да и после принятия официальных стандартов IEEE 802.3af в 2003 году, IEEE 802.3at в 2009 году многие производители внедряют свои собственные способы PoE. В основном, потому что реализация полноценных стандартов 802.3af, 802.3at — это сложно и дорого, а потребителям часто нужны модели эконом-класса.
В итоге на данный момент PoE существует в нескольких вариантах:
- по стандарту 802.3af,
- по стандарту 802.3at,
- по фирменным частным стандартам, из которых наиболее известен Passive PoE.
Питание по витой паре согласно стандартам 802.3af, 802.3at называют активным PoE, питание, реализованное по технологии Passive PoE — пассивным.
Реализация питания по витой паре в устройствах может различаться по типу распиновки. А также, в зависимости от напряжения, подаваемого на порт, существует несколько классов PoE.
Все эти данные должны быть указаны в паспорте производителя и помогают правильно подобрать оборудование для проекта.
Стандарты IEEE 802.3af, 802.3at — активное PoE
Главное преимущество PoE-источников, которые поддерживают эти стандарты, это интеллектуальная схема работы. Она позволяет избежать порчи оборудования, продлить срок его службы, сэкономить потребляемую энергию.
Прежде чем подать питание на подключенное устройство, активный PoE-источник (коммутатор или адаптер) стандарта 802.3af/at проводит согласование с ним и устанавливает:
- Поддерживает ли подключенное устройство технологию питания по витой паре. Если нет, электричество по сетевому кабелю подаваться не будет.
- Какое напряжение необходимо устройству. PoE-источник установит его класс питания и подаст соответствующее напряжение на порт.
- Включено ли вообще устройство (потребляет ли оно электроэнергию). Если нет, подача питания по кабелю прекращается.
- Не произошла ли перегрузка питаемого устройства. Если да, подача питания прекращается.
Параметры
Характеристика | Стандарт 802.3af | Стандарт 802.3at (PoE+, PoE plus) |
Диапазон напряжения постоянного тока на питаемом устройстве | от 36 до 57 V (номинальное 48V) | от 42,5 до 57 V |
Диапазон напряжения, выдаваемого источником | от 44 до 57 V | от 50 до 57 V |
Максимальная мощность PoE-источника | 15,4 Вт | 30 Вт |
Максимальная мощность, получаемая PoE-потребителем | 12,95 Вт | 25,50 Вт |
Максимальный ток | 350 mA | 600 mA |
Максимальное сопротивление кабеля | 20 Ом (для cat.3) | 12,5 Ом (для cat.5) |
Классы питания | 0-3 | 0-4 |
Классы питания
Самым распространенным является 1 класс питания.
Класс | Стандарт | Мощность на порт, Вт | Мощность на устройство, Вт |
0 | 802.3af/802.3at | 15,4 | 0,44 — 12,95 |
1 | 802.3af/802.3at | 4,5 | 0,44 — 3,84 |
2 | 802.3af/802.3at | 7 | 3,84 — 6,49 |
3 | 802.3af/802.3at | 15,4 | 6,49 — 12,95 |
4 | 802.3at | 30 | 12,95 — 25,5 |
Passive PoE
Этот тип PoE — удешевленный аналог международных стандартов питания по витой паре. Как мы уже говорили выше, полноценная реализация 802.3af/802.3at сложна и повышает стоимость устройства. Поэтому производители сетевого оборудования эконом-сегмента используют вместо них в своей продукции пассивное питание по витой паре.
Его особенность в том, что источник Passive PoE не опрашивает питаемое устройство и не согласовывает мощность. По свободным проводникам витой пары просто подается постоянное напряжение. Поэтому, если соединить источник PoE и потребитель, несовместимые друг с другом, оборудование может сгореть: сразу или через некоторое время, в результате постоянного перегрева и подгорания плат.
Некоторые производители дополняют технологию Passive PoE полезными функциями. Например, PoE out в устройствах MikroTik способно определять, подключено ли к питаемому порту устройство, выявлять, нет ли перегрузки или короткого замыкания. Кроме того, функциями PoE на большинстве устройств MikroTik можно управлять: включать, отключать их на портах, менять режим и т. п. Речь, конечно идет не о простеньких PoE-шнурах, а о реализации PoE в роутерах, коммутаторах и другом оборудовании производителя.
Источники Passive PoE довольно широко варьируются по напряжению, мощности, силе тока. Чаще всего производители выпускают их под свое оборудование, поэтому в каждом отдельном случае нужно подбирать PoE-источник под конкретные потребности.
Типы распиновки
Для стандарта 802.3af
Тип А. И электричество, и данные подаются по жилам 1, 2, 3, 6. Жилы 5, 7, 8 не используются.
Тип B. Для подачи электропитания используются жилы 4, 5, 7, 8. Данные передаются по остальным.
Для стандарта 802.3at
Применяется только тип B. Использование распиновки типа A запрещено стандартом.
Для Passive PoE:
В большинстве случаев подача электропитания осуществляется по проводникам 4, 5, 7, 8 (как в типе B стандарта 802.3af).
(картинка увеличивается по клику).
Существует также распиновка по третьему типу, когда для подачи питания задействуются все жилы стандартного четырехпарного кабеля, но она встречается реже, обычно в фирменных реализациях PoE, например, UPOE от Cisco.
Если с обеих сторон сети вы устанавливаете оборудование с поддержкой стандартов 802.3af/802.3at, то тип распиновки, фактически не имеет значения, так как устройство-потребитель PoE по стандарту может работать с любой из них. Однако если речь идет о совмещении оборудования разных стандартов, это может быть важным.
Кабель для PoE
От качества кабеля напрямую зависит качество PoE, и то, на какую расстояние его можно провести. Витую пару необходимо подбирать:
- четырехпарную, не ниже cat.5e,
- медную, а не омедненную (не биметалл),
- с толщиной проводников не менее 0,51 мм (24 AWG),
- с сопротивлением проводников не выше 9,38 Ом/100 м (более высокие значения способствуют большей потери мощности в кабеле),
- хорошего производителя.
Отлично подойдут для линка с PoE, к примеру:
-
. . Возможность использования экранированного кабеля нужно уточнять по спецификациям производителя. Например, PoE стандарта 802.3af/802.3atв некоторых моделях MikroTik возможно только с неэкранированной витой парой.
Длина PoE
Согласно стандартов 802.3af и 802.3at длина кабеля для PoE заявляется равной 100 метрам. Однако на практике максимальная длина витой пары PoE зависит от многих факторов, в том числе заранее неизвестных:
- сечения проводников,
- металла проводников,
- количества изгибов на линии,
- наводок, неравномерных характеристик витой пары, перегибов кабеля и пр.
Со скидкой на перегибы и прочее максимальная длина кабеля PoE желательна не более 75 метров. Однако с действительно качественным кабелем, того же Одескабель, к примеру, можно сделать и больший пролет.
Если же мы говорим о Passive PoE, то здесь длина может быть меньше, вплоть до 30-60 метров. Расчет линии надо проводить с учетом: