radius-server login host auth-port

Use this command to configure a RADIUS server and specify a UDP 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|NAME)|) (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|NAME)|) (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

vrf NAME

Specify the user-defined VRF instance name.

vrf management

Defines the management VRF instance.

Default

1812.

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3. Added VRF NAME parameter in OcNOS version 7.0.0.

Examples

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