< Home

interface vlanif

Function

The interface vlanif command creates a VLAN interface and displays the VLAN interface view.

The undo interface vlanif command deletes the VLAN interface.

Format

interface vlanif vlan-id

undo interface vlanif vlan-id

Parameters

Parameter Description Value
vlan-id Specifies the ID of a VLAN. The value is an integer ranging from 1 to 4094.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

None.

Example

# Enter the VLANIF2 interface view.

<sysname> system-view
[sysname] interface vlanif 2
[sysname-Vlanif2]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >