The radius-server authentication command configures a RADIUS authentication server.
The undo radius-server authentication command deletes the configured RADIUS authentication server.
By default, no RADIUS authentication server is specified.
radius-server authentication ipv4-address port [ vpn-instance vpn-instance-name | source { loopback interface-number | ip-address ipv4-address } | weight weight-value ] * secondary
radius-server authentication ipv6-address port [ source { loopback interface-number | ip-address ipv6-address } | weight weight-value ] * secondary
undo radius-server authentication secondary
undo radius-server authentication ipv4-address port source { loopback | ip-address ipv4-address } secondary
undo radius-server authentication ipv6-address port source { loopback | ip-address ipv6-address } secondary
Parameter |
Description |
Value |
---|---|---|
ipv4-address |
Specifies the IPv4 address of a RADIUS authentication server. |
The value is a valid unicast address in dotted decimal notation. |
ipv6-address | Specifies the IPv6 address of a RADIUS authentication server. |
The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
port |
Specifies the port number of a RADIUS authentication server. |
The value is an integer that ranges from 1 to 65535. |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance that the RADIUS authentication server is bound to. |
The value is a string of 1 to 31 case-sensitive characters without spaces. |
source loopback interface-number |
Specifies the IP address of the loopback interface taken as the source IP address. interface-number specifies the number of a loopback interface. |
The value is an integer that ranges from 0 to 1023. |
source ip-address ipv4-address |
Specifies the source IPv4 address in RADIUS packets sent from the device to a RADIUS authentication server. If this parameter is not specified, the IPv4 address of the outbound interface is used as the source IPv4 address in RADIUS packets sent from the device to a RADIUS authentication server. |
The value is a valid unicast address in dotted decimal notation. |
source ip-address ipv6-address |
Specifies the source IPv6 address in RADIUS packets sent from the device to a RADIUS authentication server. If this parameter is not specified, the IPv6 address of the outbound interface is used as the source IPv6 address in RADIUS packets sent from the device to a RADIUS authentication server. |
The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
weight weight-value |
Specifies the weight of a RADIUS authentication server. |
The value is an integer that ranges from 0 to 100. |
secondary |
Specifies the configured authentication server as the secondary accounting server. If you do not configure this parameter, it indicates that you configure the primary authentication server. |
- |
This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.
Its function is the same as that of the radius-server authentication ipv4-address port [ vpn-instance vpn-instance-name | source { loopback interface-number | ip-address ipv4-address } | weight weight-value ] * or radius-server authentication ipv6-address port [ source { loopback interface-number | ip-address ipv6-address } | weight weight-value ] * command.