< Home

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.

If the authentication server supports the terminal type identification function, configure terminal type awareness on the device. This configuration enables the device to obtain terminal types and send the types to the authentication server. The authentication server then can identify the terminal types of users, control network access rights and policies such as packet processing priorities based on the user terminal types.

After enabling any NAC authentication mode, the device can obtain user terminal types in either of the following modes:
  • UA mode: The device parses the UA field that carries terminal type information from the HTTP Get packets sent from terminals. The device then encapsulates the UA information into the Huawei proprietary attribute 159 HW-HTTP-UA in RADIUS accounting packets, and sends the packets to the RADIUS server.
  • DHCP option field mode: The device parses the required option field containing terminal type information from the received DHCP Request packets. The device encapsulates the option field information into the Huawei proprietary attribute 158 HW-DHCP-Option in RADIUS accounting packets, and sends the packets to the RADIUS server. 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.
  • LLDP TLV type mode: The device parses the required TLV type containing terminal type information from the received LLDPDUs,. The device encapsulates the TLV type information into the Huawei proprietary attribute 163 HW-LLDP in RADIUS accounting packets, and sends the 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 solution of obtaining user terminal types for access devices. This solution cannot identify terminal types or allocate network access policies to terminals. The administrator configures the terminal type identification function and network access policies for terminals of different types on the RADIUS server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure terminal type awareness.

    • UA mode
      • On the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-S, S5731S-H, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S, run http parse user-agent enable

        The UA function is enabled.

        By default, the UA function is disabled.

      • On other models, the UA function is enabled by default.
    • Run device-sensor dhcp option option-code &<1-6>

      Terminal type awareness based on the DHCP option field is enabled.

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

    • Run device-sensor lldp tlv tlv-type &<1-4>

      LLDP-based terminal type awareness is enabled.

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

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