Command Reference Guide

22authentication 3Com Router 5000 Family and Router 6000 Family
Command Reference
authentication
Purpose Use the authentication command to set the IP address, port number and shared
key for the primary and secondary RADIUS authentication servers.
Use the undo authentication command to restore them to default value.
Syntax authentication { primary | secondary } ip ip-address [ port port-number
] [ key { simple | cipher } key-string ]
undo authentication { primary | secondary }
Parameters ip-address
Server IP address, in dotted decimal format. It must be
a legal unicast IP address.
port-number
UDP port number. Valid values are 1 to 65535.
simple
Indicates the key is displayed in plain text.
cipher
Indicates the key is displayed in cipher text.
key-string
Shared key. In the simple mode, the key-string must be
in plain text. In the cipher mode, the key-string can be
in either plain or cipher text. The plain key is a
character string containing 1 to 96 characters, such as
huawei918. By default, the key is huawei in plain text.
Default By default, for the RADIUS scheme system created by the system, the IP address and
UDP port number of primary authentication server are 127.0.0.1 and 1645, and the IP
address and UDP port number of secondary authentication server are 0.0.0.0 and
1812. For the newly created RADIUS scheme, the IP addresses and UDP port numbers
of both primary and secondary authentication servers are 0.0.0.0 and 1812. The
default shared key of all primary and secondary authentication servers of the RADIUS
scheme is huawei.
Example Configure the IP address to 10.110.1.2, UDP port number to 1812, and shared key to
sharekey for the primary and secondary authentication servers of the RADIUS scheme.
[3Com-radius-huawei] authentication primary ip 10.110.1.2 port 1812 key
sharekey
View This command can be used in the following views:
RADIUS Scheme view