Method used to view the IP address of an interface on USG firewalls

16

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

Other related questions:
Method used to view the mapping between the IP address and the MAC address on USG firewalls
Method used to view the mapping between the IP address and the MAC address on the USG2000, USG5000, and USG6000: You can run the display arp command to view the mapping between the IP address and the MAC address. [USG]display arp IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE VLAN/PVC --------------------------------------------------------------------------- 1.1.2.2 3400-a3d8-f023 I Vlanif300 100.1.1.1 3400-a3d8-f023 I Vlanif200 6.6.6.6 3400-a3d8-f023 I Vlanif2 192.168.108.111 3400-a3d8-f01f I GE0/0/0 192.168.108.222 3400-a3d8-f01f I GE0/0/0 192.168.108.100 d46a-b330-c311 6 D GE0/0/0 192.168.108.113 3400-a3da-e1b0 12 D GE0/0/0 192.168.108.115 200b-c73b-6300 16 D GE0/0/0 192.168.108.114 200b-c73b-5b00 16 D GE0/0/0 I indicates the MAC address of the interface. You can learn the local interface address in I, including the VLANIF interface and L3 interface. D indicates a dynamic entry obtained using the ARP packet. Based on the IP address and MAC address learned by the corresponding interface, you can identify the interface that interworks with a lower-layer device, and determine the MAC address of the device using the IP address. For example, if the IP address of a computer is available, you can determine the MAC address based on the corresponding MAC option. Note: You can view only ARP entries learned by a local device. If devices are far apart from each other, the local device does not need to learn the ARP of the device on the lowest level. In such a case, you cannot view the IP address and MAC address on the local device.

Method used to view the MAC address of a device on USG firewalls
The method used to view the MAC address of a device on the USG2000, USG5000, and USG6000 is as follows: You cannot view the MAC address of a device on the web UI on USG firewalls. You can run the display arp command in the command line to view the local MAC address and peer MAC address. [USG]display arp IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPNINSTANCE VLAN/PVC 1.1.2.2 3400-a3d8-f023 I Vlanif300 100.1.1.1 3400-a3d8-f023 I Vlanif200 6.6.6.6 3400-a3d8-f023 I Vlanif2 192.168.108.111 3400-a3d8-f01f I GE0/0/0 192.168.108.222 3400-a3d8-f01f I GE0/0/0 192.168.108.100 d46a-b330-c311 6 D GE0/0/0 192.168.108.113 3400-a3da-e1b0 12 D GE0/0/0 192.168.108.115 200b-c73b-6300 16 D GE0/0/0 192.168.108.114 200b-c73b-5b00 16 D GE0/0/0 I indicates the MAC address of the interface, and D indicates a dynamic entry obtained using the ARP packet. You can learn the local interface address in I, including the VLANIF interface and L3 interface (WAN interface).

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.

Method used to modify the interface address on USG firewalls
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

Method used to view the IP address and MAC address obtained by a DHCP user on USG firewalls
On the USG2000, USG5000, and USG6000, you can view the IP address and MAC address obtained by a DHCP user as follows: Checking on the web UI: Choose Network > DHCP Server > Monitoring. In Address Leases, view the IP address and MAC address allocated by the DHCP server to the DHCP client. As shown in the figure, the IP address allocated by the DHCP server to the DHCP client is 192.168.0.2. Checking on the CLI: On the PC, run the cmd command to enter the DOS environment. Run the ipconfig command to view the IP address of the PC. As shown in the figure, the IP address of the PC is 192.168.0.2. C:\Documents and Settings\Administrator> ipconfig /all Physical Address. . . . . . . . . : 00-21-97-c7-4a-18 Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 192.168.0.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 DHCP Server . . . . . . . . . . . : 192.168.0.1 DNS Servers . . . . . . . . . . . : 192.168.0.253 Primary WINS Server . . . . . . . : 192.168.0.254 On the device, run the display arp command to view the MAC address corresponding to the IP address. [USG]display arp IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE VLAN/CEVLAN PVC -------------------------------------------------------------------------- 192.168.0.1 00e0-fceb-0377 I - GE0/0/0 192.168.0.2 5489-9870-670d 20 D-0 GE0/0/0 ------------------------------------------------------------------------------ Total:2 Dynamic:1 Static:0 Interface:1

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