03-Layer 2 Command Reference

HomeSupportReference GuidesCommand ReferencesH3C Access Controllers Command References(E3703P61 R2509P61 R3709P61 R2609P61 R3509P61)-6W10203-Layer 2 Command Reference
10-QinQ Termination Commands
Title Size Download
10-QinQ Termination Commands 59.95 KB

QinQ termination configuration commands

Support for QinQ termination commands depends on the device model. For more information, see About the H3C Access Controllers Command References.

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.

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

qinq ethernet-type

Use qinq ethernet-type to set the TPID value in SVLAN tags.

Use undo qinq ethernet-type to restore the default TPID value in SVLAN tags.

Syntax

qinq ethernet-type hex-value

undo qinq ethernet-type

Default

The TPID value in SVLAN tags is 0x8100.

Views

Layer 2 Ethernet interface view, Layer 2 aggregate interface view

 

 

NOTE:

Support for Layer 2 aggregate interfaces depends on the device model. For more information, see About the H3C Access Controllers Command References.

 

Default command level

2: System level

Parameters

hex-value: Sets a hexadecimal TPID value in the range of 0x0001 to 0xFFFF, excluding the reserved protocol type values listed in Table 1.

Table 1 Reserved protocol type values

Protocol type

Value

ARP

0x0806

PUP

0x0200

RARP

0x8035

IP

0x0800

IPv6

0x86DD

PPPoE

0x8863/0x8864

MPLS

0x8847/0x8848

IPX/SPX

0x8137

IS-IS

0x8000

LACP

0x8809

802.1X

0x888E

Cluster

0x88A7

Reserved

0xFFFD/0xFFFE/0xFFFF

 

Usage guidelines

The configuration made in Layer 2 Ethernet interface view takes effect only on the port.

The configuration made in Layer 2 aggregate interface view takes effect on the aggregate interface and its member ports.

Examples

# Set the TPID value in SVLAN tags to 0x9100 on Ten-GigabitEthernet 2/0/1.

<Sysname> system-view

[Sysname] interface Ten-GigabitEthernet 2/0/1

[Sysname-Ten-GigabitEthernet 2/0/1] qinq ethernet-type 9100

Related commands

ethernet-type

second-dot1q

Use second-dot1q to enable QinQ termination and specify the Layer 2 VLAN ID of the VLAN-tagged packets that can be terminated on an interface.

Use undo second-dot1q to restore the default.

Syntax

second-dot1q vlan-id

undo second-dot1q vlan-id

Default

QinQ termination is disabled.

Views

VLAN interface view

Default command level

2: System level

Parameters

vlan-id: Specifies a Layer 2 VLAN ID in the range of 1 to 4094.

Usage guidelines

The Layer 1 VLAN ID of the VLAN-tagged packets that can be terminated by the VLAN interface is the number of the VLAN interface. This Layer 1 VLAN ID is not configurable.

When you delete the Layer 2 VLAN ID specified in QinQ termination on an interface, the following events will occur:

·     The interface will restart.

·     The ARP entry of the interface will be deleted.

Examples

# Configure VLAN-interface 12 to terminate VLAN-tagged packets with Layer 2 VLAN ID 100.

<Sysname> system-view

[Sysname] interface vlan-interface 12

[Sysname-Vlan-interface12] second-dot1q 100

 

  • 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
新华三官网