Method used to modify the interface address on USG firewalls

7

The method used to modify the interface address on the USG2000, USG5000, and USG6000 is as follows:
Access an interface (a management interface or a VLANIF virtual interface). Enter the desired IP address again. Then, the IP address is modified. This command can overwrite the original IP address with the new IP address.
The configuration commands are as follows:
[USG]interface g0/0/1
[USG-GigabitEthernet0/0/1]ip address 192.168.1.1 24

Other related questions:
Method used to modify the MAC address on USG firewalls
Method used to modify the MAC address on the USG2000, USG5000, and USG6000: USG firewalls do not support modification of the MAC address.

Method used to view the IP address of an interface on USG firewalls
The commands used to view the IP address of an interface on the USG2000, USG5000, and USG6000 are as follows: 1. Run the display ip interface brief command to view configuration information of an interface IP address. 2. Run the following commands to view the interface configuration: [Huawei] interface g0/0/1 [Huawei-GigabitEthernet0/0/1] display this

Method used to configure the Trunk interface on USG firewalls
The method used to configure the Trunk interface on the USG2000, USG5000, and USG6000 is as follows: Generally, interfaces of firewalls are L3 interfaces. These L3 interfaces shall be converted to L2 interfaces. sys [USG]vlan batch 2 3 //Create a VLAN. [USG]interface gigabitethernet 0/0/3 [USG-GigabitEthernet0/0/3]Portswitch //Convert an L3 interface to an L2 interface. If the interface is an L2 interface, this command is not required. [USG-GigabitEthernet0/0/3]port link-type trunk //Set the interface type to Trunk (the default value is Hybrid). [USG-GigabitEthernet0/0/3]port trunk allow-pass vlan all //Set the system to permit packets of all VLANs (by default, only packets in VLAN 1 are permitted). [USG-GigabitEthernet0/0/3]port trunk pvid vlan 2 //(Optional) Set the default VLAN to VLAN 2 (the default VLAN is VLAN 1 previously).

Method used to configure primary and secondary IP addresses of an interface on USG firewalls
The following commands are used to configure the primary and secondary IP addresses of an interface on the USG2000, USG5000, and USG6000: system-view [USG] interface GigabitEthernet 0/0/3 [USG-GigabitEthernet0/0/3] ip address 10.2.1.1 24 //Primary IP address [USG-GigabitEthernet0/0/3] ip address 10.2.1.8 24 sub //Secondary IP address Note: The primary and secondary IP address of the same interface can be in the same network segment. However, any of IP addresses of different interfaces, IP addresses of the main interface and the subinterface, and IP addresses of the main interface and different subinterfaces cannot be in the same network segment.

DHCP lease period configuration on USG firewalls
You can configure (or modify) the DHCP lease period on the USG2000, USG5000, and USG6000 as follows: 1. Configuration on the web UI: a. Choose Network > DHCP Server > Service. b. Complete basic DHCP configurations. c. Click Advanced. Configure the domain name, address lease period, and WINS server. d. Click Apply. 2. Configuring on the CLI: a. Configure the lease period in address pool mode. [USG] dhcp server ip-pool 2 [USG-dhcp-2] network 10.1.1.128 mask 255.255.255.128 [USG-dhcp-2] gateway-list 10.1.1.129 [USG-dhcp-2] expired day 5 [USG-dhcp-2] quit b. Configure the lease period in interface mode. [USG]interface Vlanif10 [USG-interface-VLANif10] ip address 10.1.1.1 255.255.255.0 [USG-interface-VLANif10] dhcp server expired day 10 hour 12

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