775

Example # Enable IP accounting.

<Sysname> system-view

[Sysname] ip count enable

ip count exterior-threshold

Syntax ip count exterior-threshold number

undo ip count exterior-threshold

View System view

Parameter number: Maximum number of accounting entries in the exterior table, in the range of 0 to 8,192.

Description Use the ip count exterior-thresholdcommand to configure the maximum number of accounting entries in the exterior table.

Use the undo ip count exterior-thresholdcommand to restore the default. When doing this, you are prompted to clear the table first if any accounting entries already exist in the table.

By default, the maximum number of accounting entries in the exterior table is 0.

Rule-incompliant packets are not to be counted.

IP packets are sorted as follows:

If a firewall is configured on an interface and incoming and outgoing IP packets are denied by the firewall, these IP packets are counted in the firewall-denied table.

If the source or destination IP address of the IP packets passing the interface (in this case, a firewall may be configured or not) matches a network address in the IP accounting rule, the packets are recorded in the interior table. Otherwise, the packets are counted in the exterior table.

Example # Set the maximum number of accounting entries in the exterior table to 100.

<Sysname> system-view

[Sysname] ip count exterior-threshold 100

ip count firewall-denied

Syntax ip count firewall-denied { inbound-packets outbound-packets }

undo ip count firewall-denied { inbound-packets outbound-packets }

View Interface view

Page 775
Image 775
3Com MSR 50, MSR 30 manual Ip count exterior-threshold, Ip count firewall-denied, Example # Enable IP accounting, 775