EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 308

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
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.

Table of Contents

Related product manuals