775Example # Enable IP accounting. system-view[Sysname] ip count enableip count exterior-thresholdSyntax ip count exterior-threshold numberundo ip count exterior-thresholdView System viewParameter number: Maximum number of accounting entries in the exterior table, in therange of 0 to 8,192.Description Use the ip count exterior-threshold command to configure the maximumnumber of accounting entries in the exterior table.Use the undo ip count exterior-threshold command to restore the default.When doing this, you are prompted to clear the table first if any accountingentries 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 packetsare denied by the firewall, these IP packets are counted in the firewall-deniedtable.■ If the source or destination IP address of the IP packets passing the interface (inthis case, a firewall may be configured or not) matches a network address inthe 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. system-view[Sysname] ip count exterior-threshold 100ip count firewall-deniedSyntax ip count firewall-denied { inbound-packets | outbound-packets }undo ip count firewall-denied { inbound-packets | outbound-packets }View Interface view