Configuration Guide
QinQ Configuration
Configuring protocol-based VID change policy table
Configuring VID add policy table
Configuring outer tag-based VID change policy table
Configuring inner tag-based 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 during forwarding according to the
VID of the tags of the packet. Run the
dot1q outer-vid
command to specify the
outer VID when adding outer tag to inner VID list. With this command, you can
specify an internal VLAN and add the same outer VID as the inner VID, and add
the egress to the untagged port set of the VLAN. In addtion, the packets with
original inner tag can be outputted via egress.
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.
dot1q outer-vid
VID
register inner-vid
v_list
Configure the protocol-based policy to add
the VID of outer tag.
no dot1q outer-vid
VID
register
inner-vid
v_list
Remove the configuration
end
Exit the interface mode.
show running-config
Show the configuration.
The following example adds the VID 3 of outer tag when the VID of the tag of
incoming packet is 4-22:
Ruijie# configure
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode dot1q-tunnel
Ruijie(config-if)# switchport dot1q-tunnel allowed vlan add tagged 3
Ruijie(config-if)# dot1q outer-vid 3 register inner-vid 4-22
Ruijie(config-if)# end
Configure outer tag-based VID change policy table
For the packets incoming from Access port, Trunk port, Hybrid port and Uplink
port, sometimes you need to change the VIDs of outer tags according to the
VIDs of outer tags of incoming packets. Run the
dot1q relay-vid
VID
translate
local-vid
v_list
command to change the local VID (VID of outer tag before
change) list.
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 ...