9 qinq commands, 1 vlan mapping table, 2 raw-vlan mapped-vlan – CANOGA PERKINS 9175 Command Reference User Manual

Page 149

Advertising
background image

CanogaOS Command Reference

9-1

9 QinQ Commands

9.1 vlan mapping table

Use this command to add or delete vlan mapping table

Command Syntax

vlan mapping table WORD

no vlan mapping table WORD

WORD: the name of vlan mapping table.

Command Mode

Global configuration

Usage

This example shows how to create a vlan mapping table.

Examples

Create vlan mapping table Map1.

Switch(config)# vlan mapping table MAP1

Switch (config-vlan-mapping)#

Related Commands

show vlan mapping table WORD

9.2 raw-vlan mapped-vlan

Use this command add vlan mapping entry to vlan mapping table.

Command Syntax

raw-vlan VLAN_ID mapped-vlan <1-4094>

raw-vlan out-of-range mapped-vlan <1-4094>

raw-vlan untagged mapped-vlan <1-4094>

no raw-vlan VLAN_ID

no raw-vlan out-of-range

no raw-vlan untagged

no mapped-vlan VLAN_ID

raw-vlan: Incoming packet’s outer vlan id;

VLAN_ID: raw vlan id, range from 1-4094, the format could be 1,2,3 or 1-20;

out-of-range: vlans isn’t specified;

untagged: untagged packet;

mapped-vlan: The vlan mapped from raw-vlan;

<1-4094>: mapped vlan id

Command Mode

VLAN mapping configure mode

Advertising