The radius-server format-attribute nas-port-id command configures the format of the NAS-Port-Id attribute.
The undo radius-server format-attribute nas-port-id command deletes the configured attribute format.
By default, the Nas-Port-Id attribute is in the version1 format.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
format-string |
Specifies the format. The rule for specifying format-string is as follows: Format 1:
Format 2: m32, indicating the 32 least significant bits of a user MAC address. |
The value is a string of 1 to 32 characters. |
redback-simple |
Specifies the format of Redback-simple to encapsulate the NAS-Port-Id attribute. "VLAN-ID" is used as "VLANID" in the format of Redback-simple. |
- |
redback-addition |
Specifies the format of redback-addition to encapsulate the NAS-Port-Id attribute. |
- |
format-attribute |
Indicates the format of Turkey version. |
- |
nas-port-id |
No. 87 RADIUS attribute. |
- |
version1 |
Indicates encapsulating the NAS-Port-Id attribute in Huawei's default format. For details about the default format, see Usage Guidelines. |
- |
version2 |
Indicates generating the NAS-Port-Id attribute in the following format: <interface-type><slot>/<sub-slot><port>.<subinterface>[:<out-vlan>][.<in-vlan>]. The Interface-type is fastEthernet/ gigabitEthernet/trunk. If a logical interface is configured for a trunk interface, the interface information in the preceding format is the same as that of the logical interface. If no logical interface is configured on a trunk interface, the values of slot, sub-slot, and port in the preceding format are 0, 0, and trunk ID, respectively. The logical interface is specified using the nas logic-port command. |
- |
vendor vendor-id |
Specifies the ID of a supplier. |
The value is an integer ranging from 1 to 65535. Currently, only 2352, 2636, and 9 are supported. |