beautypg.com

20 remote-id subscriber-id, 20 remote-id subscriber-id -58 – PLANET WGSW-52040 User Manual

Page 518

background image

32-58

doesn’t 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

32.1.20 remote-id subscriber-id

Command:

{remote-id [*] [*] | subscriber-id [*] [*]}

no {remote-id [*] [*] | subscriber-id [*] < subscriber-id> [*]}

Function:

This command configures option 37 and option 38 that match the class in IPv6 DHCP class configur

ation mode.

Parameters:

, a string with a length ranging from 1 to 128 bytes is used to match remote-id in option 37.

, 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 CLASS1.

Switch(Config)# ipv6 dhcp class CLASS1

Switch(Dhcpv6-class)#remote-id abc* subscriber-id bcd*