test-radius accounting

Tests RADIUS accounting server function.

Command Mode

Exec

Syntax

test-radius accounting { all [ [ client-nas ip_address ] [ username user_name ] ] | server server_ip_address [ [ client-nas ip_address ] [ port port_number ] [ username user_name ] ] | server-group [ [ client-nas ip_address ] [ username user_name ] ] } 

all

Specify to test all configured servers.

Must be one of the following:

  • all

client-nas ip_address

Specify IP address of the client NAS.

Must be a string in the ipv4-address pattern. For information on the ipv4-address pattern, see the Input Pattern Types chapter.

-Or-

Must be a string in the ipv6-address pattern. For information on the ipv6-address pattern, see the Input Pattern Types chapter.

port server_port_number

Specify the port number of the RADIUS server.

Must be an integer in the range of 1-65535.

server-group server_group_name

Specify name of the server group.

Must be a string of 1-64 characters.

server server_ip_address

Specify the IP address of the RADIUS server.

Must be a string in the ipv4-address pattern. For information on the ipv4-address pattern, see the Input Pattern Types chapter.

-Or-

Must be a string in the ipv6-address pattern. For information on the ipv6-address pattern, see the Input Pattern Types chapter.

username user_name

Specify the user name.

Must be a string of 1-64 characters.

Default Value: test.

Usage Guidelines

Use this command to test RADIUS accounting server function.