Home > MikroTik > Router > MikroTik Router OS V3.0 User Manual

MikroTik Router OS V3.0 User Manual

    Download as PDF Print this page Share this page

    Have a look at the manual MikroTik Router OS V3.0 User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1 MikroTik manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    Page
    of 491
    							[admin@Mikrotik] ppp secret> add name=backup password=backup service=isdn
    +
     *!59 ( 	
     $$$  
      
      
     
     
     
    
    [admin@MikroTik] ppp profile> set default local-address=3.3.3.254remote-address=3.3.3.1[admin@MikroTik] interface isdn-server> add name=backup msn=7801032
    +
     *!59 
    
     
      	 
     
     
     
    
    [admin@MikroTik] interface isdn-client>add name=backup user=backup password=backup phone=7801032 msn=7542159
    •
      	( 
     
      
    	
     
    
    0 
    
     
     	
     
     	 
     8 
    	
     
     	
     
    
     
     
     3
    
    
    	 8  
     
     
    
    	
    
    
    
    [admin@Mikrotik] ip route> add gateway=2.2.2.2 comment=route1
    
    
    [admin@Mikrotik] ip route> add gateway=2.2.2.1 comment=route1 dst-address=1.1.1.0/24
    •+
     
    	  	( 
     	 
    
    + 
     
     
     
    
     
    
    
     
     
     	
    
    	
    
    
    
    [admin@Mikrotik] system script> add name=connection_down \\... source={/interface enable backup; /ip route set route1 gateway=3.3.3.254}[admin@Mikrotik] system script> add name=connection_up \\... source={/interface disable backup; /ip route set route1 gateway=2.2.2.2}
    
    
    [admin@Mikrotik] system script> add name=connection_down \\... source={/ip route set route1 gateway=3.3.3.1}[admin@Mikrotik] system script> add name=connection_up \\... source={/ip route set route1 gateway=2.2.2.1}
    • 
     	 	( 
     
      
      9
    	
     
    
       
    
    	
      
     
     	(	
     
    
    	
     		 
    
    	 $	 	 
     
     
     
     	
     
     6
     
    
    	 
     	(	
    7
    
    		   
     
     
    
      
    
    
    
    + 
     
     
    
    
     
     
     
     
    
    [admin@Mikrotik] tool netwatch> add host=2.2.2.1 interval=5s \\... up-script=connection_up down-script=connection_down
    + 
     
     
    
    
     
     
     
     
    
    [admin@Mikrotik] tool netwatch> add host=2.2.2.2 interval=5s \\... up-script=connection_up down-script=connection_down
    Page 100 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							M3P
    Document revision 0.4 (February 6, 2008, 4:21 GMT)
    This document applies to MikroTik RouterOS V3.0
    Table of Contents
    TableofContents
    Summary
    Specifications
    Description
    Setup
    Description
    PropertyDescription
    Notes
    Example
    General Information
    Summary
      $	
     $	 $
     &:$ 
    2 
     	
    	 	
     	  
     
     
     
    	
     	( 	
     (	  	
     
    	
    
    
      	   
     
      
     
    
     
    	 
    
    
     
     
    	
    
     O*$ 
    	 	
     
     
    	 
    	
      	 	
     2  	
     /.. 
    
    :$ 	
    
    •
    	  	  
    
    	 
    
    
    
    •
     
     
      5( $
     
    	  		
     :$ 
    
    
    
    •
    	
    
     
    	 	
    
     	(		
     (   
      		
      
    
    • 
    	
    
     
    
    
     
     
    2 
     	
    
    Specifications
    Packages required:system
    License required:level1
    Home menu level:/ip packing
    Standards and Technologies:M3P
    Hardware usage:Not significant
    Description
      
     *FFF C.-// 	
     
     	  
    
    
     F
    
    
     
     	( 	  (	 
    	
     	  	 	
     
      
    	 
     	 
     	    
     
     	  
     	
     
     
    
     	
    
    
    	
     	 &
    
     	
    
    
    	
      		 
      
      $	
     $	 $
     ( 
    
     	
      		
    
     	
     	 	
     
    
    
    	  	
     
     
    2
     
     
    
      	
     (	 
      :$  ( 
    ( 
     
    
    Page 101 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    								(	 	
     2  
    						
    							Notes
    A(  	
     
     
    	  
     D 
     D   D
    
    6
     
     	 
     
     	 	
     
      
     (  	
     
      	
     
     
    
    
    
      
     	
     	
     
     
    %
    
      
     !	  
    
    
    B
    
    
    
    7 
     (	  
     
      	
    	 	 2  		
     	
     
    
    
    B	
       
    	
     
    
    	 0  
    
     ( 	 
     
      & 
     
    
    
    
     	
     (
     	  
    	
     / add interface=ether1 packing=compress-all \\... unpacking=compress-all[admin@MikroTik] ip packing> printFlags: X - disabled# INTERFACE PACKING UNPACKING AGGREGATED-SIZE0 ether1 compress-all compress-all 1500
    [admin@MikroTik] ip packing>
    Page 103 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							MOXA C101 Synchronous Interface
    Document revision 1.3 (February 6, 2008, 2:58 GMT)
    This document applies to MikroTik RouterOS V3.0
    Table of Contents
    TableofContents
    GeneralInformation
    Summary
    Specifications
    Description
    AdditionalDocuments
    SynchronousInterfaceConfiguration
    Description
    PropertyDescription
    Notes
    Example
    Troubleshooting
    Description
    SynchronousLinkApplicationExamples
    MikroTikRoutertoMikroTikRouter
    MikroTikRoutertoCiscoRouter
    General Information
    Summary
      
     ! 
      B+ 3/./ !
    
     D1 +	
     		  O:< 
    
    
    
    
    	  
     
    	
    	  O!+ 	
     
     	
    
      ,(  
      
     
     	
    
    
    
       
      
    
    	 
    
    Specifications
    Packages required:synchronous
    License required:level4
    Home menu level:/interface moxa-c101
    Standards and Technologies:Cisco/HDLC-X.25(RFC1356),FrameRelay(RFC1490),PPP
    (RFC-1661),PPP(RFC-1662)
    Hardware usage:Not significant
    Description
    E 	
     
    
    	  
       B+ 3/./ 
    
     	 
     
     $3    	(  	
     
     	
     *@
    	(		 +
      	( 	 
    	 		 	
     
     
    
    	 
     
     	 
      
     
    
     
    
    
     	
     
    	
     
    
     &	 ( 	 	 	
    	
    	 ,(   	( 	 
    
     $7	
    7$	
    *!+ 	 
     
    
     ( 8 
      	
    Page 104 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							MOXA C101 PCI variant cabling
      B+ 3/./ $3* 8 
    
       B+ 3/./ *!+ 	 *
     	
      	 
     
     
     
    	
    DB25fSignalDirectionV.35m
    4RTSOUTC
    5CTSIND
    6DSRINE
    7GND-B
    8DCDINF
    10TxDBOUTS
    11TxDAOUTP
    12RxDBINT
    13RxDAINR
    14TxCBINAA
    16TxCAINY
    20DTROUTH
    22RxCBINX
    23RxCAINV
    short 9 and 25 pin
    Additional Documents
    #  
    	
    
     	
     
      B+ 3/./ 
    
     D1 		
     		 	 
    •
    
    11	1
    1
    13/./
    7 
     
     
    7
     
    
    	
    
    
    •3/./!!
    )	0%	
    	
     % 	
    	 
     $5# 	
    Synchronous Interface Configuration
    Home menu level:/interface moxa-c101
    Description
    	 /./ 
    
     
    
    	  
     
     
     
    
    	 
     
     
     
    	 	7/./79
    Property Description
    cisco-hdlc-keepalive-interval(time; default:10s) - keepalive period in seconds
    clock-rate(integer; default:64000) - speed of internal clock
    Page 105 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							clock-source(external|internal|tx-from-rx|tx-internal; default:external) - clock source
    frame-relay-dce(yes|no; default:no) - operate or not in DCE mode
    frame-relay-lmi-type(ansi|ccitt; default:ansi) - Frame-relay Local Management Interface type:
    •ansi- set LMI type to ANSI-617d (also known as Annex A)
    •ccitt- set LMI type to CCITT Q933a (also known as Annex A)
    ignore-dcd(yes|no; default:no) - ignore or not DCD
    line-protocol(cisco-hdlc|frame-relay|sync-ppp; default:sync-ppp) - line protocol name
    mtu(integer; default:1500) - Maximum Transmit Unit
    name(name; default:moxa-c101-N) - interface name
    Notes
    *  	 
      B+ 3/./ !
    
     	    	( ( 	 O:< 	 
     
    
     	    	 
    	
    	   	( O:< 
    
    
    
     # 
    
     
     	( 	 5)7-< 
    
    
    
        	 
    	
    	 5)7-< 	
      (  
      B+ 3/./ !
    
     		
     	  
     
     
     O:< 	  
    
     	
      
     
    
     	
    
      
     	 
    
       	
       
    
     
     
     
    	
     
    
    
    
    	  
    
    Example
    [admin@MikroTik] interface> moxa-c101[admin@MikroTik] interface moxa-c101> printFlags: X - disabled, R - running0 R name=moxa-c101-1 mtu=1500 line-protocol=sync-ppp clock-rate=64000clock-source=external frame-relay-lmi-type=ansi frame-relay-dce=nocisco-hdlc-keepalive-interval=10s ignore-dcd=no[admin@MikroTik] interface moxa-c101>
    E 	
     
    
     
     
    	
      
     
    
     
    
    	
    [admin@MikroTik] interface moxa-c101> monitor 0dtr: yesrts: yescts: nodsr: nodcd: no[admin@MikroTik] interface moxa-c101>
    3
    
    
     	 
    	
    
     (  	 		
      
     
     O:< 
     	
     
    
     
     
     * 
     
     
    
      
     
    	
      
     
    
    	 
    [admin@MikroTik] interface moxa-c101> monitor 0dtr: yesrts: yescts: yesdsr: yesdcd: yes[admin@MikroTik] interface moxa-c101>
    Troubleshooting
    Page 106 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							Description
    •#    
    
    	  
      $   
      
    
    	 
    
     
    	
     
     8 
      
    
     	
    
    •#    
      
     $
    3 
     O:< 	
     	
     
     
     
    
     
      	 
      	
    	
    Synchronous Link Application Examples
    MikroTik Router to MikroTik Router
    A
      
     
     
     
    
     
     
     
      
     
    
    
     
     	 	 
     
    
    		
     
     (   B+ 3/./ 	   	 	
     
     
    
    	   
    	 	
     
     
    
    Page 107 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							
    
    
    
     (
     	(  *$ 	 	
     
     
     
    
     
    
    	   	 
    [admin@MikroTik] ip address> add address=1.1.1.1/32 interface=wan \\... network=1.1.1.2 broadcast=255.255.255.255
    [admin@MikroTik] ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 10.0.0.254/24 10.0.0.254 10.0.0.255 ether21 192.168.0.254/24 192.168.0.254 192.168.0.255 ether12 1.1.1.1/32 1.1.1.2 255.255.255.255 wan[admin@MikroTik] ip address> /ping 1.1.1.21.1.1.2 64 byte ping: ttl=255 time=31 ms1.1.1.2 64 byte ping: ttl=255 time=26 ms1.1.1.2 64 byte ping: ttl=255 time=26 ms3 packets transmitted, 3 packets received, 0% packet lossround-trip min/avg/max = 26/27.6/31 ms[admin@MikroTik] ip address>
     	
     
       
     
     
     	
    	 
     ///-
    [admin@MikroTik] ip route> add gateway 1.1.1.2[admin@MikroTik] ip route> printFlags: X - disabled, A - active, D - dynamic,C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,B - blackhole, U - unreachable, P - prohibit# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTER...0 A S 0.0.0.0/0 r 1.1.1.2 1 wan1 ADC 10.0.0.0/24 10.0.0.254 r 0 ether22 ADC 192.168.0.0/24 192.168.0.254 r 0 ether13 ADC 1.1.1.2/32 1.1.1.1 r 0 wan[admin@MikroTik] ip route>
     
    	
    
      
      
     	
     
     
     
      	
    [admin@MikroTik] ip address> add address=1.1.1.2/32 interface=moxa \\... network=1.1.1.1 broadcast=255.255.255.255[admin@MikroTik] ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 10.1.1.12/24 10.1.1.12 10.1.1.255 Public1 1.1.1.2/32 1.1.1.1 255.255.255.255 moxa[admin@MikroTik] ip address> /ping 1.1.1.11.1.1.1 64 byte ping: ttl=255 time=31 ms1.1.1.1 64 byte ping: ttl=255 time=26 ms1.1.1.1 64 byte ping: ttl=255 time=26 ms3 packets transmitted, 3 packets received, 0% packet lossround-trip min/avg/max = 26/27.6/31 ms[admin@MikroTik] ip address>
    MikroTik Router to Cisco Router
    A
      
     
     
     
    
     
     
      
     
    
    
     
     	 	 
     
     		
    
     	
     	 3*!3  
     	
     
     
     
    
    Page 108 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							 (   B+ 3/./ 	   	 	
     
     
    
    	   
    	 	
     
     
    
    
    
    
    
     (
     	(  *$ 	 	
     
     
     
    
     
    
    	   	 
    [admin@MikroTik] ip address> add address 1.1.1.1/32 interface wan \\... network 1.1.1.2 broadcast 255.255.255.255[admin@MikroTik] ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 10.0.0.254/24 10.0.0.254 10.0.0.255 ether21 192.168.0.254/24 192.168.0.254 192.168.0.255 ether12 1.1.1.1/32 1.1.1.2 255.255.255.255 wan[admin@MikroTik] ip address> /ping 1.1.1.21.1.1.2 64 byte ping: ttl=255 time=31 ms1.1.1.2 64 byte ping: ttl=255 time=26 ms1.1.1.2 64 byte ping: ttl=255 time=26 ms3 packets transmitted, 3 packets received, 0% packet lossround-trip min/avg/max = 26/27.6/31 ms[admin@MikroTik] ip address>
     	
     
       
     
     
     	
    	 
     ///-
    [admin@MikroTik] ip route> add gateway 1.1.1.2[admin@MikroTik] ip route> printFlags: X - disabled, A - active, D - dynamic,
    Page 109 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    All MikroTik manuals Comments (0)