1. Log in to Huawei firewall. You can log in to Huawei firewall through console or Telnet. In the console, you need to enter the user name and password, and then enter the "System-View" command to enter the system view.
2. Query the security policy. In the system view, enter the "Show Firewall" command to view the specific configuration of the current security policy.
3. Check the port restrictions. In the security policy, you can find the enabled port restriction settings. For example, if your firewall needs to restrict the attacked ports, you can find the corresponding items in the security policy.
Note: Due to different firewall models or software versions, the above specific commands may be different. It is recommended to inquire according to the firewall model or software version used, or consult the relevant firewall manual.