Configuration commands

Use these M4500 CLI commands to enable IP Source Guard filtering on an interface and add static IP source bindings.

ip verify source

This command configures the IPSG source ID attribute to filter the data traffic in the hardware. Source ID is the combination of IP address and MAC address. Normal command allows data traffic filtration based on the IP address. With the "port-security" option, the data traffic will be filtered based on the IP and MAC addresses.

To disable the IPSG configuration in the hardware, use the no form of this command.

Default Disabled
Format

ip verify source [port-security]

no ip verify source

Mode Interface Config
Term Definition
<port-security> Filter data traffic based on the IP and MAC addresses.

ip verify binding

This command configures static IP source guard (IPSG) entries.

To remove the IPSG static entry from the IPSG database, use the no form of this command.

Default None
Format

ip verify binding <mac-address> vlan <vlan-id> <ip address> interface {<slot/port> | port-channel <portchannel-id> }

no ip verify binding <mac-address> vlan <vlan-id> <ip address> interface {<slot/port> | port-channel <portchannel-id> }

Mode Global Config
Term Definition
<mac-address> Specifies an MAC address.
<vlan-id> VLAN ID. The range of VLAN ID is 1 to 4093.
<ip address> Specifies an IP address.
<slot/port> Specifies the interface number.
<portchannel-id> Specifies the port-channel interfaces. The range of the port-channel ID is 1 to 64.