Difference between revisions of "SwOS"

From MikroTik Wiki
Jump to: navigation, search
(Statistics Tab)
 
(117 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{...}}
+
SwOS is an operating system designed specifically for administration of MikroTik switch products.
  
==Summary==
+
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.  
<p>
 
SwOS is an operating system designed specifically for administration of MikroTik  Switch products. 
 
</p>
 
<p>
 
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, apply MAC filter, configure VLANs, mirror traffic, apply bandwidth limitation and even adjust some MAC and IP header fields.
 
</p>
 
  
==Connecting to the Switch==
 
  
<p>Management device should be on the same subnet as Switch. Open your web browser and enter IP address of your Switch (192.168.88.1 by default) and login screen will appear.</p>
+
== MikroTik Switch Manuals ==
 
+
* [[SwOS/RB250_RB260    | RB250/RB260 series Manual]]
[[File:swos_login.png]]
+
* [[SwOS/CSS106          | RB260 (CSS106) series Manual]]
 
+
* [[SwOS/CSS326          | CSS326-24G-2S+ Manual ]]
<p>SwOS default <i>IP address:</i> <b>192.168.88.1</b>, <i>user name:</i> <b>admin</b> and there is no password.
+
* [[SwOS/CRS3xx          | CRS3xx series Manual]]
</p>
+
== List of Examples ==
 
+
* [[SwOS/RB250-RB260-VLAN-Example        | RB250/RB260 port based VLAN configuration ]]
{{ Note | MikroTik neighbor discovery protocol tools can used to discover IP address of Mikrotik Switch. [[Manual:IP/Neighbor_discovery]] }}
+
* [[SwOS/CSS106-VLAN-Example              | RB260 (CSS106) port based VLAN configuration ]]
 
+
* [[SWOS/CSS326-VLAN-Example              | CSS326-24G-2S+/CRS3xx port based VLAN configuration ]]
==Interface Overview==
 
 
 
<p>
 
SwOS interface menu consists of 10 tabs:  Link, Forwarding, Statistics, VLAN, VLANs, Static Hosts, Hosts, SNMP, ACL and System.
 
</p>
 
 
 
<p>
 
Description of buttons in SwOS configuration tool:
 
* <b>Append</b> - add new item to the end of the list
 
* <b>Apply All</b> - applies current configuration changes
 
* <b>Cut</b> - removes item from the list
 
* <b>Clear</b> - resets properties of the item
 
* <b>Discard Changes</b> - removes unsaved configuration
 
* <b>Insert</b> - add new item to the list (places it before current item)
 
* <b>Sort</b> - sort VLAN table by VLAN-IDs; sort host table by MAC addresses
 
<br/>
 
* <b>Change Password</b> - changes password of the switch
 
* <b>Logout</b> - logout from current Switch
 
* <b>Reboot</b> - reboot the switch
 
* <b>Reset Configuration</b> - reset configuration back to factory defaults
 
* <b>Choose File</b> - browse for upgrade file
 
* <b>Upgrade</b> - upgrade firmware of the Switch
 
</p>
 
 
 
==System Tab==
 
<div>
 
<div style="float: left">
 
<p>System Tab performs the following functions:
 
* General information about Switch
 
* Switch management
 
* Configuration reset
 
* Firmware upgrade</p>
 
</div>
 
<div style="float: right;">
 
[[File:swos_system.png|345px|338px]]
 
</div>
 
</div>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>IP Address</b></td><td>IP address of the Switch</td>
 
</tr>
 
<tr>
 
    <td><b>Identity</b></td><td>Name of the Switch</td>
 
</tr>
 
<tr>
 
    <td><b>Allow From</b></td><td>IP address from which the service is accessible. Default value is '0.0.0.0/0' - any address.
 
</td>
 
</tr>
 
<tr>
 
    <td><b>Watchdog</b></td><td>Enable or disable system watchdog. It will reset CPU of the switch in case of fault condition</td>
 
</tr>
 
<tr>
 
    <td><b>MAC Address</b></td><td>MAC address of the Switch (Read-only)</td>
 
</tr>
 
<tr>
 
    <td><b>Version</b></td><td>Firmware version of the Switch</td>
 
</tr>
 
<tr>
 
    <td><b>Uptime</b></td><td>Current Switch uptime</td>
 
</tr>
 
</table>
 
 
 
==Link Tab==
 
<div>
 
<div style="float: left">
 
<p>Link Tab allows you to:
 
* Configure Ethernet ports
 
* Monitor status of Ethernet ports</p>
 
</div>
 
<div style="float: right;">
 
[[File:swos_link.png|345px|]]
 
</div>
 
</div>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>Enabled</b></td><td>Enable or disable port</td>
 
</tr>
 
<tr>
 
    <td><b>Link Status</b></td><td>Current link status (Read-only)</td>
 
</tr>
 
<tr>
 
    <td><b>Auto Negotiation</b></td><td>Enable or disable auto negotiation</td>
 
</tr>
 
<tr>
 
    <td><b>Speed</b></td><td>Specify speed setting of the port (requires auto negotiation to be disabled to specify)</td>
 
</tr>
 
<tr>
 
    <td><b>Full Duplex</b></td><td>Specify duplex mode of the port (requires auto negotiation to be disabled to specify)</td>
 
</tr>
 
<tr>
 
    <td><b>Crossover</b></td><td>Detect crossover cable (Read-only)</td>
 
</tr>
 
<tr>
 
    <td><b>Flow control </b></td><td>Enable or disable flow control</td>
 
</tr>
 
</table>
 
 
 
==Forwarding Tab==
 
<div>
 
<div style="float: left;width: 385px">
 
<p>Forwarding Tab provides advanced forwarding options among switch ports, port locking, port mirroring, bandwidth limit and broadcast storm control features. </p>
 
</div>
 
<div style="float: right">
 
[[File:swos_forwarding.png|345px|]]
 
</div>
 
</div>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>Forwarding</b></td><td>Forwarding table for enabling/disabling traffic forwarding between specific ports</td>
 
</tr>
 
<tr>
 
    <td><b>Port Lock</b></td><td>
 
* <code><b>Port Lock</b></code> - Enable or disable MAC address learning on this port
 
* <code><b>Lock On First</b></code> - Enable or disable MAC address learning on this port (MAC address from the first recieved packet will still be learnt)</td>
 
</tr>
 
<tr>
 
    <td><b>Port Mirroring</b></td><td>
 
* <code><b>Mirror Ingress</b></code> - Whether traffic entering this port must be copied and forwarded to mirroring target port
 
* <code><b>Mirror Outgress</b></code> - Whether traffic leaving this port must be copied and forwarded to mirroring target port
 
* <code><b>Mirror To</b></code> - Mirroring target port</td>
 
</tr>
 
<tr>
 
    <td><b>Bandwidth Limit</b></td><td>
 
* <code><b>Ingres Rate</b></code> -  Limit traffic entering this port (bps)
 
* <code><b>Outgres Rate</b></code> - Limit traffic leaving this port (bps)</td>
 
</tr>
 
<tr>
 
    <td><b>Broadcast Storm Control</b></td><td>
 
* <code><b>Storm Rate</b></code> -
 
* <code><b>Include Unicast</b></code> - </td>
 
</tr>
 
</table>
 
 
 
==Statistics Tab==
 
<div>
 
<div style="float: left;width:385px">
 
<p>Provides detailed information about received and transmitted packets.</p>
 
</div>
 
<div style="float: right;">
 
[[File:swos_statistics.png|345px|]]
 
</div>
 
</div>
 
 
 
==VLAN Tab==
 
 
 
<p>VLAN configuration for Switch ports.</p>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>VLAN Mode</b></td><td>
 
VLAN mode for certain port:
 
* disabled -
 
* optional -
 
* enabled -
 
* strict -</td>
 
</tr>
 
<tr>
 
    <td><b>Default VLAN ID</b></td><td></td>
 
</tr>
 
<tr>
 
    <td><b>Force VLAN ID</b></td><td></td>
 
</tr>
 
<tr>
 
    <td><b>VLAN Header</b></td><td>
 
* leave as is - if VLAN header is present it remains unchanged
 
* always strip - if VLAN header is present it is removed from the packet
 
* add if missing - if VLAN header is not present it is added to the packet
 
</td>
 
</tr>
 
</table>
 
 
 
==VLANs Tab==
 
 
 
<p>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</p>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>VLAN ID</b></td><td>VLAN ID of the packet</td>
 
</tr>
 
<tr>
 
    <td><b>Ports</b></td><td>Ports the packet should be forwarded to</td>
 
</tr>
 
</table>
 
 
 
==Hosts Tab==
 
 
 
<p>This table represents dynamically learnt mac address to port mapping entries. When Switch receives a packet from certain port, it adds the packets source mac address X and port it received the packet from to host table, so when a packet comes in with destination mac address X it knows to which port it should forward the packet. If the destination mac address is not present in host table then it forwards the packet to all ports in the group. Dynamic entries take about 5 minutes to time out.</p>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>MAC</b></td><td>MAC address (Read-only)</td>
 
</tr>
 
<tr>
 
    <td><b>Ports</b></td><td>Ports the packet should be forwarded to (Read-only)</td>
 
</tr>
 
</table>
 
 
 
==Static Hosts Tab==
 
 
 
<p>Static host table entries. Static entries will take over dynamic if dynamic entry with same mac-address already exists. Also by adding a static entry you get access to some more functionality.</p>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>MAC</b></td><td>MAC address</td>
 
</tr>
 
<tr>
 
    <td><b>Ports</b></td><td>Ports the packet should be forwarded to</td>
 
</tr>
 
<tr>
 
    <td><b>Drop</b></td><td>Packet can be cloned and sent to mirror-target port</td>
 
</tr>
 
<tr>
 
    <td><b>Mirror</b></td><td>Packet with certain MAC address coming from certain ports can be dropped</td>
 
</tr>
 
</table>
 
 
 
==ACL Tab==
 
 
 
<p>An access control list (ACL) rule table is very powerful tool allowing wire speed packet filtering, forwarding and vlan tagging based on L2,L3,L4 protocol header field matchers.</p>
 
 
 
<p>Each rule contains a matching part and an action part.</p>
 
 
 
<h3>Matching part parameters</h3>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>From</b></td><td>Match port that packet came in from</td>
 
</tr>
 
<tr>
 
    <td><b>MAC Src</b></td><td>Match by source MAC address and mask</td>
 
</tr>
 
<tr>
 
    <td><b>MAC Dst</b></td><td>Match by destination MAC address and mask</td>
 
</tr>
 
<tr>
 
    <td><b>Ethertype</b></td><td>Match by protocol encapsulated in the payload of an Ethernet Frame</td>
 
</tr>
 
<tr>
 
    <td><b>VLAN</b></td><td>
 
Match by VLAN header presence:
 
* any
 
* present
 
* not present</td>
 
</tr>
 
<tr>
 
    <td><b>VLAN ID</b></td><td>Match by VLAN tag ID</td>
 
</tr>
 
<tr>
 
    <td><b>Priority</b></td><td>Match by priority in VLAN tag</td>
 
</tr>
 
<tr>
 
    <td><b>IP Src</b></td><td>Match by source IP address and mask</td>
 
</tr>
 
<tr>
 
    <td><b>IP Dst</b></td><td>Match by destination IP address and mask</td>
 
</tr>
 
<tr>
 
    <td><b>Protocol</b></td><td>Match by IP protocol</td>
 
</tr>
 
<tr>
 
    <td><b>DSCP</b></td><td>Match by IP DSCP field</td>
 
</tr>
 
</table>
 
 
 
<h3>Action part parameters</h3>
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>Redirect To</b></td><td>Whether to force new destination ports (If <code>Redirect To</code> is enabled and no ports specified in <code>Redirect To Ports</code>, packet will be dropped )</td>
 
</tr>
 
<tr>
 
    <td><b>Redirect To Ports</b></td><td>Destination ports for </td>
 
</tr>
 
<tr>
 
    <td><b>Mirror</b></td><td>Clones matching packets and send them to mirror-target port</td>
 
</tr>
 
<tr>
 
    <td><b>Set VLAN ID</b></td><td>If specified changes the vlan tag id, or add new vlan tag if one was not present</td>
 
</tr>
 
<tr>
 
    <td><b>Priority</b></td><td>If specified changes the vlan tag priority bits</td>
 
</tr>
 
</table>
 
 
 
==SNMP Tab==
 
 
 
<table class="styled_table" >
 
<tr>
 
  <th width="25%">Property</th>
 
  <th >Description</th>
 
</tr>
 
<tr>
 
    <td><b>Enabled</b></td><td></td>
 
</tr>
 
<tr>
 
    <td><b>Community</b></td><td></td>
 
</tr>
 
<tr>
 
    <td><b>Contact Info</b></td><td></td>
 
</tr>
 
<tr>
 
    <td><b>Location</b></td><td></td>
 
</tr>
 
</table>
 

Latest revision as of 14:28, 12 June 2019

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.


MikroTik Switch Manuals

List of Examples