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

Publication Date:  2015-06-29 Views:  167 Downloads:  0
Issue Description
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?
Solution
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> system-view
[NGFW] vlan 2
[NGFW-vlan-2] quit
[NGFW] interface GigabitEthernet 1/0/1
[NGFW-GigabitEthernet1/0/1] portswitch
[NGFW-GigabitEthernet1/0/1] port access vlan 2
[NGFW-GigabitEthernet1/0/1] quit
[NGFW] interface GigabitEthernet 1/0/2
[NGFW-GigabitEthernet1/0/2] portswitch
[NGFW-GigabitEthernet1/0/2] port access vlan 2
[NGFW-GigabitEthernet1/0/2] quit

#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-Vlanif2] quit
[NGFW] firewall zone trust
[NGFW-zone-trust] add interface vlanif 2
[NGFW-zone-trust] quit

Log in to the device using 10.1.3.1 after the configurations are complete.

END