Apr Set Detectlen - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/2
[Sysname-GigabitEthernet1/0/2] application statistics enable outbound
# Enable application statistics in the inbound and outbound directions of GigabitEthernet 1/0/3.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] application statistics enable
Related commands
display application statistics

apr set detectlen

Use apr set detectlen to set the maximum detected length for an NBAR rule.
Use undo apr set detectlen to restore the default.
Syntax
apr set detectlen bytes
undo apr set detectlen
Default
The maximum detected length is not limited for an NBAR rule.
Views
NBAR rule view
Predefined user roles
network-admin
Parameters
bytes: Specifies the maximum detected length in the range of 0 to 4294967295 bytes.
Usage guidelines
The following matrix shows the command and hardware compatibility:
Hardware
MSR810/810-W/810-W-DB/810-LM/810-W-LM/810-10-PoE/810-LM
-HK/810-W-LM-HK
MSR810-LMS/810-LUS
MSR2600-10-X1
MSR 2630
MSR3600-28/3600-51
MSR3600-28-SI/3600-51-SI
MSR3610-X1/3610-X1-DP/3610-X1-DC/3610-X1-DP-DC
MSR 3610/3620/3620-DP/3640/3660
MSR5620/5660/5680
To improve the recognition accuracy of an application, set the maximum detected length to a larger
value.
826
Command compatibility
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes

Advertisement

Table of Contents
loading

Table of Contents