HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

544
if-match packet-length
Use if-match packet-length to define an IPv6 packet length match criterion.
Use undo if-match packet-length to remove the match criterion.
Syntax
if-match packet-length min-len max-len
undo if-match packet-length
Default
No packet length match criterion is defined.
Views
IPv6 policy node view
Predefined user roles
network-admin
Parameters
min-len: Specifies the minimum IPv6 packet length in the range of 1 to 65535 bytes.
max-len: Specifies the maximum IP packet length in the range of 1 to 65535 bytes. The value of max-len
must be no less than that of min-len.
Usage guidelines
The packet length range includes boundary values. For example, if you set the min-len and max-len
arguments to 100 and 200, respectively, packets with lengths of 100 bytes and 200 bytes are also
matched.
Examples
# Match packets with a length from 100 to 200 bytes.
<Sysname> system-view
[Sysname] ipv6 policy-based-route aa permit node 11
[Sysname-pbr6-aa-11] if-match packet-length 100 200
ipv6 local policy-based-route
Use ipv6 local policy-based-route to configure IPv6 local PBR based on a specified policy.
Use undo ipv6 local policy-based-route to remove the configuration.
Syntax
ipv6 local policy-based-route policy-name
undo ipv6 local policy-based-route
Default
No policy is referenced for IPv6 local PBR.
Views
System view