Setup guide

Prefix List Rules
routing prefix-list list <listname>
Property Description
prefix (IP address/mask; default: 0.0.0.0/0) - network prefix to match
prefix-length (integer; default: 0-32) - length (range) of the network prefix in bits
action (accept | reject; default: accept) - action to perform on list member
Notes
There are two different values to match - prefix (i.e. destination address of the route applying the
network mask) and prefix length. Prefix length matches network mask of the received route.
For example, if prefix=172.16.0.0/16 and prefix-length=16-24, then received route for
172.16.24.0/24 will match, but route for 172.16.24.0/25 will not.
Example
To accept the routes to the 172.16.0.0/16 network and any of it's subnetworks that has their network
mask between 16 and 24:
[admin@Wandy] routing prefix-list> list cybernet
[admin@Wandy] routing prefix-list list cybernet> add prefix=172.16.0.0/16 \
\... prefix-length=16-24
[admin@Wandy] routing prefix-list list cybernet> print
# PREFIX PREFIX-LENGTH ACTION
0 172.16.0.0/16 16-24 accept
[admin@Wandy] routing prefix-list list cybernet>
AAA
Document revision 1.7 (Tue May 11 14:13:40 GMT 2004)
This document applies to Wandy RouterOS V2.8
Table of Contents
Table of Contents
Summary
Specifications
Related Documents
Description
Router User Groups