The firewall transparent vsys-binding inside-vlan enable command enables the function of allocating virtual systems based on inner VLAN tags in QinQ packets in Layer 2 transparent transmission scenarios.
The undo firewall transparent vsys-binding inside-vlan enable command enables the function of allocating virtual systems based on outer VLAN tags in QinQ packets in Layer 2 transparent transmission scenarios.
firewall transparent vsys-binding inside-vlan enable
undo firewall transparent vsys-binding inside-vlan enable
By default, virtual systems are allocated based on outer VLAN tags in QinQ packets in Layer 2 transparent transmission scenarios.
After a VLAN is bound to a virtual system, the packets that belong to the VLAN are sent to the virtual system bound to the VLAN. In this manner, the virtual system is allocated based on the VLAN.
A QinQ packet contains two layers of VLAN tags (outer VLAN tag and inner VLAN tag). By default, the FW can parse the outer VLAN tag of a packet and import the packet to the corresponding virtual system based on the outer VLAN tag.
You must run the port trunk allow-pass command on the inbound interface to bind the outer VLAN ID and inner VLAN ID. That is, the interface permits the specified VLAN packets. Or run the port trunk allow-pass vlan all command to permit all VLAN packets.
# Configure the function of allocating virtual systems based on inner VLAN tags in QinQ packets in Layer 2 transparent transmission scenarios.
<sysname> system-view [sysname] interface GigabitEthernet 0/0/1 [sysname-GigabitEthernet 0/0/1] portswitch [sysname-GigabitEthernet 0/0/1] port link-type trunk [sysname-GigabitEthernet 0/0/1] port trunk allow-pass vlan all // Configure the inbound interface to permit all VLAN packets. [sysname-GigabitEthernet 0/0/1] quit [sysname] firewall transparent vsys-binding inside-vlan enable //Enable the function of allocating virtual systems based on inner VLAN tags in QinQ packets in Layer 2 transparent transmission scenarios.