R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

133
ip count enable
Use ip count enable to enable IP accounting.
Use undo ip count enable to disable IP accounting.
Syntax
ip count enable
undo ip count enable
Default
IP accounting is disabled.
Views
System view
Default Level
2: System level
Examples
# Enable IP accounting.
<Sysname> system-view
[Sysname] ip count enable
ip count exterior-threshold
Use ip count exterior-threshold to configure the maximum number of flow entries in the exterior table.
Use undo ip count exterior-threshold to restore the default. When doing this, you are prompted to clear
the table first if any flow entries already exist in the table.
Syntax
ip count exterior-threshold number
undo ip count exterior-threshold
Default
The maximum number of flow entries in the exterior table is 0. Rule-incompliant packets are not counted.
Views
System view
Default Level
2: System level
Parameters
number: Specifies the maximum number of flow entries in the exterior table, in the range of 0 to 8192.
Examples
# Set the maximum number of flow entries in the exterior table to 100.
<Sysname> system-view
[Sysname] ip count exterior-threshold 100