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 the NAS-Port-ID attribute in format 1, format 2, format 3, and format 4. For more information about the formats, see Security Command Reference.

To specify a format for the NAS-Port-ID attribute:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

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.