R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

601
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
Predefined user roles
network-admin
Parameters
policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified
IPv6 policy must already exist.
Usage guidelines
You can apply only one policy locally. Before you apply a new policy, you must first remove the current
policy.
IPv6 local PBR is used to route locally generated packets. Do not configure IPv6 local PBR unless doing
so is required.
Examples
# Configure IPv6 local PBR based on policy aaa.
<Sysname> system-view
[Sysname] ipv6 local policy-based-route aaa
Related commands
display ipv6 policy-based-route setup
ipv6 policy-based-route (system view)