Version 34.1.1 introduces IPv6 First-Hop Security features that protect edge ports from IPv6 attacks and unauthorized network access.
Overview: IPv6 First-Hop Security implements multiple edge protection mechanisms that work together to prevent IPv6-based attacks and enforce network access policies:
RA Guard: Blocks rogue Router Advertisements on untrusted ports, preventing router impersonation and man-in-the-middle attacks.
DHCPv6 Snooping: Blocks DHCPv6 server messages on untrusted ports, preventing rogue DHCPv6 servers. It also builds a binding table of IPv6 address, MAC address, VLAN and port from DHCPv6 exchanges, similar to DHCPv4 snooping.
IPv6 Source Guard: Allows IPv6 traffic on a port only from source addresses in the binding table, learned through DHCPv6 snooping or configured as static bindings. Traffic from link-local source addresses is denied by default.
Neighbor Discovery Inspection (NDI): Validates Neighbor Solicitation and Neighbor Advertisement messages against the binding table, preventing neighbor spoofing and neighbor cache poisoning attacks.
To enable RA Guard on ports, use the following command:
enable ip-security {ipv6} ra-guard {vlan} vlan_name ports [port_list | all] [violation-action [drop-packet {[block-port | block-mac] [permanently | duration duration_in_seconds]}]]
To disable RA Guard on ports, use the following command:
disable ip-security {ipv6} ra-guard {vlan} vlan_name ports [port_list | all]
To configure or unconfigure ports as trusted for routers that send IPv6 Router Advertisements, use the following command:
[configure | unconfigure] trusted-ports {ipv6} [port_list | all] trust-for router
To enable DHCPv6 snooping on a VLAN, use the following command:
enable ip-security ipv6 dhcp-snooping {vlan} vlan_name ports [port_list | all] violation-action [none | drop-packet {[block-port | block-mac] [permanently | duration duration_in_seconds]}]
To disable DHCPv6 snooping on a VLAN, use the following command:
disable ip-security ipv6 dhcp-snooping {vlan} vlan_name ports [port_list | all]
To configure or unconfigure ports as trusted for DHCPv6 servers, use the following command:
[configure | unconfigure] trusted-ports ipv6 [port_list | all] trust-for dhcp-server
To add a DHCPv6 binding entry, use the following command:
configure ip-security dhcp-bindings add ipv6 ipv6_address mac mac_address {vlan} vlan_name server-port server_port client-port client_port lease-time seconds
To delete a DHCPv6 binding entry, use the following command:
configure ip-security dhcp-bindings delete ipv6 ipv6_address {vlan} vlan_name
To clear DHCPv6 snooping entries, use the following command:
clear ip-security ipv6 dhcp-snooping entries {vlan} vlan_name {ipv6-address [ipv6_address] | ports [port_list]}
To enable or disable the restoration of stored DHCP bindings, use the following command:
[enable | disable] ip-security dhcp-bindings restoration {ipv4-only | ipv6-only | both}

Note
In a Layer 2 setup, if IPv4 source IP lockdown is enabled on a port and IPv6 source IP lockdown is not, DHCPv6 snooping does not learn bindings for the clients on that port. To avoid this, also enable IPv6 source IP lockdown on the same ports. Do not enable source IP lockdown on the port that faces the DHCPv6 server.To enable IPv6 Source Guard on ports, use the following command:
enable ip-security ipv6 source-ip-lockdown ports [port_list | all] {link-local [permit | deny]}
The optional link-local keyword permits or denies link-local source addresses. The default is deny.
To disable IPv6 Source Guard on ports, use the following command:
disable ip-security ipv6 source-ip-lockdown ports [port_list | all]
To clear IPv6 Source Guard entries, use the following command:
clear ip-security ipv6 source-ip-lockdown entries ports [port_list | all]
To enable Neighbor Discovery Inspection on ports, use the following command:
enable ip-security {ipv6} nd-inspection source-mac destination-mac ip vlan vlan_name ports [port_list | all] violation-action drop-packet {block-port [permanently | duration duration_in_seconds]}
To disable Neighbor Discovery Inspection on ports, use the following command:
disable ip-security {ipv6} nd-inspection {vlan} vlan_name ports [port_list | all]
To clear Neighbor Discovery Inspection violations, use the following command:
clear ip-security {ipv6} nd-inspection violations
To display the RA Guard configuration, use the following command:
show ip-security {ipv6} ra-guard {vlan} vlan_name
To display RA Guard violations, use the following command:
show ip-security {ipv6} ra-guard violations {vlan} vlan_name
To display the DHCPv6 snooping configuration for a VLAN, use the following command:
show ip-security ipv6 dhcp-snooping {vlan} vlan_name
To display the DHCPv6 snooping entries for a VLAN, use the following command:
show ip-security ipv6 dhcp-snooping entries {vlan} vlan_name
To display the DHCPv6 snooping entries for a list of VLANs, use the following command:
show ip-security ipv6 dhcp-snooping entries vlan vlan_list
To display DHCPv6 snooping violations for a VLAN, use the following command:
show ip-security ipv6 dhcp-snooping violations {vlan} vlan_name
To display DHCPv6 snooping violations for a list of VLANs, use the following command:
show ip-security ipv6 dhcp-snooping violations vlan vlan_list
To display IPv6 Source Guard information, use the following command:
show ip-security ipv6 source-ip-lockdown
To display the Neighbor Discovery Inspection configuration, use the following command:
show ip-security {ipv6} nd-inspection {vlan} vlan_name
To display Neighbor Discovery Inspection for a list of VLANs, use the following command:
show ip-security {ipv6} nd-inspection vlan vlan_list
To display the Neighbor Discovery Inspection violation count, use the following command:
show ip-security {ipv6} nd-inspection violations {vlan} vlan_name {ports [port_list | all]}