Skip to Main Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced content levelIntermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata