IPv6 First-Hop SecurityNEW!

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:

Configuring RA Guard

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

Configuring DHCPv6 Snooping

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

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.

Configuring IPv6 Source Guard

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]

Configuring Neighbor Discovery Inspection

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

Displaying IPv6 First-Hop Security Information

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]}