user-policy interface-down

Function

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.

Format

user-policy interface-down { offline | online }

undo user-policy interface-down

Parameters

Parameter Description Value
offline

Specifies the policy of forcibly logging out online users when an interface goes Down.

-

online

Specifies the policy of keeping the users online when an interface goes Down.

-

Views

BAS interface view, System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

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.

Example

# Configure a policy to keep users online when an interface goes Down in the BAS interface view.
<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
# Configure a policy to forcibly log out online users when an interface goes Down in the system view.
<HUAWEI> system-view
[~HUAWEI] user-policy interface-down offline
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >