Celestica Documentation Portal

Find your product documents here

RADIUS host

Configures a RADIUS server.

Syntaxradius-server host <server-ip-address> | auth-port <auth-port-value> | auth-type {pap | chap | mschapv2} | { passkey <plaintext-value> | encrypted-passkey <encrypted-passkey-value> } | priority <priority-value> | retransmit <retransmit-attempts-value> | source-interface {Ethernet <eth-if-id> | PortChannel <po-if-id> | Loopback <lpbk-if-id> | Vlan <vl-if-id> | Management } | timeout <timeout-value> | vrf mgmt
Command modeCONFIG
Parameters
  • server-ip-address – IPv4 or IPv6 address

  • auth-port-value – Enter authentication port number, Range: 1 – 65535, Default: 1812

  • pap – Password Authentication Protocol authentication type (default)

  • chap – Challenge-Handshake Authentication Protocol authentication type

  • plaintext-value – Plaintext passkey string. Valid characters: ASCII printable except SPACE, #, and COMMA. Maximum length: 65

  • encrypted-passkey-value – Encrypted passkey (cipher text)

  • priority-value – Enter the priority of RADIUS server, Range: 1 – 60, Default: 1

  • retransmit-attempts-value – Enter the number of retransmit attempts, Range: 0 – 10, Default: 3

  • eth-if-id – Ethernet interface identifier in multiples of 4

  • po-if-id – PortChannel identifier, Range: 1 – 256

  • lpbk-if-id – Loopback interface identifier, Range: 0 – 16383

  • vl-if-id – VLAN interface identifier, Range : 1 – 4094

  • timeout-value – Enter the RADIUS server timeout value, Range: 1 – 60, Default: 5

  • mgmt – Management VRF, Default: no VRF

UsageUse no radius-server host to remove the configured global radius server.
Supported Releases 1.0.0 or later
Click command
  • config radius add [OPTIONS] <ip_address>

  • config radius delete [OPTIONS] <ip_address>

Example
sonic# sonic# configure terminal
sonic(config)# radius-server host 1.2.3.4 auth-port 32 key abcd123 auth-type chap priority 3 retransmit 3 source-interface Ethernet 0 timeout 4 vrf mgmt
sonic(config)# no radius-server host 1.2.3.4
sonic(config)#