mac

Commands for DHCPv6 option37, 38
353
30.1.19 ipv6 dhcp use class
Command: ipv6 dhcp use class
no ipv6 dhcp use class
Function: This command enables DHCPv6 server to support DHCPv6 class during
address assignment, the no operation of this command disables it without removing the
relative DHCPv6 class information that has been configured.
Parameters: None.
Default: DHCPv6 server supports DHCPv6 class during address assignment.
Command Mode: Global configuration mode
Usage Guide: By default, DHCPv6 servers support DHCPv6 class during address
assignment and the no form of this command doesnt remove DHCPv6 class information
that has been configured. Make sure that DHCPv6 service has been enabled before
using this command. DHCPv6 server supports DHCPv6 class during address
assignment by default.
Example: Configure DHCPv6 server to support DHCPv6 class during address
assignment.
Switch(Config)# ipv6 dhcp use class
30.1.20 remote-id subscriber-id
Command: {remote-id [*] <remote-id> [*] | subscriber-id [*] <subscriber-id> [*]}
no {remote-id [*] <remote-id> [*] | subscriber-id [*] < subscriber-id> [*]}
Function: This command configures option 37 and option 38 that match the class in
IPv6 DHCP class configuration mode.
Parameters: <remote-id>, a string with a length ranging from 1 to 128 bytes is used to
match remote-id in option 37.
<subscriber-id>, a string with a length ranging from 1 to 128 bytes is used
to match subscriber-id in option 38.
[*], match zero or more characters.
Default: None.
Command Mode: IPv6 DHCP Class configuration mode
Usage Guide: This command configures a mode which matches with the
already-defined DHCPv6 class, and a DHCPv6 class may configure multiple commands.
If this command is ignored and no mode configured in IPv6 DHCP Class mode, any
remote-id or subscriber-id is considered to match with the DHCPv6 class, however,
remote-id or subscriber-id must exist in DHCPv6 packet.
Example: Configure some remote-id or subscriber-id belonging to DHCPv6 class named