814CHAPTER 61: IP UNICAST POLICY ROUTING CONFIGURATION COMMANDS

if-match packet-length

Syntax if-match packet-length min-lenmax-len

undo if-match packet-length

View policy-based-route view

Parameters min-len: Minimum IP packet length in bytes, in the range of 0 to 65535.

max-len: Maximum IP packet length in bytes, in the range of 1 to 65535. max-lenmust be no less than min-len.

Description Use the if-matchpacket-lengthcommand to define a packet length match rule.

Use the undo if-matchpacket-lengthcommand to remove the match rule.

Related commands: if-match acl.

Examples # Permit the packets with a length from 100 to 200 bytes.

<Sysname> system-view

[Sysname] policy-based-route aa permit node 11

[Sysname-policy-based-route] if-match packet-length 100 200

ip local policy-based-route

Syntax ip local policy-based-route policy-name

undo ip local policy-based-route policy-name

View System view

Parameters policy-name: Policy name, which uniquely identifies a policy-based-route. It is a string of 1 to 19 characters.

Description Use the ip local policy-based-routecommand to enable system policy routing and reference a policy.

Use the undo ip local policy-based-routecommand to disable system policy routing.

System policy routing is disabled by default.

Note that:

You can only reference one policy when enabling system policy routing.

Page 814
Image 814
3Com MSR 30, MSR 50 manual If-match packet-length, Ip local policy-based-route, Related commands if-match acl