< Home

vlan (asset view)

Function

The vlan command sets the VLAN ID of an asset.

The undo vlan command deletes the configured VLAN ID.

Format

vlan vlan-id

undo vlan

Parameters

Parameter Description Value
vlan-id Specifies the VLAN ID of the asset.

The value is an integer ranging from 1 to 4094.

Views

Asset view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set the VLAN ID of the asset to 5.

<sysname> system-view
[sysname] ssa
[sysname-ssa] asset name J0001
[sysname-ssa-asset-J0001] vlan 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic