Configuring IP Packet Check
Context
IPSG can check IP packets based on VLANs or interfaces (including NVE interfaces).
The CE12800E does not support IP packet check on NVE interfaces.
If IP packet check is configured on an interface and in a VLAN, check items configured on the interface take effect.
Procedure
- In the VLAN:
- Run system-view
The system view is displayed.
- Run vlan vlan-id
The VLAN view is displayed.
Run ip source check user-bind enable
IP packet check is enabled.
By default, IP packet check is disabled in the VLAN.
Run ip source check user-bind check-item { ip-address | mac-address | interface }*
IP packet check items are configured.
By default, the device checks the source IP address, source MAC address, VLAN ID, and interface number in IP packets in the VLAN view.
This command is valid only for dynamic binding entries. IPSG enables the device to check all the static binding entries.
- Run commit
The configuration is committed.
- Run system-view
- On the interface:
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
Run ip source check user-bind enable
IP packet check is enabled.
By default, IP packet check is disabled on the interface.
Run ip source check user-bind check-item { ip-address | mac-address | vlan }*
IP packet check items are configured.
By default, the device checks the source IP address, source MAC address, VLAN ID, and interface number in IP packets in the interface view.
This command is valid only for dynamic binding entries. IPSG enables the device to check all the static binding entries.
- Run commit
The configuration is committed.
- Run system-view
- on the NVE interface
- Run system-view
The system view is displayed.
- Run interface nve nve-number
The NVE interface view is displayed.
- Run ip source check user-bind peer-ip peer-ip enable
IP source guard is enabled for the NVE interface.
By default, IP source guard is disabled on an NVE interface.
- Run commit
The configuration is committed.
- Run system-view