Usage Scenario
When a DHCP user accesses the device and sends a packet carrying the VENDOR-CLASS(DHCPv4 OPTION60/DHCPv6 OPTION16) attribute, if the device parses the vendor-class attribute, the parsed contents are considered as domain information about users; if the device fails to parse the vendor-class attribute, you can run the vendor-class encrypt command to send the unparsed contents of the vendor-class attribute in the format of username<VENDOR-CLASS user name server. After parsing name, RADIUS server sends No.138 attribute carrying device. Then, BAS device authorizes to go online by using the delivered domain name.
When service identification based on vendor-class in DHCP packets is configured, the vendor-class attribute value is encrypted. After the
vendor-class encrypt command is configured, the device cannot parse the vendor-class attribute into a domain name in the format of username<VENDOR-CLASS name parsing RADIUS server sends device to by using the domain and thus it for another attempt. In this case, information contained in username is never of an actual but a vendor-class string. Users, however, still access original domain.
Before configuring the
vendor-class encrypt command, run the
service-identify-policy command in the system view to create a service identification policy and then run the
service-identify command to configure service identification based on vendor-class in DHCP packets.
The use of this command affects the generation of user names.
The
vendor-class encrypt command functions the same as the option60 encrypt command. Both commands are used to encrypt the vendor-class string. If both commands are configured, the latest configuration takes effect.
Prerequisites
Before configuring the vendor-class encrypt command, run the service-identify-policy command in the system view to create a service identification policy and then run the service-identify command to configure service identification based on vendor-class in DHCP packets.
Configuration Impact
The use of this command affects the generation of user names.
The
vendor-class encrypt command functions the same as the option60 encrypt command. Both commands are used to encrypt the vendor-class string. If both commands are configured, the latest configuration takes effect.
Precautions
In VS mode, this command is supported only by the admin VS.