This section describes how to configure a VLAN interface for inter-VLAN communication.
A LAN can be divided into several logical LANs. Each logical LAN is a broadcast domain, which is called a VLAN. Devices on a LAN logically belong to different VLANs, regardless of their physical locations. VLANs separate broadcast domains within a LAN from each other.
When hosts on a VLAN need to communicate with a device at the network layer, you can create a VLAN interface on the device. The VLAN interface functions as a Layer-3 interface to provide Layer-3 functions, such as IPv4 or IPv6 address settings.
interface interface-type interface-number
vlan vlan-id
If a VLAN already exists, running this command directly displays the VLAN view.
port interface-type { interface-number1 [ to interface-number2 ] } &<1-10>
Only access and hybrid interfaces can be added to a VLAN using this command.
interface vlanif vlan-id
If a Vlanif interface already exists, running this command directly displays the Vlanif interface view.
A VLAN must exist before a Vlanif interface is created for it.
ip address ip-address { mask | mask-length } [ sub ]
To assign the second and subsequent IPv4 addresses to the interface, configure the sub parameter in the ip address command.
description interface-description
alias alias
bandwidth ingress bandwidth-number
bandwidth egress bandwidth-number
By default, access control is enabled on interfaces.
service-manage { http | https | ping | ssh | snmp | netconf | telnet | all } { permit | deny }
The service-manage command allows an administrator to manage a FW through a specified interface even if no security policy is enforced for traffic between the Local zone and the security zone to which the interface belongs.
reset service-manage
redirect-reverse next-hop ipv4-address ipv6 redirect-reverse next-hop ipv6-address
After this command is configured, the FW directly uses the inbound interface as the outbound interface of the response packet when forwarding the response packet, instead of searching the routing table for an outbound interface.