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

Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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).
show vlan general

show vlan general

Function

The show vlan general command is used to check existing VLANs and their properties.

Format

show vlan general [ name=? ]

show vlan general [ object_type=? object_id=? ]

Parameters

Parameter

Description

Value

name=?

VLAN name.

To obtain the value, run the "show vlan general" command.

object_type=?

Type of the object associated with a VLAN.

To obtain the value, run the "show vlan general" command.

object_id=?

ID of the object associated with a VLAN.

To obtain the value, run the "show vlan general" command.

Level

Guest

Usage Guidelines

None

Example

  • Check the properties of all VLANs.
    admin:/>show vlan general 
    Name Running Status VLAN ID MTU Port Type Port ID  
    ------------ -------------- ------- ---- ---------- ---------  
    ENG0.A2.P0.2 Link Down 2 1500 ETH ENG0.A2.P0  
    ENG0.A2.P1.1 Link Down 1 1500 ETH ENG0.A2.P1
  • Check the properties of a specific VLAN.
    admin:/>show vlan general name=ENG0.A2.P1.1 
    Name : ENG0.A2.P1.1  
    Running Status : Link Down  
    VLAN ID : 1  
    MTU : 1500  
    Port Type : ETH  
    Port ID : ENG0.A2.P1
  • Check objects associated with a VLAN.
    admin:/>show vlan general object_type=failovergroup object_id=0 
    Command executed successfully.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Name

VLAN name.

Running Status

Running status of the VLAN.

VLAN ID

VLAN ID.

MTU

MTU of the VLAN.

Port Type

Type of the VLAN port.

Port ID

ID of the port created by the VLAN.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181601

Views: 312407

Downloads: 39

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