H3C S9500 Command Manual-Release2132[V2.03]-01 IP Access Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-01 IP Access Volume
10-QinQ Commands
Title Size Download
10-QinQ Commands 45.79 KB

Chapter 1  QinQ Configuration Commands

1.1  QinQ Configuration Commands

1.1.1  qinq enable

Syntax

qinq enable

undo qinq enable

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

None

Description

Use the qinq enable command to enable the basic QinQ function.

Use the undo qinq enable command to disable the basic QinQ function.

By default, the basic QinQ function is disabled.

With the basic QinQ function enabled on a port, the port tags each received frame with the VLAN tag of the default VLAN of the port.

When executed in Ethernet interface view, these two commands apply to the current port; when executed in port group view, these two commands apply to all the ports in the port group.

 

  Caution:

As basic QinQ function affects layer-3 packet forwarding and MPLS switching, do not enable layer-3 packet forwarding or MPLS switching on ports with basic QinQ function enabled.

 

Examples

# Enable basic QinQ function on Ethernet 1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] qinq enable

1.1.2  qing ethernet-type

Syntax

qinq ethernet-type hex-value

undo qinq ethernet-type

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

hex-value: QinQ tag protocol identifier (TPID) to be set, a hexadecimal number. Note that this argument cannot be set to any of the values listed in Table 1-1.

Table 1-1 Commonly used TPIDs

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

 

Description

Use the qing ethernet-type command to set the TPID in the outer VLAN tag of QinQ frames.

Use the undo ethernet-type command to restore the default.

The default TPID in the outer VLAN tag of QinQ frames is 0x8100.

Note that:

l           A board supports only one TPID except the default TPID.

l           Currently, the ports of LSB1XP4B and LSB1XP4CA boards do not support setting TPID.

l           When executed in Ethernet interface view, these two commands apply to the current port; when executed in port group view, these two commands apply to all the ports in the port group.

l           If you execute the qinq ethernet-type command repeatedly, the latest TPID set takes effect.

Examples

# Set the TPID in the outer VLAN tag of QinQ frames to 0x9100 on Ethernet 1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] qinq ethernet-type 9100

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
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
新华三官网