Configuration Guide DHCPv6 Snooping Commands
With this command enabled, the option18 interface-id will be added into the DHCPv6 request packets
and the VLAN will be changed to the specified one and the DHCP server will assign the addresses
according to the optionq8 information.
The following example adds the option18 interface-id into the DHCPv6 request packets and changes
the VLAN4094 in the option to VLAN 4093.
Ruijie# configure terminal
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# ipv6 dhcp snooping vlan 4094 information option
change-vlan-to vlan 4093
Ruijie(config-if)# end
15.15 ipv6 dhcp snooping vlan information option format-type
interface-id string
Use this command to enable the function of adding the option18 into the DHCP request packets and
filling the option18 interface-id with the content being the user-defined (the storage format is ASCII)
and performing the packet forwarding.
Use the no form of this command to restore the default setting.
ipv6 dhcp snooping vlan vlan-id information option format-type interface-id string ascii-string
no ipv6 dhcp snooping vlan vlan-id information option format-type interface-id string
ascii-string
The VLAN where the DHCPv6 request packets are
User-defined content for filling the interface-id
This function is disabled by default.
Interface configuration mode
With this command configured, the option18 interface-id will be added into the DHCPv6 request
packets with the content being user-defined and the DHCPv6 server will assign the addresses
according to the option18 information.