DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
198
Switch# configure terminal
Switch(config)# ipv6 dhcp guard policy dhcp_filter1
Switch(config-dhcp-guard)# match ipv6 access-list list1
Switch(config-dhcp-guard)#
20-4
ipv6 dhcp guard attach-policy
This command is used to apply a DHCPv6 guard policy on the specified interface. Use the
no
form of
this command to remove the binding.
ipv6 dhcp guard attach-policy [POLICY-NAME]
no ipv6 dhcp guard attach-policy
Parameters
POLICY-NAME
(Optional) Specifies the DHCPv6 guard policy name.
Default
By default, this option is disabled.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command is used to apply a DHCPv6 policy to an interface. DHCPv6 guard policies can be used
to block DHCPv6 server messages or filter server messages based on sender IP address. If the policy
name is not specified, the default policy will set the device’s role to client.
Example
This example shows how to apply the DHCPv6 guard policy “pol1” to interface eth1/0/3.
Switch# configure terminal
Switch(config)# interface eth1/0/3
Switch(config-if)# ipv6 dhcp guard attach-policy pol1
Switch(config-if)#
20-5
show ipv6 dhcp guard policy
This command is used to display DHCPv6 guard information.
show ipv6 dhcp guard policy [POLICY-NAME]
Parameters
POLICY-NAME
(Optional) Specifies the DHCPv6 guard policy name.
Default
None.
Summary of Contents for DGS-510
Page 1: ...1 ...
Page 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Page 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Page 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Page 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...