O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

match length — route-map

Synopsis

match length min max
no match length min 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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required