Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
420
This example shows how to create a ND policy named policy1and configures the device’s role to host.
Switch# configure terminal
Switch(config)# ipv6 nd inspection policy policy1
Switch(config-nd-inspection)# device-role host
Switch(config-nd-inspection)#
47-4 ipv6 nd inspection attach-policy
This command is used to apply an ND inspection policy on the specified interface. Use the no form of this
command to remove the ND inspection policy.
ipv6 nd inspection attach-policy [POLICY-NAME]
no ipv6 nd inspection attach-policy
Parameters
POLICY-NAME
(Optional) Specifies the ND Inspection policy name.
Default
By default, ND inspection policy is not applied.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command is available for physical port and port channel configuration. The command is used to
apply the ND Inspection policy on a specified interface. If no policy-name is specified, the behavior of
the default policy is as follows:
NS/NA messages are inspected.
Layer 2 header source MAC address validations are disabled.
Example
This example shows how to apply ND inspection policy called “policy1” on interface eth1/0/3.
Switch# configure terminal
Switch(config)# ipv6 nd inspection policy policy1
Switch(config-nd-inspection)# device-role host
Switch(config-nd-inspection)# validate source-mac
Switch(config-nd-inspection)# exit
Switch(config)# interface eth1/0/3
Switch(config-if)# ipv6 nd inspection attach-policy policy1
Switch(config-if)#
47-5 show ipv6 nd inspection policy
This command is used to display Router Advertisement (RA) guard policy information.