set protocols dhcp6 snooping vlan option-policy
The set protocols dhcp6 snooping vlan option-policy command configures how to handle the Option field when receiving a DHCPv6 message on VLANs where DHCPv6 snooping is enabled.
Command Syntax
set protocols dhcp6 snooping vlan <vlan-id> option-policy <drop | keep | insert | replace>
Parameters
Parameter | Description |
vlan <vlan-id> | Specifies a VLAN. The value is an integer that ranges from 1 to 4094. |
option-policy <drop | keep | insert | replace> | Specifies the policy for Option. The value could be drop, keep, insert or replace.
The default value is keep. |
Usage Guidelines
Option policy is used when receiving a DHCPv6 message from the DHCPv6 client. When option policy is set to “insert” or “replace”, you can use the following commands to set the format of interface ID and remote ID sub-options:
set protocols dhcp6 snooping option18 interface-id <port-index | port-name | port-description>
Example
- Configure the Option policy.
admin@Xorplus# set protocols dhcp6 snooping vlan 12 option-policy insert admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.