When a switch needs to communicate with the devices at the network layer, you can create a logical interface based on a VLAN on the switch, namely,
a VLANIF interface. The VLANIF interface is a configured interface and does not exist physically.
Context
A VLANIF interface is an interface at the network layer and can be configured with an IP address. Before configuring a VLANIF interface, you must create the corresponding VLAN. The
switch then
uses the VLANIF interface to communicate with the devices at the network layer.
CAUTION: - You can also access this page by choosing page. The navigation path provided here enables you to configure VLANIF interfaces directly after configuring
VLANs.
Procedure
- Query VLANIF interface information.
- Choose in the navigation tree to open the VLANIF port page.
- Enter the number of the interface that you want to query, for example, 10. If you do not enter any interface number, all VLANIF interfaces are displayed.
- Click Query to display all matching records.
- Select a record and click Details to view details about the record.
NOTE: To view real-time interface information, click on the VLANIF port tag in the navigation page to refresh.
- Create a VLANIF interface.
- Choose in the navigation tree to open the VLANIF port page.
- Click New to open the Create VLANIF page.
Table 1 describes the parameters on the page.
Table 1 Create VLANIF
Parameter
|
Description
|
VLAN ID
|
Indicates the VLAN ID of the new VLANIF interface. This parameter is mandatory.
|
Status
|
Indicates the status of the VLANIF interface, which can be Up or Down. This parameter is mandatory. By default, the status of a VLANIF interface is Up.
|
MTU
|
Indicates the Maximum Transmission Unit (MTU) of the VLANIF interface.
|
Description
|
Indicates the description of the new VLANIF interface.
|
IPv4 Address
|
IPv4 Address
|
Indicates the IPv4 address of the VLANIF interface, for example, 10.10.10.1.
|
Mask
|
Indicates the mask of the IP address. Select a subnet mask from the drop-down list box.
|
Sub IP Address
|
Indicates the secondary IP address of the VLANIF interface.
|
Mask
|
Indicates the mask of the secondary IP address. Select a subnet mask from the drop-down list box. NOTE: The Add and Delete buttons are used to add and delete secondary IP addresses.
You can delete a secondary IP address as well as add another secondary IP address.
|
- Set parameters.
- Click OK.
- Modify the VLANIF interface configuration.
- Choose in the navigation tree to open the VLANIF port page.
- Select a record that you want to modify and click
to open the Modify VLANIF page.
NOTE: - Table 1 describes the parameters on the page.
- The VLANIF interface name cannot be changed.
- Set parameters.
- Click OK.
- Delete a VLANIF interface.
- Choose in the navigation tree to open the VLANIF port page.
- Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
- Click OK.
Copyright © Huawei Technologies Co., Ltd.