The user-policy interface-down command configures a policy for online users when an interface goes Down. The policy can be forcibly logging out the users or keeping the users online.
The undo user-policy interface-down command restores the default configuration.
By default, when an interface goes Down, the online users are forcibly logged out.
This command is supported only on the NetEngine 8000 F1A.
Usage Scenario
When an interface goes Down due to an interface fault or a direct link fault, the users on the interface are logged out. When the interface recovers and goes Up, the users go online through the interface again. If an interface constantly goes Up and Down due to an interface fault or a direct link fault, the users also go online and offline through the interface constantly. To address this problem, run the user-policy interface-down command to configure a policy for online users when an interface goes Down.
Configuration Impact
If the user-policy interface-down command is configured in both the system view and the BAS interface view, whether users are logged out when the BAS interface goes Down depends on whether the user-policy interface-down command is configured on the BAS interface, and whether users are logged out when another BAS interface goes Down depends on the configuration in the system view.
Precautions
This command is supported only on the admin VS.
After you run the user-policy interface-down online command to keep users online when an interface goes Down, the detection mechanisms, including the ARP probe and PPP keepalive, configured for users still take effect. Specifically, if the detection fails, the users are forcibly logged out.<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1 [~HUAWEI-GigabitEthernet0/1/1] bas [~HUAWEI-GigabitEthernet0/1/1-bas] access-type layer2-subscriber [*HUAWEI-GigabitEthernet0/1/1-bas] commit [~HUAWEI-GigabitEthernet0/1/1-bas] user-policy interface-down online
<HUAWEI> system-view [~HUAWEI] user-policy interface-down offline