< Home

firewall transparent tunnel inspect enable

Function

The firewall transparent tunnel inspect enable command enables inner tunnel packet detection in the Layer 2 transparency scenario.

The undo firewall transparent tunnel inspect enable command disables inner tunnel packet detection in the Layer 2 transparency scenario.

Format

firewall transparent tunnel inspect enable

undo firewall transparent tunnel inspect enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, inner tunnel packet detection is disabled in the Layer 2 transparency scenario.

Tunnel packets have outer and inner information. When the FW works in Layer 2 transparent mode, it can parse the outer information of tunnel packets by default, including the tunnel protocol and outer IP address, and establish sessions based on the outer information. The outer information of tunnel packets does not contain port information, and the source and destination ports are displayed as 0.

To implement control based on the inner information of tunnel packets, enable the inner packet detection function so that the FW parses the inner information of tunnel packets (inner protocol, inner IP address, and inner port) and establishes sessions based on the inner information.

Currently, the FW can detect the inner information of the following types of tunnel packets:
  • GRE
  • IPv4 over IPv6
  • IPv6 over IPv4
  • MPLS
  • QinQ
  • PPPoE

    You can also run the firewall layer2 pppoe detect enable command to enable the inner information detection for PPPoE packets.

  • VXLAN
  • SRv6

The corresponding security policy needs to be configured to permit inner tunnel packets. Otherwise, no session can be established for inner packets.

When the inner 5-tuple information of different types of tunnels is the same, do not enable the tunnel inner packet detection function. Otherwise, services may be abnormal.

Inner packet detection cannot be implemented for fragmented SRv6, VXLAN, GRE, IPv4 over IPv6, or IPv6 over IPv4 packets.

The FW supports inner QinQ packet detection, and you do not need to enable inner tunnel detection on them.

Example

# Enable inner tunnel packet detection in the Layer 2 transparency scenario.

<sysname> system-view
[sysname] firewall transparent tunnel inspect enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >