ip verify source max-entries

Syntax

ip verify source max-entries number

undo ip verify source max-entries

View

Layer 2 Ethernet interface view

Default level

2: System level

Parameters

number: Maximum number of IPv4 source guard entries allowed on a port. The value is in the range of 0 to 1024.

Description

Use ip verify source max-entries to set the maximum number of static and dynamic IPv4 source guard entries on a port. When the number of IPv4 binding entries on a port reaches the maximum, the port no longer allows new IPv4 binding entries.

Use undo ip verify source max-entries to cancel the limit set on the number of IPv4 source guard entries.

By default, the maximum number of IPv4 source guard entries allowed on a port is 1024.

If the maximum number of IPv4 binding entries to be configured is smaller than the number of existing IPv4 binding entries on the port, the maximum number can be configured successfully and the existing entries are not affected. New IPv4 binding entries, however, cannot be added any more unless the number of IPv4 binding entries on the port drops below the configured maximum.

Examples

# Set the maximum number of IPv4 source guard entries to 100 on port Ethernet 1/0/1.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] ip verify source max-entries 100