Static Ipv6 Source Guard Configuration Example - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

[Switch-Vlan-interface100] dhcp select relay
# Specify the IP address of the DHCP server.
[Switch-Vlan-interface100] dhcp relay server-address 10.1.1.1
[Switch-Vlan-interface100] quit
Verify the configuration:
3.
# Display dynamic IPv4 source guard entries.
[Switch] display ip source binding dhcp-relay
Total entries found: 1
IP Address
192.168.0.1

Static IPv6 source guard configuration example

Network requirements
As shown in
Configure a static IPv6 source guard entry for Ten-GigabitEthernet 1/0/1 of the switch to allow only IPv6
packets from the host to pass.
Figure 67 Network diagram
Configuration procedure
# Enable IPv6 source guard on port Ten-GigabitEthernet 1/0/1.
<Switch> system-view
[Switch] interface ten-gigabitEthernet 1/0/1
[Switch-Ten-GigabitEthernet1/0/1] ipv6 verify source ip-address mac-address
# On port Ten-GigabitEthernet 1/0/1, configure a static IPv6 source guard entry to allow only IPv6
packets with the source IPv6 address of 2001::1 and the source MAC address of 00-01-02-02-02-02 to
pass.
[Switch-Ten-GigabitEthernet1/0/1] ipv6 source binding ip-address 2001::1 mac-address
0001-0202-0202
[Switch-Ten-GigabitEthernet1/0/1] quit
# Display static IPv6 source guard entries on the switch. The output shows that a static binding entry is
configured successfully.
[Switch] display ipv6 source binding static
Total entries found: 1
IPv6 Address
2001::1
MAC Address
0001-0203-0406 Vlan100
Figure
67, the host is connected to port Ten-GigabitEthernet 1/0/1 of the switch.
MAC Address
0001-0202-0202 XGE1/0/1
Interface
Interface
199
VLAN Type
N/A
DHCP relay
VLAN Type
N/A
Static

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents