August 2005
Intermediate to advanced
798 pages
31h 12m
English
match length — route-map
match lengthmin maxno match lengthmin max
Route filtering
None
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.
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