Raisecom
ISCOM2600G-HI (A) Series Configuration Guide
2 Ethernet
Raisecom Proprietary and Confidential
Copyright © Raisecom Technology Co., Ltd.
77
Step
Command
Description
1
Raisecom#config
Enter global configuration mode.
2
Raisecom(config)#interface
interface-type interface-number
Enter physical layer interface
configuration mode.
3
Raisecom(config-
gigaethernet1/1/port)#dot1q-tunnel
Enable basic QinQ on the interface.
The device supports this
configuration on the LAG interface
or in ISF mode.
4
Raisecom(config-
gigaethernet1/1/port)#switchport
qinq default-cvlan
vlan-id
Configure basic QinQ, add double
Tags, and specify the PVID used by
the CVLAN and SVLAN.
5
Raisecom(config-
gigaethernet1/1/port)#switchport
reject-frame { tagged | untagged }
Configure the types of packets
disallowed to be forwarded.
To use basic QinQ functions on an interface, configure its attributes first by
configuring it to the Access or Trunk interface and configuring the default VLAN.
When basic QinQ is enabled on the interface, all packets are processed as
untagged packets. If you configure the untagged packets to be discarded, tagged
packets are also discarded.
VLAN mapping based on VLAN+CoS and VLAN mapping based on VLAN cannot
be concurrently configured.
2.4.5 Configuring selective QinQ
Configure selective QinQ on the ingress interface for the ISCOM2600G-HI series switch as
below.
Step
Command
Description
1
Raisecom#config
Enter global configuration
mode.
2
Raisecom(config)#interface
interface-
type interface-number
Enter physical layer interface
configuration mode.
3
Raisecom(config-
gigaethernet1/1/port)#switchport vlan-
mapping-miss discard
Configure the interface to
discard tagged packets that
fail to match selective QinQ
or VLAN mapping rules.
4
Raisecom(config-
gigaethernet1/1/port)#switchport vlan-
mapping ethertype { arp
| eapol |
flowcontrol
l ip
| ipv6
|
loopback |
mpls
| mpls-mcast
| pppoe
| pppoedisc
|
user-define
protocol id
| x25
|
x75 }add-outer
outer-vlan
-
id
Configure EtherType
selective QinQ, and add
mapping rules for Tag
VLAN.