Name
match length — route-map
Synopsis
match lengthmin
max
no match lengthmin
max
Configures
Route filtering
Default
None
Description
This command lets you build a route map that selects packets whose
size is between min
and
max
. If a packet’s size falls in
this range, it is processed according to the other statements in the
route map. This command is used with policy routing.
Example
In this example, we want to match packets that are between 10 to 100
bytes long. We then send matching packets out through the
serial0
interface.
interface ethernet1 ip policy route-map example1 ! route-map example1 match length 10 100 set interface serial0
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.