H3C Technologies H3C S12500-X Series Switches User Manual
Page 40

28
Step Command
Remarks
3.
Set the RADIUS server status.
•
Set the status of the primary RADIUS
authentication server:
state primary authentication { active |
block }
•
Set the status of the primary RADIUS
accounting server:
state primary accounting { active |
block }
•
Set the status of a secondary RADIUS
authentication server:
state secondary authentication
[ ip-address [ port-number |
vpn-instance vpn-instance-name ] * ]
{ active | block }
•
Set the status of a secondary RADIUS
accounting server:
state secondary accounting
[ ip-address [ port-number |
vpn-instance vpn-instance-name ] * ]
{ active | block }
Configure at least one
command.
By default, every server
specified in a RADIUS scheme
is in active state.
The configured server status
cannot be saved to any
configuration file, and can
only be viewed by using the
display radius scheme
command. After the device
restarts, all servers are
restored to the active state.
364B
Specifying the source IP address for outgoing RADIUS packets
The source IP address of RADIUS packets that a NAS sends must match the IP address of the NAS
configured on the RADIUS server. A RADIUS server identifies a NAS by its IP address. Upon receiving a
RADIUS packet, a RADIUS server checks whether the source IP address of the packet is the IP address of
a managed NAS. If it is, the server processes the packet. If it is not, the server drops the packet.
The source address of outgoing RADIUS packets is typically the IP address of an egress interface on the
NAS to communicate with the RADIUS server. However, in some situations, you must change the source
IP address. For example, if the NAS is configured with VRRP for stateful failover, the source IP address of
outgoing RADIUS packets can be the virtual IP address of the uplink VRRP group.
You can specify a source IP address for outgoing RADIUS packets in RADIUS scheme view for a specific
RADIUS scheme, or in system view for all RADIUS schemes whose servers are in a VPN or the public
network.
Before sending a RADIUS packet, the NAS selects a source IP address in the following order:
1.
The source IP address specified for the RADIUS scheme.
2.
The source IP address specified in system view for the VPN or public network, depending on where
the RADIUS server resides.
3.
The IP address of the outbound interface specified by the route.
To specify a source IP address for all RADIUS schemes in a VPN or the public network:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify a source IP address
for outgoing RADIUS packets.
radius nas-ip { ipv4-address | ipv6
ipv6-address } [ vpn-instance
vpn-instance-name ]
By default, the IP address of the
RADIUS packet outbound interface
is used as the source IP address.
To specify a source IP address for a specific RADIUS scheme:
- H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches