Static Ipv6 Source Guard Binding Entry Configuration Example; Dynamic Ipv6 Source Guard Binding By Dhcpv6 Snooping Configuration Example - HP A5830 Series Configuration Manual

Security switch
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Static IPv6 source guard binding entry configuration example

Network requirements
As shown in
static IPv6 source guard binding entry for GigabitEthernet 1/0/1 of the device to allow only packets
from the host to pass.
Figure 70 Network diagram for configuring static IPv6 source guard binding entries
Configuration procedure
# Configure the IPv6 source guard function on GigabitEthernet 1/0/1 to filter packets based on both the
source IP address and MAC address.
<Device> system-view
[Device] interface gigabitethernet 1/0/1
[Device-GigabitEthernet1/0/1] ipv6 verify source ipv6-address mac-address
# Configure GigabitEthernet 1/0/1 to allow only IPv6 packets with the source MAC address of 0001-
0202-0202 and the source IPv6 address of 2001::1 to pass.
[Device-GigabitEthernet1/0/1] ipv6 source binding ipv6-address 2001::1 mac-address 0001-
0202-0202
[Device-GigabitEthernet1/0/1] quit
Verification
# On the device, display the information about static IPv6 source guard binding entries. The output
shows that the binding entry is configured successfully.
[Device] display ipv6 source binding static
Total entries found: 1
MAC Address
0001-0202-0202
Dynamic IPv6 source guard binding by DHCPv6 snooping
configuration example
Network requirements
As shown in
through ports GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2, respectively.
Enable DHCPv6 and DHCPv6 snooping on the device, so that the host can obtain an IP address through
the DHCPv6 server, and the IPv6 IP address and the MAC address of the host can be recorded in a
DHCPv6 snooping entry.
Enable IPv6 source guard function on the device's port GigabitEthernet 1/0/1 to filter packets based on
DHCPv6 snooping entries, allowing only packets from a client that obtains an IP address through the
DHCP server to pass.
Figure
70, the host is connected to port GigabitEthernet 1/0/1 of the device. Configure a
IP Address
2001::1
Figure
71, the host (DHCPv6 client) and the DHCPv6 server are connected to the device
VLAN
Interface
N/A
GE1/0/1
219
Type
Static-IPv6

Advertisement

Table of Contents
loading

Table of Contents