< Home

(Optional) Configuring Terminal Type Awareness

Context

A device usually connects to many types of terminals. You may need to assign different network access rights or packet processing priorities to the terminals of different types. For example, the voice devices, such as IP phones, should be assigned a high packet processing priority because voice signals require low delay and jitter.

Using the terminal type awareness function, the device can obtain terminal types and send them to the authentication server. The authentication server then controls network access rights and policies such as packet processing priorities bases on the user terminal types.

After enabling any NAC authentication mode, the device can obtain user terminal types in either of the following modes:
  • DHCP option field mode: The device parses the required option field containing terminal type information from the received DHCP request packets. The device then sends the option field information to the RADIUS server through a RADIUS accounting packet. Before selecting the DHCP option field mode, you must enable the DHCP snooping function on the device. For details, see Enabling DHCP Snooping in "DHCP Snooping Configuration" in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - Security.
  • LLDPTLV type mode: The device parses the required TLV type containing terminal typeinformation from the received LLDPDUs,. The device encapsulates the TLVtype information into the Huawei proprietary attribute 163 HW-LLDP in RADIUS accounting packets, and sendsthe packets to the RADIUS server.Before selecting the LLDP TLV type mode, you must enable the LLDP function on the device and the connected peer device. For details, see "Enabling LLDP" in "LLDP Configuration" in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - Network Management Configuration.

The terminal type awareness function takes effect only when the authentication or accounting mode in the AAA scheme is RADIUS.

The terminal type awareness function only provides a method of obtaining user terminal types for access device, through which network access policies cannot be assigned to the terminals. The administrator configures the network access policies for terminals of different types on the RADIUS server.

Procedure

  • In the DHCP option field mode

    1. Run the system-view command to enter the system view.
    2. Run the device-sensor dhcp option option-code &<1-6> command to enable the terminal type awareness function based on the DHCP option field.

      By default, the terminal type awareness function based on the DHCP option field is disabled.

  • In the LLDP TLV type mode

    1. Run the system-view command to enter the system view.
    2. Run the device-sensor lldp tlv tlv-type &<1-4> command to enable the LLDP-based terminal type awareness function.

      By default, the LLDP-based terminal type awareness function is disabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >