Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
194
19. DHCPv6 Guard Commands
19-1 ipv6 dhcp guard policy
This command is used to create or modify a DHCPv6 guard policy. This command will enter into the
DHCPv6 guard configuration mode. Use the no command to remove the DHCPv6 guard policy.
ipv6 dhcp guard policy POLICY-NAME
no ipv6 dhcp guard policy POLICY-NAME
Parameters
POLICY-NAME
Specifies the DHCPv6 guard policy name.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command is used to create or modify the DHCPv6 guard policy. This command will enter into the
DHCPv6 guard configuration mode. DHCPv6 guard policies can be used to block DHCPv6 reply and
advertisement messages that come from unauthorized servers. Client messages are not blocked.
After the DHCPv6 guard policy was created, use the ipv6 dhcp guard attach-policy command to apply
the policy on a specific interface.
Example
This example shows how to create a DHCPv6 guard policy.
Switch# configure terminal
Switch(config)# ipv6 dhcp guard policy policy1
Switch(config-dhcp-guard)# device-role server
Switch(config-dhcp-guard)# match ipv6 access-list acl1
Switch(config-dhcp-guard)#
19-2 device-role
This command is used to specify the role of the attached device.
device-role {client | server}
no device-role
Parameters
client
Specifies that the attached device is a DHCPv6 client. All DHCPv6