![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg32e.png)
814 CHAPTER 61: IP UNICAST POLICY ROUTING CONFIGURATION COMMANDS
if-match packet-length
Syntax if-match packet-length min-len max-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-len
must be no less than min-len.
Description Use the
if-match packet-length command to define a packet length match
rule.
Use the
undo if-match packet-length command 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-route command to enable system policy routing
and reference a policy.
Use the
undo ip local policy-based-route command 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.