SGS-6340 Series User Manual

Table Of Contents
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.
47.3 RADIUS Typical Examples
47.3.1 IPv4 RADIUS Example
10.1.1.2
10.1.1.1
RADIUS Server
10.1.1.3
Figure 47-2: The Topology of IEEE802.1x configuration
A computer connects to a switch, of which the IP address is 10.1.1.2 and connected with a
RADIUS authentication server without Ethernet1/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
Switch(config)#radius-server accounting host 10.1.1.3
Switch(config)#radius-server key test
Switch(config)#aaa enable
Switch(config)#aaa-accounting enable
47-113