Configuration Guide
QinQ Configuration
Command
Function
configure terminal
Enter the global configuration mode.
interface
intf-id
Enter the interface configuration mode.
switchport mode
port-type
Set the port as Access port, Trunk port,
Uplink port or Hybrid port.
dot1q
relay-vid
VID
translate
local-vid
v_list
Configure the policy to change the VID of
outer tag according to original VID of outer
tag.
no dot1q relay-vid
VID
translate
local-vid
v_list
Remove the configuration
end
Exit the interface mode.
show running-config
Show the configuration.
The following example changes the VID of outer tag as 100 when the VID of
outer tag of incoming packets is 10-20.
Ruijie(config)#
interface gigabitEthernet
0/1
Ruijie(config-if)#
switchport mode trunk
Ruijie(config-if)#
dot1q relay-vid
100
translate local-vid
10-20
Ruijie(config-if)#
end
Configuring flow-based VID change policy table
Configuring VID add policy table
Configuring outer VID change policy table
Configuring inner VID change policy table
Configuring VID add policy table
For an incoming packet on dot1q-tunnel port, in some case, it is necessary to
specify the VID of outer tag for the packet according to its content. Run the
traffic-redirect access-group
acl
nested-vlan
VID
in
comamnd
to specify the
VID of outer tag when the packet incoming from the dot1q-tunnel port matches
ACL.
Command
Function
configure terminal
Enter the global configuration mode.
interface
intf-id
Enter the interface configuration mode.
switchport mode dot1q-tunnel
Set the port as a dot1q-tunnel port.
traffic-redirect
access-group
acl
nested-vlan
VID
in
Configure the flow-based policy to add the
VID of outer tag.
Summary of Contents for RG-S2900G-E Series
Page 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Page 91: ...Configuration Guide Configuring PoE Configuration ...
Page 133: ...Configuration Guide EEE Configuration ...
Page 319: ...Configuration Guide QinQ Configuration ...
Page 408: ......
Page 409: ...IP Routing Configuration 1 Static Route Configuration ...
Page 412: ......
Page 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Page 757: ......
Page 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Page 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Page 901: ...Configuration Guide ERSPAN Configuration ...
Page 902: ...Web based Configuration 1 Web based Configuration ...