Static Ipv6 Source Guard Entry Configuration Example - HP 12500 Series Configuration Manual

Routing
Table of Contents

Advertisement

[Device] interface vlan-interface 100
[Device-Vlan-interface100] dhcp select relay
# Correlate VLAN-interface 100 with DHCP server group 1.
[Device-Vlan-interface100] dhcp relay server-select 1
[Device-Vlan-interface100] quit
Verify the configuration:
3.
Display the generated IPv4 source guard entries.
[Device] display ip source binding
Total entries found: 1
MAC Address
0001-0203-0406

Static IPv6 source guard entry configuration example

Network requirements
As shown in
static IPv6 source guard entry for GigabitEthernet 3/0/1 of the device to allow only packets from the
host to pass.
Figure 90 Network diagram
Configuration procedure
# Configure the IPv6 source guard function on GigabitEthernet 3/0/1 to filter packets based on both the
source IP address and MAC address.
<Device> system-view
[Device] interface GigabitEthernet 3/0/1
[Device-GigabitEthernet3/0/1] ipv6 verify source ipv6-address mac-address
# Configure GigabitEthernet 3/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-GigabitEthernet3/0/1] ipv6 source binding ipv6-address 2001::1 mac-address
0001-0202-0202
[Device-GigabitEthernet3/0/1] quit
Verifying the configuration
# On Device, display the information about static IPv6 source guard 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
IP Address
192.168.0.1
Figure
90, the host is connected to port GigabitEthernet 3/0/1 of the device. Configure a
IP Address
2001::1
VLAN
Interface
100
Vlan-interface100
VLAN
Interface
N/A
GigabitEthernet3/0/1
261
Type
DHCP-RLY
Type
Static-IPv6

Advertisement

Table of Contents
loading

Table of Contents