block start-vlan any qinq

Function

The block start-vlan any qinq command set the range of VLANs from which users are blocked from going online.

The undo block start-vlan any qinq command cancel the blocking configuration.

By default, users in any VLAN are allowed to go online.

This command is supported only on the NetEngine 8000 F1A.

Format

block start-vlan any qinq start-vlan-value [ end-vlan-value ]

undo block start-vlan any qinq start-vlan-value [ end-vlan-value ]

Parameters

Parameter Description Value
start-vlan-value

Specifies the start VLAN ID of QinQ users to be blocked.

The value is in the range of 1 to 4094.

end-vlan-value

Specifies the end VLAN ID of QinQ users to be blocked.

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

Interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

You can run this command in the interface view to set the interface status to blocked. Then, all the users who go online from this interface with a specified VLAN ID are prohibited from access.

Precautions

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

Example

# Block the interface GE 0/1/17 based on VLANs.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/17
[~HUAWEI-GigabitEthernet0/1/17] block start-vlan any qinq 1 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >