EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 312

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide QinQ Configuration
Follow these steps:
Command
Description
configure terminal
Enter configuration mode.
interface intf-id
Enter interface configuration mode.
switchport mode port-type
Configure the port as an Access, Trunk,
Uplink or Hybrid port.
vlan-mapping-in vlan cvlan-list
remark svlan
Configure many-to-one VLAN mapping in
the ingress direction. This command
changes several Customer VLAN IDs of the
ingress packet to one specified Server
VLAN ID.
no vlan-mapping-in vlan cvlan-list
remark svlan
Cancel many-to-one VLAN mapping.
end
Exit interface configuration mode.
show interface[ intf-id ]
vlan-mapping
View the configuration.
The following example demonstrates how to change the VIDs of 3 to 7 in the tag
of the ingress packet back to 8 before forwarding it.
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# vlan-mapping-in vlan 3-7 remark 8
Ruijie(config-if)# end
Caution
After VLAN mapping is configured, the VLAN ID of the packet
delivered to CPU is the changed VLAN ID.
It is recommended that you do not configure VLAN mapping
and QinQ simultaneously on the same port.
Configuring Other QinQ Functions
Configuring an uplike port
Configuring the TPID of the ISP tag
Configuring priority duplication
Configuring priority mapping
Configuring address duplication
Configuring transparent transmission of Layer 2 protocol
Configuring an Uplink Port
In the global configuration mode, input the interface command to enter the
interface configuration mode. Follow these steps to configure an uplink port:

Table of Contents

Related product manuals