This section describes how to configure a Layer-2 Ethernet interface that forwards Layer-2 frames.
If the interfaces work at Layer 2 and IPv6 needs to be processed on FW, you need to choose to enable the global IPv6 function.
for the interface.
Parameter |
Description |
|---|---|
Interface Name |
Interface type and number. The parameter cannot be modified. |
Alias |
Another name for an interface. The alias is not part of the interface name. A configured alias appears in the (alias) format by the side of the interface name, but does not appear in logs. |
Mode |
Layer at which the interface works and whether to enable bypass detection when the interface works at Layer 2:
When a Layer-3 Ethernet interface is configured to work in Layer-2 mode or bypass mode, the device automatically clears specific configurations, such as DHCP, DDNS, and route configurations of the interface and retains specific configurations, such as HRP heartbeat interface configurations of the interface. If the interface is specified as a heartbeat interface, the interface cannot be configured to work in Layer-2 mode or bypass mode. Therefore, before you configure a Layer-3 Ethernet interface to work in Layer-2 mode or bypass mode, ensure that the interface has no configuration. |
Connection Type |
Link type of a Layer-2 Ethernet interface:
A hybrid interface sends untagged packets of multiple VLANs, whereas a trunk interface sends untagged packets only from the default VLAN. |
Access VLAN ID |
ID of a VLAN, to which an access interface belongs. This parameter is set only when Connection Type is set to Access. |
Trunk VLAN ID |
ID of a VLAN, to which a trunk interface belongs. This parameter is set only when Connection Type is set to Trunk. A Trunk interface joins multiple VLANs and connects to a network device. To allow all packets from one or more VLANs to pass through a trunk interface, specify VLAN IDs in Trunk VLAN ID. |
Default VLAN ID |
Default VLAN ID of a trunk interface. This parameter is set only when Connection Type is set to Trunk. |
Hybrid VLAN ID (With VLAN Tag) |
ID of a VLAN, to which a hybrid interface belongs. A hybrid interface sends tagged frames with the specified VLAN ID. This parameter is set only when Connection Type is set to Hybrid. |
Hybrid VLAN ID (Without VLAN Tag) |
ID of a VLAN, to which a hybrid interface belongs. A hybrid sends untagged frames with the specified VLAN ID. This parameter is set only when Connection Type is set to Hybrid. |
Hybrid VLAN ID |
ID of a VLAN, to which a hybrid interface belongs. A hybrid interface sends tagged frames or untagged frames with the specified VLAN ID. This parameter is set only when Connection Type is set to Hybrid. |
Default VLAN ID |
Default VLAN ID of a hybrid interface. This parameter is set only when Connection Type is set to Hybrid. |
Interface Bandwidth |
|
Ingress Bandwidth |
Maximum bandwidth for inbound traffic on the interface. |
Egress Bandwidth |
Maximum bandwidth for outbound traffic on the interface. |
Advanced |
|
Negotiation |
If you deselect this parameter, the interface is disabled from working in auto-negotiation mode. Disable the interface from working in auto-negotiation mode before you configure the interface rate and duplex mode. This configuration takes effect on the Ethernet electrical interface. Only MEth, GE, and WAN interfaces support this function. |
Speed |
Transmission rate of a Layer-2 Ethernet interface:
The transmission rate of the Layer-2 Ethernet interface must be the same as that on the peer end. Only MEth, GE, and WAN interfaces support this function. |
Duplex |
Duplex mode of the Layer-2 Ethernet interface:
An Ethernet interface must work in the same mode as its peer interface. This parameter is required only when Speed is set to 10M or 100M. Only MEth, GE, and WAN interfaces support this function. |
Check the interface status.
Check the physical status of the interface.
Enable or disable the interface.