Sunday, April 10, 2016

Creating a VLANIF Interface

Creating a VLANIF Interface
VLANIF interfaces are Layer 3 logical interfaces. After creating VLANIF interfaces on Layer 2 devices, you can configure Layer 3 features on these interfaces.

Establishing the Configuration Task

Before creating a VLANIF interface, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the data required for the configuration. This will help you complete the configuration task quickly and accurately.

Applicable Environment

Layer 3 switching combines routing and switching techniques to implement routing on a switch, thus improving the overall network performance. After sending the first data flow, a Layer 3 switch generates mappings between MAC addresses and IP addresses. To send the same data flow, the switch directly sends the data flow at Layer 2 but not Layer 3 based on this mapping table.
To allow that new data flows are correctly forwarded based on the routing table, be sure that the routing table's routing entries are correct. Therefore, VLANIF interfaces and routing protocols must be configured on Layer 3 switches for reachable Layer 3 routes.

Pre-configuration Tasks

Before creating a VLANIF interface, complete the following task:
· Creating a VLAN

Data Preparation

To create a VLANIF interface, you need to the following data.
No.
Data
1
VLAN ID
2
IP address to be assigned to the VLANIF interface
3
(Optional) Delay after which the VLANIF interface goes Down
4
(Optional) MTU of the VLANIF interface



Creating a VLANIF Interface

Before configure Layer 3 features on a Layer 2 device, you must create a VLANIF interface on the device.

Procedure

1. Run:
system-view
The system view is displayed.
2. Run:
interface vlanif vlan-id
A VLANIF interface is created and the VLAIF interface view is displayed.
The VLAN ID specified in this command must be the ID of an existing VLAN.
 NOTE:
A VLANIF interface is Up only when at least one physical port added to the corresponding VLAN is Up.
Parent

Assigning an IP Address to a VLANIF Interface

As a VLANIF interface is a Layer 3 logical interface, it can communicate with other interfaces at the network layer only after being assigned an IP address.

Procedure

1. Run:
system-view
The system view is displayed.
2. Run:
interface vlanif vlan-id
The VLANIF interface view is displayed.
The VLAN ID specified in this command must be the ID of an existing VLAN.
3. Run:
ip address ip-address { mask | mask-length } [ sub ]
An IP address is assigned to the VLANIF interface for communication at the network layer.

 

Checking the Configuration

After a VLANIF interface is configured for communication at the network layer, you can check the IP address and status of a specified VLANIF interface.

Prerequisites

The configurations of a VLANIF interface are complete.

Procedure

· Run the display interface vlanif  [ vlan-id ] command to check the physical status, link protocol status, description, and IP address of the VLANIF interface.

As a world leading Huawei networking products supplier, Thunder-link.com wholesales original new

Huawei networking equipments, including Huawei switches(S2300 switch,S2700 switch,S3300 switch,S3700 switch,S5700 switch), Huawei routers, Huawei symantec security

products, Huawei IAD, Huawei SFP and other Huawei networking products. Our customers include telecom

operators, Huawei resellers, ISP and system integrators. If you have such requirement please contact

your sales person, if you are new customer, please feel free to contact Sales@Thunder-Link.com. Our

HCIE headed technical team can provide network design, products installation and configuration,

trouble shooting etc.

The most popular Huawei S2700EI switch as below:

LS-S2700-9TP-SI-AC

No comments:

Post a Comment