Qtech QSW-8200-28T-AC — dHCPv6 Commands for Option 37 and 38 Configuration Guide [49/79]

Превью страниц Страница 49 / 79
Qtech QSW-8200-52T-AC Команды для dhcp-сервера онлайн [49/79] 481623
User Manual
Chapter 4. Commands for DHCPv6 option37, 38 49
www.qtech.ru
Command Mode: Global configuration mode
Usage Guide: Only after this command is configured, DHCPv6 relay agent can add
option 37 in DHCPv6 request packets before sending it to server or next relay agent.
Make sure that DHCPv6 service has been enabled before execute this command.
Example: Enable the switch relay to support option 37.
Switch(Config)#service dhcpv6
Switch(Config)#ipv6 dhcp relay remote-id option
4.1.6 ipv6 dhcp relay subscriber-id
Command: ipv6 dhcp relay subscriber-id <subscriber-id>
no ipv6 dhcp relay subscriber-id
Function: This command is used to set the form of adding option 38 in received DHCPv6
request packets, of which <subscriber-id> is the subscriber-id in user-defined option 38
and it is a string with a length of less than 128. The no operation of this command
restores subscriber-id in option 38 to vlan name together with port name such as
"Vlan2+Ethernet1/0/2".
Parameters: subscriber-id, user-defined content of option 38
Default: Set subscriber-id in option 38 to vlan name together with port name.
Command Mode: Interface configuration mode
Usage Guide: Because the option 38 information added by switch may associate with
third-party DHCPv6 servers, users can specify the subscriber-id content based on server
condition when standard subscriber-id of the switch cannot satisfy the demand of
server. The vlan name together with physical port name is used as the subscriber-id in
option 38 by default.
Example: Enable abc as the subscriber-id of DHCPv6 option 38.
Switch(Config-if-vlan1)# ipv6 dhcp relay subscriber-id abc
4.1.7 ipv6 dhcp relay subscriber-id option
Command: ipv6 dhcp relay subscriber-id option
no ipv6 dhcp relay subscriber-id option
Function: This command enables switch relay to support the option 38, the no form of
this command disables it.
Parameters: None.
Default: Disable the relay option 38.
Command Mode: Global configuration mode
Usage Guide: Only after this command is configured, DHCPv6 relay agent can add
option 38 in DHCPv6 request packets before sending it to server or next relay agent.
Make sure that DHCPv6 service has been enabled before execute this command. The
option 38 of switch relay is disabled by default.
Example: Enable the switch relay to support option 38.
Switch(Config)#service dhcpv6
Switch(Config)#ipv6 dhcp relay subscriber-id option

Содержание

Explore the essential commands for configuring DHCPv6 options 37 and 38. Learn how to enable relay agents and customize subscriber IDs effectively.

Скачать