< Home

as service-vlan authorization

Function

The as service-vlan authorization command creates service VLANs on ASs.

The undo as service-vlan authorization command deletes service VLANs on ASs.

By default, all interfaces on an AS belong to the default VLAN, that is, VLAN 1.

This command can only be executed on a parent switch.

Format

as service-vlan authorization { vlan-id1 [ to vlan-id2 ] } &<1-16>

undo as service-vlan authorization { vlan-id1 [ to vlan-id2 ] } &<1-16>

Parameters

Parameter Description Value

vlan-id1 [ to vlan-id2 ]

Specifies service VLAN IDs in a batch:

  • vlan-id1 specifies the first VLAN ID.

  • vlan-id2 specifies the last VLAN ID.

    vlan-id2 must be greater than or equal to vlan-id1. vlan-id1 and vlan-id2 together determine a VLAN range.

  • If you do not specify to vlan-id2, only one service VLAN is specified by vlan-id1.

Values of vlan-id1 and vlan-id2 are integers in a range of 1 to 4094.

Views

uni-mng view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the as service-vlan authorization command to deliver service VLANs to ASs in a batch. After these service VLANs are delivered successfully, corresponding VLANs are created on these ASs.

Precautions

This VLAN cannot be a stack reserved VLAN, SVF management VLAN, super VLAN, or RRPP/SEP/ERPS control VLAN.

In versions earlier than V200R019, a maximum of 32 service VLANs can be created. In V200R019 and later versions, a maximum of 1024 service VLANs can be created.

Example

# Create the service VLAN 10 for ASs.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] as service-vlan authorization 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >