Specifying a format for the NAS-Port-Id attribute

About specifying a format for the NAS-Port-Id attribute

RADIUS servers from different vendors might require different formats of the NAS-Port-Id attribute in the RADIUS packets. You can specify the NAS-Port-Id attribute format as required.

The device supports predefined formats (format 1, 2, 3, and 4). For more information about the formats, see portal commands in Security Command Reference.

Procedure

  1. Enter system view.

    system-view

  2. Specify the format for the NAS-Port-Id attribute.

    portal nas-port-id format { 1 | 2 | 3 | 4 }

    By default, the format for the NAS-Port-Id attribute is format 2.