133
•
Specify an interface for backing up portal services, which is called a "portal service backup
interface" in this document, and enable portal on the portal service backup interface. The portal
service backup interface is different from the stateful failover interface. Stateful failover interfaces
only forward state negotiation messages and backup data.
•
Specify the portal group to which the portal service backup interface belongs. Be sure to specify the
same portal group for the portal service backup interfaces that back up each other on the two
devices.
•
Specify the device ID. Make sure that the device ID of the local device is different from that of the
peer device.
•
Specify the backup source IP address for outgoing RADIUS packets as the source IP address for
RADIUS packets that is configured on the peer device, so that the peer device can receive packets
from the server. (This configuration is optional.)
•
Specify the stateful failover interface, and enable stateful failover on the interface. For related
configuration, see
High Availability Configuration Guide
.
After the working state of the two devices changes from independence to synchronization and the portal
group takes effect, the two devices start to back up the data of online portal users for each other.
To configure stateful failover:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Enter interface view.
interface
interface-type
interface-
number
—
3.
Specify the portal group to
which the portal service
backup interface belongs.
portal backup-group
group-id
Required.
By default, the portal service
backup interface does not belong
to any portal group.
The portal service backup
interfaces on the two devices for
stateful failover must belong to the
same portal group.
4.
Return to system view.
quit
—
5.
Specify the device ID in
stateful failover mode.
nas device-id
device-id
Required.
By default, the router works in
stand-alone mode and has no
device ID configured.
For more information, see
Security
Command Reference
.
6.
Specify the backup source IP
radius nas-backup-ip
ip-address
Optional.