mac

Commands for RADIUS
472
switch send RADIUS packet. We suggest using the IP address of loopback interface as
source IP address, it avoids that the packets from RADIUS server are dropped when the
interface link-down.
Example: Configure the source ip address of RADIUS packet as 192.168.2.254.
Switch#radius nas-ipv4 192.168.2.254
43.10 radius nas-ipv6
Command: radius nas-ipv6 <ipv6-address>
no radius nas-ipv6
Function: Configure the source IPv6 address for RADIUS packet sent by the switch.
The no command deletes the configuration.
Parameter: <ipv6-address> is the source IPv6 address of the RADIUS packet, it must
be a valid unicast IPv6 address.
Default: No specific source IPv6 address for RADIUS packet is configured, the IPv6
address of the interface from which the RADIUS packets are sent is used as source IPv6
address of RADIUS packet.
Command mode: Global Mode.
Usage guide: The source IPv6 address must belongs to one of the IPv6 interface of the
switch, otherwise a failure message of binding IPv6 address will be returned when the
switch send RADIUS packet. We suggest using the IPv6 address of loopback interface
as source IPv6 address, it avoids that the packets from RADIUS server are dropped
when the interface link-down.
Example: Configure the source ipv6 address of RADIUS packet as 2001:da8:456::1.
Switch#radius nas-ipv6 2001:da8:456::1
43.11 radius-server accounting host
Command: 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>}
Function: 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.
Parameters: <ipv4-address> | <ipv6-address> stands for the server IPv4/IPv6
address;
<port-number> for server listening port number from 0 to 65535;