No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
vlan (VLAN pool view)

vlan (VLAN pool view)

Function

The vlan command adds VLANs to a VLAN pool.

The undo vlan command deletes VLANs from a VLAN pool.

By default, no VLAN is available in a VLAN pool.

Format

vlan { start-vlan [ to end-vlan ] } &<1-10>

undo vlan { { start-vlan [ to end-vlan ] } &<1-10> | all }

Parameters

Parameter Description Value
start-vlan [ to end-vlan ]

Specifies the range of VLAN IDs.

start-vlan and end-vlan determine a VLAN range. start-vlan must be smaller than end-vlan.

The value is an integer that ranges from 1 to 4094.

Views

VLAN pool view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A VLAN pool is a combination of multiple VLANs and is used to simplify network deployment, you can run the vlan (VLAN pool view) command to add specified VLANs to a VLAN pool.

Precautions

  • A maximum of 128 VLANs can be added to a VLAN pool.
  • Deleting a VLAN will interrupt services of users using the VLAN. Exercise caution when you perform this operation.
  • A nonexistent VLAN can also be added to a VLAN pool. However, you need to create the VLAN after adding a nonexistent VLAN to a VLAN pool; otherwise, the VLAN does not take effect.

Example

# Add VLANs 9, 12, 13, and 14 to the VLAN pool test.

<HUAWEI> system-view
[HUAWEI] vlan pool test
[HUAWEI-vlan-pool-test] vlan 9 12 to 14
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 114482

Downloads: 83

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next