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 does not exist physically. The S2700SI, S2700EI or S2710SI-52P switches do not support this function.
Context
A VLANIF interface is a Layer 3 interface and can be configured with an IP address. Before creating a VLANIF interface, you must create a VLAN. With a VLANIF interface, the switch can communicate with the devices at the network layer.
CAUTION: If a VLANIF interface whose IP address is the same as the switch address is deleted or shut
down, you cannot log in to the Web system. In this case, you need to change the IP address of the VLANIF interface. After changing the VLANIF address, you must log in to the switch with the new address.
Procedure
- Query VLANIF interface information.
- Choose in the navigation tree to open the VLANIF 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 tag page to refresh the page.
- Create a VLANIF interface.
- Choose in the navigation tree to open the VLANIF page.
- Click New to open the Create VLANIF page.
Table 1 describes the parameters on the Create VLANIF page.
Table 1 Create VLANIF
Parameter
|
Description
|
VLAN ID
|
Indicates the VLAN ID corresponding to the new VLANIF interface. This parameter is mandatory.
|
Status
|
Indicates the status of the VLANIF interface, which can be enabled or disabled. By default, a VLANIF interface is Up.
This parameter is mandatory.
|
MTU
|
Indicates the MTU of the VLANIF interface.
|
Description
|
Indicates the description of the 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 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 mask from the drop-down list box. NOTE: The Add and Delete buttons are used to add and delete secondary IP addresses.
|
- Set parameters.
- Click OK.
- Modify the VLANIF interface configuration.
- Choose in the navigation tree to open the VLANIF 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 Modify VLANIF 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 page.
- Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
NOTE: - To select a record, click the check box of the record.
- To delete records in batches, click the check boxes of the records.
- Click OK.
Copyright © Huawei Technologies Co., Ltd.