OWN attributes are virtual attributes. They have their own names, encapsulation formats, and supported packets, but lack their own attribute numbers.
OWN attributes are supported only in the device-to-RADIUS direction. They cannot be independently used due to lack of attribute numbers. Before being sent to a RADIUS server, OWN attributes must be converted to other attributes. The numbers of the attributes belong to the original attributes, but the attribute content and formats belong to the OWN attributes. For example, if the radius-attribute translate nas-port hw-own-nas-port-new send command is run, the NAS-Port attribute sent to the RADIUS server uses the HW-Own-NAS-Port-New attribute's content and format.
All the currently defined OWN attributes function similarly to the preceding example. They are implemented by serving as the substitute formats for basic attributes. The following table describes all the available OWN attributes, their supporting status in packets, and their corresponding basic attributes.
OWN Attribute |
Access-Request Packet |
Accounting-Request Packet |
COA & DM ACK Packet |
Basic Attribute |
---|---|---|---|---|
HW-Own-NAS-Identify-SIM (OWN-1) |
Supported |
Supported |
Supported |
NAS-Identifier (32) |
HW-Own-NAS-Port-New (OWN-2) |
Supported |
Supported |
Not supported |
NAS-Port (5) |
HW-Own-NAS-Port-Identify-Old (OWN-3) |
Supported |
Supported |
Not supported |
NAS-Port-Id (87) |
HW-Own-Calling-Station-Id-Old (OWN-4) |
Supported |
Supported |
Not supported |
Calling-Station-Id (31) |
HW-Own-Nas-Port-Id-Uppercase (OWN-5) |
Supported |
Supported |
Not supported |
NAS-Port-Id (87) |
HW-Own-NAS-Port-CID (OWN-6) |
Supported |
Supported |
Not supported |
NAS-Port (5) |
Connect-Port-New (OWN-7) |
Supported |
Not supported |
Not supported |
Connect-port (128) |
HW-Own-NAS-Port-QinQ (OWN-8) |
Supported |
Supported |
Not supported |
NAS-Port (5) |
Nas-Port-Id-QINQ-Reverse (OWN-9) |
Supported |
Supported |
Not supported |
NAS-Port-Id (87) |