EasyManua.ls Logo

HP 5120 SI Series

HP 5120 SI Series
385 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
292
To do… Use the command… Remarks
Enter system view
system-view —
Enter Layer 2 Ethernet interface
view
interface interface-type
interface-number
—
Configure a static IPv4 source
guard entry for the port
user-bind ipv6 ip-address
ipv6-address [ mac-address
mac-address ] [vlan vlan-id ]
Required
No static IPv4 source guard entry
exists on a port by default.
NOTE:
• You cannot confi
g
ure the same static bindin
g
entry on one port for multiple times, but you can confi
g
ure
the same static entry on different ports.
• In an IPv4 source guard entry, the MAC address cannot be all 0s, all Fs (a broadcast address), or a
multicast address, and the IPv4 address can only be a Class A, Class B, or Class C address and can be
neither 127.x.x.x nor 0.0.0.0.
• When you configure a static binding entry, if its content is the same as that of a dynamic bindin
g
entr
y
in the system, the static binding entry overwrites the dynamic binding entry.
Configuring dynamic IPv4 source guard
After dynamic IPv4 source guard is enabled on a port, IP source guard will generate binding entries
dynamically through cooperation with DHCP protocols:
• 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 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.
Follow these steps to configure dynamic IPv4 source guard:
To do… Use the command…
Remarks
Enter system view system-view —
Enter interface view
interface interface-type
interface-number
—
Configure dynamic IPv4 source
guard
ip check source ipv6 ip-address
[ mac-address ]
Required
Not configured by default

Table of Contents

Other manuals for HP 5120 SI Series

Related product manuals