When the NGFW Is Connected to the Network at Layer 2 in Transparent Mode, How Can I Log In to the Device Through Service Interfaces?
Add the layer-2 interface (service interface) to the VLAN and log in to the device through interface VLANIF. For example, the two service interfaces are GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2. The configurations are as follows:
# Create a VLAN and add the interfaces to the VLAN. By default, the interfaces belong to VLAN1.
[NGFW] vlan 2
[NGFW] interface GigabitEthernet 1/0/1
[NGFW-GigabitEthernet1/0/1] port access vlan 2
[NGFW] interface GigabitEthernet 1/0/2
[NGFW-GigabitEthernet1/0/2] port access vlan 2
#Configure the VLANIF interfaces.
[NGFW] interface vlanif 2
[NGFW-Vlanif2] ip address 10.1.3.1 24
[NGFW-Vlanif2] service-manage enable
[NGFW-Vlanif2] service-manage telnet permit
[NGFW-Vlanif2] service-manage http permit
[NGFW] firewall zone trust
[NGFW-zone-trust] add interface vlanif 2
Log in to the device using 10.1.3.1 after the configurations are complete.