Specifying the device ID used in stateful failover mode

Two devices working in stateful failover mode for portal services are uniquely identified by their device IDs. A device ID can only be 1 or 2. For more information about the stateful failover mode for portal services, see "Configuring portal authentication."

Follow these guidelines when you specify the device ID used in stateful failover mode:

To specify the device ID used in stateful failover mode:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Specify the device ID used in stateful failover mode.

nas device-id device-id

By default, a device works in standalone mode and has no device ID.