Setting the maximum number of IPv4 source guard entries allowed on a port

The maximum number of IPv4 source guard entries is used to limit the total 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.

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 until the number of IPv4 binding entries on the port drops below the configured maximum.

To configure the maximum number of IPv4 binding entries allowed on a port:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 Ethernet interface view.

interface interface-type interface-number

N/A

3. Configure the maximum number of IPv4 binding entries allowed on the port.

ip verify source max-entries number

Optional.

By default, the maximum number is 2048.