777

n If no firewall is configured on the interface, valid packets refer to all incoming and outgoing IP packets. If a firewall is configured, valid packets refer to only those passing the firewall.

Example # Count incoming IP packets on Ethernet1/0.

<Sysname> system-view

[Sysname] interface ethernet 1/0

[Sysname-Ethernet1/0] ip count inbound-packets

# Specify not to count incoming IP packets on Ethernet1/0.

<Sysname> system-view

[Sysname] interface ethernet 1/0

[Sysname-Ethernet1/0] undo ip count inbound-packets

ip count interior-threshold

Syntax ip count interior-threshold number

undo ip count interior-threshold

View System view

Parameter number: Maximum number of accounting entries in the interior table, in the range 0 to 16,384.

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

Use the undo ip count interior-thresholdcommand to restore the default. When doing this, you are prompted to clear the table first if the number of accounting entries in the table is greater than the default.

By default, maximum number of accounting entries in the interior table is 512.

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 recorded 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 recorded in the exterior table.

Example # Set maximum number of accounting entries in the interior table to 1,000.

<Sysname> system-view

[Sysname] ip count interior-threshold 1000

Page 777
Image 777
3Com MSR 50, MSR 30 manual Ip count interior-threshold, Example # Count incoming IP packets on Ethernet1/0, 777