Configuring The Ipv4 Source Guard Function; Configuring Ipv4 Source Guard On A Port - H3C S5500-EI Series Security Configuration Manual

Hide thumbs Also See for S5500-EI Series:
Table of Contents

Advertisement

Configuring the IPv4 source guard function

You cannot enable IPv4 source guard on a link aggregation member port or a service loopback group.
If IPv4 source guard is enabled on a port, you cannot assign the port to a link aggregation group or a
service loopback group.

Configuring IPv4 source guard on a port

The IPv4 source guard function must be configured on a port before the port can obtain dynamic IPv4
source guard entries and use static and dynamic IPv4 source guard entries to filter packets.
For how to configure a static binding entry, see
On a Layer 2 Ethernet port, IP source guard cooperates with DHCP snooping, dynamically obtains
the DHCP snooping entries generated during dynamic IP address allocation, and generates IP
source guard entries accordingly.
On a VLAN interface, IP source guard cooperates with DHCP relay, dynamically obtains the DHCP
relay entries generated during dynamic IP address allocation across network segments, and
generates IP source guard entries accordingly.
Dynamic IPv4 source guard entries can contain such information as the MAC address, IP address, VLAN
tag, ingress port information, and entry type (DHCP snooping or DHCP relay), where the MAC address,
IP address, or VLAN tag information may not be included depending on your configuration. IP source
guard applies these entries to the port to filter packets.
To generate IPv4 binding entries dynamically based on DHCP entries, make sure that DHCP snooping or
DHCP relay is configured and working normally. For information about DHCP snooping configuration
and DHCP relay configuration, see Layer 3—IP Services Configuration Guide.
If you repeatedly configure the IPv4 source guard function on a port, only the last configuration takes
effect.
To configure the IPv4 source guard function on a port:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure IPv4 source guard
on the port.
NOTE:
Although dynamic IPv4 source guard entries are generated based on DHCP entries, the number of
dynamic IPv4 source guard entries is not necessarily the same as that of the DHCP entries.
"Configuring a static IPv4 source guard
Command
system-view
interface interface-type
interface-number
ip verify source { ip-address |
ip-address mac-address |
mac-address }
366
Remarks
N/A
The term "interface" collectively
refers to the following types of
ports and interfaces: Bridge mode
(Layer 2) Ethernet ports, VLAN
interfaces, and port groups.
Not configured by default.
entry."

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5500-si series

Table of Contents