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.
Содержание RG-S2900G-E Series
Страница 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Страница 91: ...Configuration Guide Configuring PoE Configuration ...
Страница 133: ...Configuration Guide EEE Configuration ...
Страница 319: ...Configuration Guide QinQ Configuration ...
Страница 408: ......
Страница 409: ...IP Routing Configuration 1 Static Route Configuration ...
Страница 412: ......
Страница 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Страница 621: ...Configuration Guide CPU Protection Configuration udp helper 180 4 dhcp client 180 4 lacp 180 4 ...
Страница 757: ......
Страница 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Страница 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Страница 901: ...Configuration Guide ERSPAN Configuration ...
Страница 902: ...Web based Configuration 1 Web based Configuration ...