XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
52-5
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 t
he RADIUS packets for the switch.
radius nas-ipv6 <ipv6-address>
no radius nas-ipv6
To configure the source IPv6 address fo
r the RADIUS packets for the switch.
52.3 RADIUS Typical Examples
52.3.1
IPv4 Radius Example
Fig 8-2 The Topology of IEEE802.1x configuration
A computer connects to a switch, of which the IP address is 10.1.1.2 and connect
ed with a RADIUS 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 defaulte
d 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
10.1.1.1
10.1.1.2
Radius Server
10.1.1.3