Configure IP source guard on an interface
You can configure IP source guard on individual interfaces.
To configure IP source guard on an interface:
- Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
The System Information page displays.
- Select Security > Control > IP Source Guard > Interface Configuration.
The Interface Configuration page displays.
- Select whether to display physical interfaces, LAGs, or both by clicking one of the following links above the table heading:
-
1 or Unit ID for a stacked switch:
- 1: If no switch stack is configured, the physical interfaces for the switch are displayed.
- Unit ID for a stacked switch: If a switch stack is configured, the physical interfaces for the switch with the selected stack unit ID are displayed.
-
LAG: Only LAGs are displayed.
-
All: Both physical interfaces and LAGs are displayed, or for a switch stack, both physical interfaces on all switches in the stack and LAGs are displayed.
-
- Select one or more interfaces by taking one of the following actions:
-
To configure a single interface, select the check box associated with the port, or type the port number in the Go To Interface field and click the Go button.
-
To configure multiple interfaces with the same settings, select the check box associated with each interface.
-
To configure all interfaces with the same settings, select the check box in the heading row.
-
- From the IPSG Mode menu, specify the administrative mode of IPSG on the interface:
-
Enable: IPSG is enabled on the interface. The IP address of the source is not in DHCP snooping binding database, packets are not forwarded.
-
Disable: IPSG is disabled on the interface. The default is Disable.
-
- From the IPSG Port Security menu, specify the administrative mode of IPSG port security on the interface:
-
Enable: IPSG port security is enabled on the interface. Packets are not forwarded if the MAC address of the source is not in forwarding database table or the DHCP snooping binding database. To enforce filtering based on the MAC address, you must also configure the following features:
-
Enable port security globally (see Configure the global port security mode).
-
Enable port security on the interface (see Configure a port security interface).
-
-
Disable: IPSG port security is disabled on the interface. The default is Disable.
-
- Click the Apply button.
Your settings are saved.
- To save the settings to the running configuration, click the Save icon.