block(BAS interface view)

Function

The block command blocks a BAS interface.

The undo block command unblocks a BAS interface.

By default, the BAS interface is unblocked.

This command is supported only on the NetEngine 8000 F1A.

Format

block [ start-vlan { start-vlan [ end-vlan end-vlan ] [ qinq qinq-vlan ] | any qinq start-qinq-vlan [ end-qinq-vlan ] } ]

undo block [ start-vlan { start-vlan [ end-vlan end-vlan ] [ qinq qinq-vlan ] | any qinq start-qinq-vlan [ end-qinq-vlan ] } ]

Parameters

Parameter Description Value
start-vlan start-vlan

Start VLAN ID. This parameter is used only for Ethernet BAS sub-interfaces.

The value is in the range of 1 to 4094.

end-vlan end-vlan

End VLAN ID. This parameter is used only for Ethernet BAS sub-interfaces.

The value is in the range of 1 to 4094. The end-vlan value must be greater than or equal to the start-vlan value.

qinq start-qinq-vlan

Specifies the start VLAN ID of QinQ users to be blocked. This parameter is used only for Ethernet BAS sub-interfaces.

The value is in the range of 1 to 4094.

qinq qinq-vlan

Outer VLAN ID of QinQ users. This parameter is used only for Ethernet BAS sub-interfaces.

The value is in the range of 1 to 4094.

any

Specifies all VLAN IDs in the inner tag. You can specify a VLAN range in the outer tag after this parameter to block QinQ users in the VLAN range.

-

end-qinq-vlan

Specifies the end VLAN ID of QinQ users to be blocked. This parameter is used only for Ethernet BAS sub-interfaces.

The value is an integer ranging from 1 to 4094. The end-qinq-vlan value must be greater than or equal to the start-qinq-vlan value.

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

No new users are allowed to access a blocked BAS interface, but the users who have gone online can remain online.

Before you configure the block command, run the access-type command to configure access type on the BAS interface.

VLAN-related parameters cannot be configured on main Ethernet BAS interfaces.

NOTE:

A blocked BAS interface still responds with PADO packets after receiving PADI packets from terminals.

In user access load balancing scenarios, PADI packets from a terminal can reach multiple BAS interfaces. If any of these BAS interfaces responds with PADO packets, the terminal user will use this BAS interface to go online. However, if the BAS interfaces that responds with PADO packets is blocked, the terminal user cannot go online. In this case, run the access-delay command in the BAS interface view to set an access delay after which the terminal user can re-select a BAS interface to go online.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Block the BAS interface GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] bas
[~HUAWEI-GigabitEthernet0/1/0-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/0-bas] commit
[~HUAWEI-GigabitEthernet0/1/0-bas] block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >