By M.Sc. I.T Alaa A. Mahdi

Similar documents
By M.Sc. I.T AlaaA. Mahdi

AT-WR4500 Series How To Upgrade RouterOS firmware

[DOC] MIKROTIK OS CONFIGURATION PRODUCT CATALOG EBOOK

Hotspot with Active Directory

WITELCOM USER MANUAL WISE-1200

MikroTik RouterOS Training Class. MTCNA Townet Wispmax 3 Febbraio 2010

Using the Offline Diagnostic Monitor Menu

Managing Controller Software and Configurations

MikroWall Hotspot Router and Firewall System

MIKROTIK ROUTER SETUP USERS MANUAL

MikroTik Security : The Forgotten Things

Basic guidelines on RouterOS configuration and debugging. Pauls Jukonis MikroTik, Latvia

Software Upgrade. Selecting a Cisco IOS Image. Upgrading the Cisco IOS image

Routeros Firewall Mikrotik

Upgrading Software and Firmware

Routerboard Security. Barry Higgins Allness IT. UK MuM 2018

Certified Network Associate (MTCNA) Riga, Latvia January 1 - January 3, 2016

[FILE] MIKROTIK TRAINING USER MANUAL ARCHIVE

Model 5100 Remote Administration Guide

Performing Maintenance Operations

Documentation on File Management for website

Monitoring Large Scale Network by The Dude

License Management. Table of Contents. General Information. Summary. Specifications. Description. Summary Specifications Description

Configuring your MikroTik as a Standard LucidView Enforcer

AT-WR4500 Series. IEEE abgh Outdoor Wireless Routers. RouterOS v3 Configuration and User Guide. PN Rev. B

GSS Administration and Troubleshooting

MikroTik Router Certified Network Associate (MTCNA) + Unifi Wifi Access Point (only got at CISMIC)

MUM - Beirut, Lebanon - June 14 th 2016

Tools for effortless reverse engineering of MikroTik routers. http ://kirils.org/

RouterBOARD 751 series

Contents. Table of Contents

Chapter 4 Using the Entry-Master Disk Utilities

Mikrotik Router Documentation

Working with Configuration Files

CPE WAN Management Protocol & Auto Configuration Server

COURSE O V E R V I E W

MOP for upgrading StoneOS

Getting Started Guide. Installation and Setup Instructions. For version Copyright 2009 Code 42 Software, Inc. All rights reserved

Operation Manual System Management. Table of Contents

SSL VPN Reinstallation

Overview 1 Preparing for installation 2

Managing the ACE Software

WLM1200-RMTS User s Guide

User and System Administration

Bitnami MySQL for Huawei Enterprise Cloud

Addonics T E C H N O L O G I E S. mini NAS. Model: NAS25HDU Key Features

SonicWALL SSL VPN 2.5 Early Field Trial

Contents. Table of Contents

BUILDING YOUR OWN FREE HOME PHONE SYSTEM WITH MIKROTIK

Installing or Upgrading ANM Virtual Appliance

Upgrade Guide. BCM Business Communications Manager

Deploying Cisco ASA Firewall Features (FIREWALL) v1.0. Global Knowledge European Remote Labs Instructor Guide

WISP Setup Guide for TP-Link TL-WR841N 300 Mbps Wireless N Router AARP Foundation Tax-Aide Colorado Technology Specialist

Avalanche Remote Control User Guide. Version 4.1

Router Startup and Configuration

SOFT-AM-0081_R3. AX3800S/AX3600S Software Upgrade Guide

LevelOne FNS bay/1usb Soho NAS. User s Manual

Clearswift Gateway Installation & Getting Started Guide. Version 4.1 Document Revision 1.4

If searching for the ebook Mikrotik manual in pdf form, then you have come on to faithful site. We present complete version of this book in DjVu,

File Menu Commands. Save Running Config to PC. Deliver Configuration to Router CHAPTER40. Save Running Config to Router s Startup Config

MikroTik RouterOS Training User Management. VRProService Co.,Ltd.

Bitnami MariaDB for Huawei Enterprise Cloud

American Dynamics RAID Storage System iscsi Software User s Manual

Wireless Network Video Recorder

Support Backups and Secure Transfer Server Changes - i-cam

Setup Instructions for Upgrading the Windows XP Panasonic CF-19 Toughbook to Windows 7

Interview Room Management System Administrator Manual

MIKROTIK ROUTER SETUP PRODUCT CATALOG E-BOOK

M-DM Download Manager - User Guide

Memeo Instant Backup Quick Start Guide. Step 1: Create your free Memeo account. Step 2: Attach your storage device to your computer

PD-SATA USB/LAN Network Attached Storage Enclosure for 3.5 SATA Hard Drives

Network Management Card. User Manual

4.9: Configure QBox display output

WinClient Remote Manager USER S MANUAL. Revision: WRM /10/22

CompTIA A+ Complete Lab Manual

Viewing System Status, page 404. Backing Up and Restoring a Configuration, page 416. Managing Certificates for Authentication, page 418

linkzone User ManUal

CUSTOMER CONTROL PANEL... 2 DASHBOARD... 3 HOSTING &

OmniVista 3.5 Quick Start Help

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

Installing the Product Software

Maintenance Tasks CHAPTER

SpamCheetah manual. By implementing protection against botnets we can ignore mails originating from known Bogons and other sources of spam.

SAS3 INSTALLATION MANUAL

Configuration Guide. Upgrading AOS Firmware L1-29.1D July 2011

COMMAND. JTAC support info. request suport information. Restore factory settins

Accessing the WAN Chapter 4 - PART II Modified by Tony Chen 07/20/2008

CHAPTER 15: FAIL SAFE SYSTEM

Contents Overview... 1 References... 1 Packing Up... 3 Reset the PC... 5 Restoring the PC... 6 Restoring the Data Files and Applications...

Overview of the Cisco NCS Command-Line Interface

WiFi CampPro 2 User Manual V01

New Rock Technologies, Inc. Unified Management System. User Guide. Document Version:

CedCommerce. All rights reserved.

Network Management Software ALLNET Zone Controller

DocShuttle Administrator

MOBA-NMS MOBA-NMS. Moser-Baer SA Export Division Geneva / Switzerland

Managing ACE Software Licenses

IndustrialPro Routers (SN/RAM Series) Wireless Modems

Encapto WiFi. Integration Guide. Mikrotik Routerboard Provisioning. For Release and above Document Version 7 PUBLIC DOCUMENT

docalpha Installation Guide

Transcription:

University of Babylon, IT College Information Network Dep., Third Class, Second Semester MTCNA Course MikroTik Certified Network Associate 2014-2015 By M.Sc. I.T Alaa A. Mahdi

Objectives Upgrade RouterOS ; get packages; upgrade ways; type of packages; Manage RouterOS logging; Manage RouterOS services; Backup and export/import configuration; save and reload backup; edit export file; RouterOS license; levels; update license; NTP client configuration; Netinstall; reinstall RouterOS; reset RouterOS 2

RouterOS Upgrade Methods You can upgrade RouterOS in the following ways: 1- Winbox drag and drop files to the Files menu 2- FTP - upload files to root directory 3- The Dude See manual here Note: RouterOS cannot be upgraded through serial cable. Using this method only RouterBOOT can be upgraded. 3

Upgrade process First step - visit www.mikrotik.com and head to the download page, there choose the type of system you have the RouterOS installed on. Download the Combined package, it will include all the functionality of RouterOS: 4

5

Using Winbox Connect to your router with Winbox, Select the downloaded file with your mouse, and drag it to the Files menu. If there are some files already present, make sure to put the package in the root menu, not inside the hotspot folder!: The upload will start: After it finishes - REBOOT and that's all! The New version number will be seen in the Winbox Title and in the Packages menu 6

7

Using FTP Open your favourite FTP program (in this case it is Filezilla), select the package and upload it to your router (demo2.mt.lv is the address of my router in this example). 8

9

If you wish, you can check if the file is successfully transferred onto the router (optional): And reboot your router for the upgrade process to begin : system reboot After the reboot, your router will be up to date, you can check it in this menu: /system package print if your router did not upgrade correctly, make sure you check the log More Info. On Package see System-Packages PDF file 10

Log RouterOS is capable of logging (track) various system events and status information. Logs can be saved in routers memory (RAM), disk, file, sent by email or even sent to remote syslog server. 11

12

Logging configuration 13

Rule topics log all messages that falls into specified topic or list of topics. For example, we want to log NTP debug info without too much details: /system logging add topics=ntp,debug,!packet 14

Rule prefix prefix added at the beginning of log messages. action specifies one of the system default actions or user specified action listed in actions menu Default: memory: logs are stored in local memory buffer. 15

Logging Example Logging to file To log everything to file, add new log action: /system logging action add name=file target=disk disk-file-name=log 16

and then make everything log using this new action: /system logging action=file 17

You can log only errors there by issuing command: /system logging topics=error action=file 18

This will log into files log.0.txt and log.1.txt. You can specify maximum size of file in lines by specifying disk-lines-per-file. <file>.0.txt is active file were new logs are going to be appended and once it size will reach maximum it will become <file>.1.txt, and new empty <file>.0.txt will be created. 19

You can log into USB flashes or into MicroSD/CF (on Routerboards) by specifying it's directory name before file name. For example, if you have accessible usb flash as usb1 directory under /files, you should issue following command: /system logging action add name=usb target=disk disk-file-name=usb1/log For more information see Manual:System/Log Pdf file 20

Manage RouterOS services This section lists protocols and ports used by various MikroTik RouterOS services. It helps you to determine why your MikroTik router listens to certain ports, and what you need to block/allow if you want to prevent or grant access to the certain services. 21

/ip service Some service settings can be changed under /ip service menu. You can specify IP addresses from which the service is accessible, for example: ip service> set www port=8081 address=10.5.0.0/16 22

23

(System Reset ) Configuration Reset System reset command is used to erase all configuration on the router. Before doing that, it might be useful to backup the router's configuration. /system reset-configuration The command clears all configuration of the router and sets it to the default including the login name and password, IP addresses and other configuration is erased, interfaces will become disabled. After the reset command router will reboot. 24

Backup and Export/Import Configuration 25

Backup Configuration The backup save command is used to store the entire router configuration in a backup file. The file is shown in the /file submenu. It can be downloaded via ftp to keep it as a backup for your configuration. Important! The backup file contains sensitive information, do not store your backup files inside the router's Files directory, instead, download them, and keep them in a secure location. 26

The configuration backup can be used for backing up MikroTik RouterOS configuration to a binary file, which can be stored on the router or downloaded from it using FTP for future use. The configuration restore can be used for restoring the router's configuration from a backup file. The restoration procedure assumes the configuration is stored on the same router, where the backup file was originally created. 27

Restore To restore the system configuration, it is possible to upload that file via ftp and load that backup file using load command in /system backup submenu. 28

Example- Backup To save backup file HelloITStudent, do >system backup save name=helloitstudent Configuration backup saved 29

Example- Restore To load the saved backup file HelloITStudent: > system backup load name=helloitstudent Restore and reboot? [y/n]: y Restoring system configuration System configuration restored, rebooting now 30

WinBox Backup & Restore All operations of backup and restore are exist in File menu: 31

Export/ Import The configuration export can be used for dumping out complete or partial MikroTik RouterOS configuration to the console screen or to a text (script) file, which can be downloaded from the router using FTP protocol. The configuration dumped is actually a batch of commands that add (without removing the existing configuration) the selected configuration to a router. The configuration import facility executes a batch of console commands from a script file. 32

Exporting Configuration The export command prints a script that can be used to restore configuration. The command can be invoked at any menu level, and it acts for that menu level and all menu levels below it. The output can be saved into a file, available for download using FTP. /export 33

Example ip address export file= IT-address 34

Importing Configuration The root level command /import [file_name] executes a script, stored in the specified file adds the configuration from the specified file to the existing setup. This file may contain any console commands, including scripts. Import command used to restore configuration or part of it after a /system reset event or anything that causes configuration data loss. Note that it is impossible to import the whole router configuration using this feature. It can only be used to import a part of configuration (for example, firewall rules). 35

Example - Import To load the saved export file, use the following command: import IT_address.rsc 36

RouterOS license RouterBOARD devices come preinstalled with a RouterOS license, if you have purchased a RouterBOARD device, nothing must be done regarding the license. For X86 systems (ie. PC devices), you need to obtain a license key. 37

The license key is a block of symbols that needs to be copied from your mikrotik.com account, or from the email you received in, and then it can be pasted into the router. You can paste the key anywhere in the terminal, or by clicking "Paste key" in Winbox License menu. A reboot is required for the key to take effect. 38

Licensing information can be read: 39

License Levels You can purchase a Level 3, 4, 5 and 6. Level 1 is the demo license. The difference between license levels is shown in the table. Level 3 is a wireless station (client) only license.. 40

Licenses and RouterOS Upgrades RouterOS can be upgraded only to certain versions. For example if you are running RouterOS v5, your license could restrict the upgrade only to v6, and not to v7. 41

NTP client configuration; Having the system time set accurately is important for many purpose, especially logging. RouterBOARDs do not have an onboard battery to keep the clock running, setup the NTP client should be a part of your configuration. The function of the NTP client is to query an NTP server and get the current time and then set the local clock. SNTP client is included in the system package. RouterOS implements SNTP protocol. NTP server and a NTP client is included in the separate ntp package, that is not installed by default. 42

Client configuration is located in the /system ntp client console path. This configuration is shared by the SNTP client implementation in the system package and the NTP client implementation in the ntp package. When ntp package is installed and enabled, the SNTP client is disabled automatically. 192.43.244.18 time.windows.com us.pool.ntp.org 43

44

mode (One of broadcast or unicast; default value: broadcast) : In broadcast mode, client does not send any requests, and listens for the broadcast messages sent by the NTP server. In unicast mode client periodically sends requests to the currently selected active server, and waits for a reply message from that server. More Information see System/Time PDF file 45

System Clock Setting up the NTP client will not ensure the local clock is accurate for local time so you must set your zone on the Clock setting to ensure your clock information is meaningful. 46