---
title: radius
slug: enterprise-v6p1/i18k-radius
createdAt: 2025-12-18T07:41:41.378Z
---

AsterNOS Model for radius

# <font color="#1d50a2">YANG Tree Diagram</font>

```none
module: asternos-radius
  +--rw radius
     +--rw global
     |  +--rw shared-secret?   string
     |  +--rw auth-type?       auth-type-enumeration
     |  +--rw src-ip?          inet:ip-address
     |  +--rw nas-ip?          inet:ip-address
     |  +--rw timeout?         uint8
     |  +--rw retransmit?      uint8
     +--rw servers
        +--rw server* [ipaddress]
           +--rw ipaddress        inet:ip-address-no-zone
           +--rw auth-port?       inet:port-number
           +--rw shared-secret?   string
           +--rw auth-type?       auth-type-enumeration
           +--rw priority?        uint8
           +--rw timeout?         uint16
           +--rw retransmit?      uint8
           +--rw vrf?             string
           +--rw src-intf?        union
```

# <font color="#1d50a2">Resources</font>

## <font color="#1d50a2">Resource List</font>

| **Path**                             | **Access** |
| ------------------------------------ | ---------- |
| /radius                              | Read-Write |
| /radius/global                       | Read-Write |
| /radius/global/shared-secret         | Read-Write |
| /radius/global/auth-type             | Read-Write |
| /radius/global/src-ip                | Read-Write |
| /radius/global/nas-ip                | Read-Write |
| /radius/global/timeout               | Read-Write |
| /radius/global/retransmit            | Read-Write |
| /radius/servers                      | Read-Write |
| /radius/servers/server               | Read-Write |
| /radius/servers/server/ipaddress     | Read-Write |
| /radius/servers/server/auth-port     | Read-Write |
| /radius/servers/server/shared-secret | Read-Write |
| /radius/servers/server/auth-type     | Read-Write |
| /radius/servers/server/priority      | Read-Write |
| /radius/servers/server/timeout       | Read-Write |
| /radius/servers/server/retransmit    | Read-Write |
| /radius/servers/server/vrf           | Read-Write |
| /radius/servers/server/src-intf      | Read-Write |

## <font color="#1d50a2">Detailed Nodes</font>

### <font color="#1d50a2">/radius</font>

**Path**

/radius

**Node Type**

container

**Description**

Radius configuration

**Access**

Read-Write

### <font color="#1d50a2">/radius/global</font>

**Path**

/radius/global

**Node Type**

container

**Description**

Global radius configuration

**Access**

Read-Write

### <font color="#1d50a2">/radius/global/shared-secret</font>

**Path**

/radius/global/shared-secret

**Node Type**

leaf

**Description**

RADIUS global shared secret (Valid chars are ASCII printable except SPACE, "#", and ",")

**Access**

Read-Write

**Data Type**

\<YANG type string>

**Constraints**

String with length: 1 to 65

### <font color="#1d50a2">/radius/global/auth-type</font>

**Path**

/radius/global/auth-type

**Node Type**

leaf

**Description**

RADIUS global method used for authenticating the comm. mesg.

**Access**

Read-Write

**Data Type**

\<YANG type auth-type-enumeration>

**Constraints**

Enumeration with options:

- pap
- chap

### <font color="#1d50a2">/radius/global/src-ip</font>

**Path**

/radius/global/src-ip

**Node Type**

leaf

**Description**

source IP address (IPv4 or IPv6) for the outgoing RADIUS pkts.

**Access**

Read-Write

**Data Type**

\<YANG type ip-address>

**Constraints**

Multiple constraints:

- The ipv6-address type represents an IPv6 address in full, mixed, shortened, and shortened-mixed notation. The IPv6 address may include a zone index, separated by a % sign.

If a system uses zone names that are not represented in UTF-8, then an implementation needs to use some mechanism to transform the local name into UTF-8. The definition of such a mechanism is outside the scope of this document.

The zone index is used to disambiguate identical address values. For link-local addresses, the zone index will typically be the interface index number or the name of an interface. If the zone index is not present, the default zone of the device will be used.

The canonical format of IPv6 addresses uses the textual representation defined in Section 4 of RFC 5952. The canonical format for the zone index is the numerical format as described in Section 11.2 of RFC 4007.

- The ipv4-address type represents an IPv4 address in dotted-quad notation. The IPv4 address may include a zone index, separated by a % sign. If a system uses zone names that are not represented in UTF-8, then an implementation needs to use some mechanism to transform the local name into UTF-8. The definition of such a mechanism is outside the scope of this document.

The zone index is used to disambiguate identical address values. For link-local addresses, the zone index will typically be the interface index number or the name of an interface. If the zone index is not present, the default zone of the device will be used.

The canonical format for the zone index is the numerical format

### <font color="#1d50a2">/radius/global/nas-ip</font>

**Path**

/radius/global/nas-ip

**Node Type**

leaf

**Description**

NAS-IP|IPV6-Address attribute for the outgoing RADIUS pkts.

**Access**

Read-Write

**Data Type**

\<YANG type ip-address>

**Constraints**

Multiple constraints:

- The ipv6-address type represents an IPv6 address in full, mixed, shortened, and shortened-mixed notation. The IPv6 address may include a zone index, separated by a % sign.

If a system uses zone names that are not represented in UTF-8, then an implementation needs to use some mechanism to transform the local name into UTF-8. The definition of such a mechanism is outside the scope of this document.

The zone index is used to disambiguate identical address values. For link-local addresses, the zone index will typically be the interface index number or the name of an interface. If the zone index is not present, the default zone of the device will be used.

The canonical format of IPv6 addresses uses the textual representation defined in Section 4 of RFC 5952. The canonical format for the zone index is the numerical format as described in Section 11.2 of RFC 4007.

- The ipv4-address type represents an IPv4 address in dotted-quad notation. The IPv4 address may include a zone index, separated by a % sign. If a system uses zone names that are not represented in UTF-8, then an implementation needs to use some mechanism to transform the local name into UTF-8. The definition of such a mechanism is outside the scope of this document.

The zone index is used to disambiguate identical address values. For link-local addresses, the zone index will typically be the interface index number or the name of an interface. If the zone index is not present, the default zone of the device will be used.

The canonical format for the zone index is the numerical format

### <font color="#1d50a2">/radius/global/timeout</font>

**Path**

/radius/global/timeout

**Node Type**

leaf

**Description**

Radius timeout in seconds

**Access**

Read-Write

**Data Type**

\<YANG type uint8>

**Constraints**

Valid range: 1 to 60

### <font color="#1d50a2">/radius/global/retransmit</font>

**Path**

/radius/global/retransmit

**Node Type**

leaf

**Access**

Read-Write

**Data Type**

\<YANG type uint8>

**Constraints**

Valid range: 0 to 10

### <font color="#1d50a2">/radius/servers</font>

**Path**

/radius/servers

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/radius/servers/server</font>

**Path**

/radius/servers/server

**Node Type**

list

**Access**

Read-Write

### <font color="#1d50a2">/radius/servers/server/ipaddress</font>

**Path**

/radius/servers/server/ipaddress

**Node Type**

leaf

**Description**

RADIUS server's Domain name or IP address (IPv4 or IPv6)

**Access**

Read-Write

**Data Type**

\<YANG type ip-address-no-zone>

**Constraints**

Multiple constraints:

- An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.
- An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

### <font color="#1d50a2">/radius/servers/server/auth-port</font>

**Path**

/radius/servers/server/auth-port

**Node Type**

leaf

**Description**

RADIUS authentication port number.

**Access**

Read-Write

**Data Type**

\<YANG type port-number>

**Constraints**

Valid range: 0 to 65535

### <font color="#1d50a2">/radius/servers/server/shared-secret</font>

**Path**

/radius/servers/server/shared-secret

**Node Type**

leaf

**Description**

RADIUS servers shared secret (Valid chars are ASCII printable except SPACE, "#", and ",")

**Access**

Read-Write

**Data Type**

\<YANG type string>

**Constraints**

String with length: 1 to 65

### <font color="#1d50a2">/radius/servers/server/auth-type</font>

**Path**

/radius/servers/server/auth-type

**Node Type**

leaf

**Description**

RADIUS server's method used for authenticating the comm. mesg.

**Access**

Read-Write

**Data Type**

\<YANG type auth-type-enumeration>

**Constraints**

Enumeration with options:

- pap
- chap

### <font color="#1d50a2">/radius/servers/server/priority</font>

**Path**

/radius/servers/server/priority

**Node Type**

leaf

**Description**

RADIUS server's priority

**Access**

Read-Write

**Data Type**

\<YANG type uint8>

**Constraints**

Valid range: 1 to 64

### <font color="#1d50a2">/radius/servers/server/timeout</font>

**Path**

/radius/servers/server/timeout

**Node Type**

leaf

**Access**

Read-Write

**Data Type**

\<YANG type uint16>

**Constraints**

Valid range: 1 to 60

### <font color="#1d50a2">/radius/servers/server/retransmit</font>

**Path**

/radius/servers/server/retransmit

**Node Type**

leaf

**Access**

Read-Write

**Data Type**

\<YANG type uint8>

**Constraints**

Valid range: 0 to 10

### <font color="#1d50a2">/radius/servers/server/vrf</font>

**Path**

/radius/servers/server/vrf

**Node Type**

leaf

**Description**

VRF name

**Access**

Read-Write

**Data Type**

\<YANG type string>

### <font color="#1d50a2">/radius/servers/server/src-intf</font>

**Path**

/radius/servers/server/src-intf

**Node Type**

leaf

**Access**

Read-Write

**Data Type**

\<YANG type union>
