Configure the IP address of the management interface on AR routers

17

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.

Other related questions:
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.

Can the management interfaces of AR routers with the management marks be used as service interfaces
The management interfaces with the management marks of AR routers can be used as service interfaces. The management mark indicates that the management interfaces are used when software needs to be loaded in the FTP method from the BootROM menu during router startup.

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

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