SNR S2940-8G-v2 Switch Configuration Guide
RADIUS Configuration
radius-server accounting host { <ipv4-address> |
<ipv6-address> } [port <port-number>] [key { 0 |
7 } <string>] [primary]
no radius-server accounting host { <ipv4-
address> | <ipv6-address> }
Specifies the IPv4/IPv6 address and the
port number, whether be primary server
for RADIUS accounting server; the no
command deletes the RADIUS accounting
server.
4. Configure the parameter of the RADIUS service
Command Explanation
Global Mode
radius-server dead-time <minutes>
no radius-server dead-time
To configure the interval that the RADIUS becomes
available after it is down. The no form of this command
will restore the default configuration.
radius-server retransmit <retries>
no radius-server retransmit
To configure retry times for the RADIUS packets. The
no form of this command restores the default configu-
ration.
radius-server timeout <seconds>
no radius-server timeout
To configure the timeout value for the RADIUS server.
The no form of this command will restore the default
configuration.
radius-server accounting-interim-
update timeout <seconds>
no radius-server accounting-interim-
update timeout
To configure the update interval for accounting. The
no form of this command will restore the default con-
figuration.
5. Configure the IP address of the RADIUS NAS
Command Explanation
Global Mode
radius nas-ipv4 <ip-address>
no radius nas-ipv4
To configure the source IP address for the RADIUS
packets for the switch.
radius nas-ipv6 <ipv6-address>
no radius nas-ipv6
To configure the source IPv6 address for the RADIUS
packets for the switch.
50.3 RADIUS Typical Examples
50.3.1 IPv4 Radius Example
A computer connects to a switch, of which the IP address is 10.1.1.2 and connected with a RA-
DIUS authentication server without Ethernet1/0/2; IP address of the server is 10.1.1.3 and the
authentication port is defaulted at 1812, accounting port is defaulted at 1813.
Configure steps as below:
Switch(config)#interface vlan 1
Switch(Config-if-vlan1)#ip address 10.1.1.2 255.255.255.0
Switch(Config-if-vlan1)#exit
Switch(config)#radius-server authentication host 10.1.1.3
341