radius-server login host auth-port

Use this command to configure a RADIUSClosed Remote Authentication Dial-In User Service server and specify a UDPClosed User Datagram Protocol port to use for RADIUS authentication messages.

Use the no form of this command to remove a RADIUS server.

Command Syntax

Copy
radius-server login host (A.B.C.D | X:X::X:X | HOSTNAME) (vrf management|) (seq-num (<1-8>)|) (|(auth-port <0-65535> (|(acct-port <0-65535> (|(timeout <1-60>))))))
no radius-server login host (A.B.C.D | X:X::X:X | HOSTNAME) (vrf management|) (seq-num (<1-8>)|) (auth-port (|(acct-port (|timeout))))

Parameters

login

Remote login

A.B.C.D

IPv4 address of RADIUS server

X:X::X:X

IPv6 address of RADIUS server

HOSTNAME

DNS host name of RADIUS server

seq-num

seq-num Sequence Number / Priority index for radius-servers

<1-8>

sequence number for servers

auth-port

UDP port to use for RADIUS accounting messages

<0-65535>

Range of UDP port numbers

acct-port

UDP port to use for RADIUS accounting messages

<0-65535>

Range of UDP port numbers

timeout

How long to wait for a response from the RADIUS server before declaring a timeout failure

<1-60>

Range of timeout period in seconds

vrf

Virtual Routing and Forwarding

management

Management VRFClosed Virtual Routing and Forwarding

Default

By default, Radius-server login host acct-port is 1812.

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#configure terminal
(config)#radius-server login host 203.0.113.15 vrf management seq-num 1 auth-port 23255