R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
308
Default command level
2: System level
Parameters
acl-number: Specifies an ACL by its number in the range of 2000 to 3999. The number of a basic ACL
is in the range of 2000 to 2999 and the number of an advanced ACL is in the range of 3000 to 3999.
Examples
# Permit the packets matching ACL 2010.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] if-match acl 2010
if-match packet-length
Use if-match packet-length to define a 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
Views
Policy node view
Default command level
2: System level
Parameters
min-len: Specifies the minimum IP packet length in bytes, in the range of 0 to 65535.
max-len: Specifies the maximum IP packet length in bytes, in the range of 1 to 65535. The value of
max-len must be no less than that of min-len.
Examples
# Match the packets with a length from 100 to 200 bytes.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] if-match packet-length 100 200
if-match reverse-input-interface
Use if-match reverse-input-interface to configure a reverse input interface match criterion. Use undo
if-match reverse-input-interface to remove the match criterion.
Syntax
if-match reverse-input-interface interface-type interface-number
undo if-match reverse-input-interface