radius-server login host acct-port

Use this command to configure a RADIUS server and specify a UDP port to use for RADIUS accounting 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>)|) 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>)|) acct-port |) | timeout <1-60> |)

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

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 VRF

Default

By default, Radius-server login host acct-port is 1813

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#configure terminal
(config)#radius-server login host 192.168.2.3 vrf management seq-num 2 acct-port 23255