1. Official Vendor Documentation (Huawei): In the HCIP-Datacom-Core Technology V1.0 Training Material
GRE is explicitly defined as a Layer 3 VPN tunneling technology. The material states
"GRE is a Layer 3 VPN tunneling technology that provides a mechanism for encapsulating packets of one protocol into packets of another protocol... GRE encapsulates various protocol packets
such as IPX and AppleTalk packets
and transmits them over an IP network." This directly classifies GRE at Layer 3
contradicting the question's premise.
Source: Huawei
HCIP-Datacom-Core Technology V1.0 Training Material
Section: "GRE Principles".
2. Peer-reviewed Academic Publications (IETF RFC): The Internet Engineering Task Force (IETF) defines the GRE protocol. The standard clearly describes it as a mechanism for encapsulating network layer protocols.
Source: Farinacci
D.
et al. "Generic Routing Encapsulation (GRE)." RFC 2784
March 2000. The abstract states: "This document specifies a protocol for encapsulation of an arbitrary network layer protocol over another arbitrary network layer protocol." This confirms its operation at the network layer (Layer 3)
not the data link layer (Layer 2).
DOI: https://doi.org/10.17487/RFC2784
3. Official Vendor Documentation (Huawei): Huawei's product documentation for its enterprise and carrier routers consistently describes GRE as a Layer 3 feature. For example
in the configuration guides for NetEngine routers
GRE is detailed as a generic tunneling protocol used to transmit network layer packets.
Source: Huawei
NetEngine 8000 M8 & M14 V800R021C10 Configuration Guide - VPN
Section: "Understanding GRE". The guide explains
"Generic Routing Encapsulation (GRE) is a tunneling protocol that can encapsulate packets of a wide variety of network layer protocols inside IP tunnels." It is presented separately from L2VPN technologies.