display vlan mapping

Use display vlan mapping to display VLAN mapping information.

Syntax

display vlan mapping [ 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: Specifies an interface by its type and number. If you do not specify an interface, the command displays VLAN mapping information on all interfaces.

Examples

# Display VLAN mapping information on all interfaces.

<Sysname> display vlan mapping
Interface Ten-GigabitEthernet1/0/2:
  Outer VLAN    Inner VLAN    Translated Outer VLAN    Translated Inner VLAN
  4-4094        N/A           100                      N/A

Table 33: Command output

Field

Description

Outer VLAN

Original outer VLAN.

This field indicates the original VLAN for one-to-one VLAN mapping, many-to-one VLAN mapping, and one-to-two VLAN mapping.

This field displays N/A for zero-to-two VLAN mapping.

Inner VLAN

Original inner VLAN.

This field displays N/A for one-to-one VLAN mapping, many-to-one VLAN mapping, and one-to-two VLAN mapping.

This field displays N/A for zero-to-two VLAN mapping.

Translated Outer VLAN

Translated outer VLAN.

This field indicates the translated VLAN for one-to-one VLAN mapping and many-to-one VLAN mapping.

This field indicates the SVLAN to be added for zero-to-two VLAN mapping.

Translated Inner VLAN

Translated inner VLAN.

This field displays N/A for one-to-one VLAN mapping and many-to-one VLAN mapping.

This field indicates the CVLAN to be added for zero-to-two VLAN mapping.

Related commands

vlan mapping