Can an IP address be configured for an FE interface on an AR

20

FE interfaces are classified into Layer 2 interfaces and Layer 3 interfaces. You can configure IP addresses for Layer 3 FE interfaces. Some FE interfaces can switch between Layer 2 and Layer 3 modes. For example, Ethernet0/0/0 on AR150&AR200 works in Layer 2 mode by default. Run the undo portswitch command to switch from Layer 2 mode to Layer 3 mode. After an FE interface is switched to Layer 3 mode, you can configure IP addresses for the interface.

Other related questions:
Can VLANs be configured on an FE interface?
As a Layer 2 interface, an FE interface supports VLAN configuration.

How is an IP address configured for an AR interface
You can configure one primary IP address and multiple secondary IP addresses for an interface. The IP address followed by sub is a secondary IP address. If an interface of an AR router is connected to networks in different network segments, you can configure IP addresses of the multiple network segments on the interface as secondary IP addresses. - The commands are as follows: [Huawei] interface gigabitethernet 1/0/0 [Huawei-GigabitEthernet1/0/0] ip address 1.1.1.1 255.255.255.0 //Configure a primary IP address 1.1.1.1/24. [Huawei-GigabitEthernet1/0/0] ip address 2.2.2.1 255.255.255.0 sub //Configure a secondary IP address 2.2.2.1/24. Note: You can configure IP addresses for Layer 3 interfaces only. Some Ethernet interfaces can switch between Layer 2 and Layer 3 modes. For example, Ethernet0/0/0 on AR150&AR200 works in Layer 2 mode by default. Run the undo portswitch command to switch from Layer 2 mode to Layer 3 mode. After an interface is switched to Layer 3 mode, you can configure IP addresses for the interface. The commands are as follows: [Huawei] interface ethernet 0/0/0 [Huawei-Ethernet0/0/0] undo portswitch [Huawei-Ethernet0/0/0] ip address 1.1.1.1 255.255.255.0 [Huawei-Ethernet0/0/0] ip address 1.1.2.1 255.255.255.0 sub

How to configure an IP address for an AR interface
IP addresses of an interface include the primary IP address and secondary IP addresses. An interface can be configured with only one primary IP address and multiple secondary IP addresses. When an interface of the AR connects to different network segments, you can configure secondary IP addresses. -Command line mode: [Huawei] interface gigabitethernet 1/0/0 [Huawei-GigabitEthernet1/0/0] ip address 1.1.1.1 255.255.255.0 //Configure the primary IP address as 1.1.1.1/24. [Huawei-GigabitEthernet1/0/0] ip address 2.2.2.1 255.255.255.0 sub //Configure the secondary IP address as 2.2.2.1/24. Note: Only Layer 3 interfaces can be configured with IP addresses. Some Ethernet interfaces support Layer 2 and Layer 3 mode switching. For example, Ethernet0/0/0 on the AR150&AR200 is a Layer 2 Ethernet interface by default. You can run the undo portswitch command to switch the Layer 2 mode to Layer 3 mode. After switching, the interface can be assigned an IP address. [Huawei] interface ethernet 0/0/0 [Huawei-Ethernet0/0/0] undo portswitch [Huawei-Ethernet0/0/0] ip address 1.1.1.1 255.255.255.0 [Huawei-Ethernet0/0/0] ip address 1.1.2.1 255.255.255.0 sub -Web mode: Log in to the web platform, access wan, find the corresponding interface, for example,Ethernet. Click Edit to configure an IP address for the interface.

Configure the IP address of the management interface on AR routers
The procedure of changing the management IP addresses on the AR router is as follows: 1. You can configure a management IP address on the CLI using either of the following methods: a. Configure a management IP address on the management interface of the AR router. For example, the management interface is GE0/0/0. Set the management IP address to 192.168.1.10 and the mask length to 24. 2. On the VLANIF interface, configure the management IP address. Note: In the factory settings, all LAN interfaces on the AR150&AR160&AR200&AR120&-S&AR150-S&AR160-S&AR200-S are added to VLAN 1 by default. The default IP address 192.168.1.1/24 is configured for VLAN 1. Any LAN interface can use this IP address as the management IP address. The procedure for changing the IP address of VLAN 1 is as follows: For example, when LAN ports of the AR150 are added to VLAN 1, configure the management IP address as 192.168.1.10 and set the mask length to 24. system-view [Huawei] vlan 1 [Huawei-vlan1] quit [Huawei] interface vlanif 1 [Huawei-Vlanif1] ip address 192.168.1.10 24 [Huawei-Vlanif1] quit 2. Configure the management IP address through the web platform. Log in to the web platform, access WAN Access, and find the corresponding management interface in Ethernet Interface. Click the Modify under Operation on the right of the interface to configure an IP address for the corresponding interface.

How to create a VLANIF interface and configure an IP address for the interface on an AR router
1. In the system view, run the vlan vlan-id command to create a VLAN, and run the quit command to return to the system view. 2. In the system view, run the interface vlanif vlan-id command to create a VLANIF interface. 3. In the VLANIF view, run the ip address command to configure an IP address for the VLANIF interface.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top