04-Layer 2 - LAN Switching Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command References-Release7374-6W73104-Layer 2 - LAN Switching Command Reference
08-QinQ commands
Title Size Download
08-QinQ commands 60.68 KB

QinQ commands

This document uses the following terms:

·     CVLAN—Customer network VLANs, also called inner VLANs, refer to VLANs that a customer uses on the private network.

·     SVLANService provider network VLANs, also called outer VLANs, refer to VLANs that a service provider uses to transmit VLAN tagged traffic for customers.

display qinq

Use display qinq to display the QinQ-enabled interfaces.

Syntax

display qinq [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface interface-type interface-number: Specify an interface by its type and number. If you do not specify an interface, this command displays all QinQ-enabled interfaces.

Usage guidelines

If QinQ is not enabled on any interfaces, this command does not provide any output.

Examples

# Enable QinQ on GigabitEthernet 3/0/1. Then, verify that QinQ is enabled on the interface.

<Sysname> system-view

[Sysname] interface gigabitethernet 3/0/1

[Sysname-GigabitEthernet3/0/1] qinq enable

[Sysname-GigabitEthernet3/0/1] display qinq interface gigabitethernet 3/0/1

Interface

 GigabitEthernet3/0/1

# Enable QinQ on GigabitEthernet 3/0/1 and GigabitEthernet 3/0/3. Then, verify that QinQ is enabled on the interfaces.

<Sysname> system-view

[Sysname] interface gigabitethernet 3/0/1

[Sysname-GigabitEthernet3/0/1] qinq enable

[Sysname-GigabitEthernet3/0/1] quit

[Sysname] interface gigabitethernet 3/0/3

[Sysname-GigabitEthernet3/0/3] qinq enable

[Sysname-GigabitEthernet3/0/3] display qinq

Interface

 GigabitEthernet3/0/1

 GigabitEthernet3/0/3

Table 1 Command output

Field

Description

Interface

Interface name.

GigabitEthernet3/0/1

QinQ-enabled interface.

 

Related commands

qinq enable

qinq enable

Use qinq enable to enable QinQ on an interface.

Use undo qinq enable to restore the default.

Syntax

qinq enable

undo qinq enable

Default

QinQ is disabled on interfaces.

Views

Layer 2 Ethernet interface view, Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable QinQ on GigabitEthernet 3/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 3/0/1

[Sysname-GigabitEthernet3/0/1] qinq enable

Related commands

display qinq

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网