Thursday, January 5, 2017

The VLAN Configuration of display vlan(distributed mode)

Function Description

Virtual Local Area Network (VLAN) is a technology used to form virtual workgroups by logically grouping the devices of a LAN. The IEEE issued draft IEEE 802.1Q in 1999, which aims at standardizing VLAN implementations. The MA5680T/MA5683T/MA5608T supports the following four types of VLANs: standard VLAN, smart VLAN, MUX VLAN and super VLAN. The attributes of VLANs include: common, QinQ and stacking.

Function

This command is used to query the information about the VLAN. When you need to query the information such as the serial number, type, attributes, upstream port and service ports of a VLAN, run this command.

Format

display vlan vlanid to end-vlanid [ mux | smart | standard | super ] [ vlanattr { sub | common | q-in-q | stacking } ]
display vlan all [ mux | smart | standard | super ] [ vlanattr { sub | common | q-in-q | stacking } ]
display vlan vlan-list [ mux | smart | standard | super ] [vlanattr { sub | common | q-in-q | stacking } ]
display vlan number
display vlan aoe

Parameters

Parameter Description Value
vlanid Indicates the VLAN ID. It identifies a VLAN uniquely.
When you need to query the information on a specified VLAN, use this parameter. You can also query the information on the default VLAN.
Numeral type.
Range: 1-4093.
to end-vlanid Indicates the VLAN range when used with vlanid.
When you need to query a sequence of VLANs in batches, use this parameter.
Numeral type.
Range: 1-4093.
mux Indicates the MUX VLAN. A MUX VLAN can contain multiple upstream ports but only one service port. The service ports in different MUX VLANs are separated mutually. -
smart Indicates the smart VLAN.
A smart VLAN contains multiple upstream ports and multiple service ports.
The service ports within a standard VLAN are isolated from each other, and a service port in a smart VLAN is isolated from a service port in another smart VLAN.
One VLAN can access multiple users, which saves the VLAN resource.
-
standard Indicates the standard VLAN. A standard VLAN contains multiple upstream ports. Ethernet ports in a standard VLAN can communicate with each other. Ethernet ports in different VLANs are isolated from each other. -
super Indicates the super VLAN. It is a L3-based VLAN. A super VLAN contains multiple sub VLANs. A sub VLAN can be a smart VLAN or a MUX VLAN. Different sub VLANs can communicate with each other by ARP proxy. All sub VLANs of a super VLAN forward the service by the L3 interface of the super VLAN. -
vlanattr Indicates the keyword of the VLAN attribute. Enumerated type. Options: sub, common, q-in-q and stacking.
sub Indicates the sub VLAN. A sub VLAN can be a smart VLAN or a MUX VLAN. -
common Indicates the common VLAN. A VLAN with common attribute can be used as a layer 2 VLAN or be used to create a layer 3 virtual interface. -
q-in-q Indicates the QinQ VLAN. The VLAN packets with QinQ attribute contains two VLAN tags, inner VLAN tag of the private network, and outer VLAN tag allocated by the MA5600T/MA5603T/MA5608T. A layer 2 VPN tunnel can be set up between private networks, so that the service can be transmitted transparently between these private networks. -
stacking Indicates the VLAN stacking. The VLAN packets with stacking attribute contains two VLAN tags, inner and outer VLAN tags allocated by the MA5600T/MA5603T/MA5608T. They apply to the upper layer BRAS for double VLAN authentication to add the user quantity. In the upper layer network that work in layer 2 mode, the packets can be forwarded directly through the VLAN and MAC to provide multi-ISP wholesale service for ISP. -
all Indicates all VLANs. -
vlan-list Indicates the VLAN list.
When you need to add or delete VLANs in batches, use this parameter. For example, vlan-list 2, 4-6, 10 indicates VLAN 2, 4, 5, 6, 10.
Character string type, a string of 1-256 characters.
number Indicates the statistics of all VLANs. It includes the statistics of VLAN type and attribute. -
aoe Indicates the AoE VLAN. It is used to encapsulate ATM cells to Ethernet packets. When the reserved VLANs are set by the vlan reserve command, AOE VLAN is the default start reserved VLAN. -

Modes

Privilege mode

Level

Common user level

Usage Guidelines

  • If you specify the VLAN ID, the system displays the details of the specified VLAN. For parameter details, refer to the "System Response".
  • When you need to query multiple VLANs in sequence or in no sequence, the system displays the summary on the VLANs. For parameter details, refer to the "System Response".

Example

To query the information on VLAN 100, do as follows:
huawei#display vlan 100
{ <cr>|to<K> }:

  Command:
          display vlan 100
  VLAN ID: 100
  VLAN type: smart
  VLAN attribute: common
  VLAN description:
  VLAN forwarding mode: VLAN-MAC
  VLAN broadcast packet forwarding policy: forward
  VLAN unknown multicast packet forwarding policy: forward
  VLAN unknown unicast packet forwarding policy: forward
  VLAN bind service profile ID: -
  VLAN bind RAIO profile index: -
  VLAN priority: -
  --------------------------------------------------------
  INDEX  TYPE  STATE F/ S/ P  VPI  VCI   FLOWTYPE FLOWPARA
  --------------------------------------------------------
      1  vdl   down  0/ 3/ 0    -    -     -        -
    100  vdl   down  0/ 3/ 0    -    -     -        -
  --------------------------------------------------------
  Standard port number: 2                                                      
  Service virtual port number: 0  
To query the number statistics of all VLANs, do as follows:
huawei#display vlan number
  The total of VLAN(s) in system :   13
  Count by the type of VLAN(s)   :
  The total of MUX VLAN(s)       :    0
  The total of smart VLAN(s)     :   12
  The total of standard VLAN(s)  :    1
  The total of super VLAN(s)     :    0
  Count by the attribute of VLAN(s):
  The total of common VLAN(s)    :   13
  The total of QinQ VLAN(s)      :    0
  The total of stacking VLAN(s)  :    0
  The total of sub VLAN(s)       :    0
To query the information on AoE VLAN, do as follows:
huawei#display vlan aoe
  VLAN ID: AOE
  VLAN type: smart
  VLAN attribute: AOE
  VLAN description:
  VLAN forwarding mode: VLAN-MAC
  VLAN broadcast packet forwarding policy: forward
  VLAN unknown multicast packet forwarding policy: forward
  VLAN unknown unicast packet forwarding policy: forward
  VLAN bind service profile ID: -
  VLAN bind RAIO profile index: -
  VLAN priority: -
  Standard port number: 0
  Service virtual port number: 0

No comments:

Post a Comment