华为新一代的防火墙,默认情况下,只有0口是可以允许所有服务的,那么如果你想其它端口也需要的话,需要在端口下面输入如下命令
interface GigabitEthernet0/0/1
service-manage http permit 允许http登录
service-manage https permit 允许https登录
service-manage ping permit 允许ping
service-manage ssh permit 允许ssh登录
service-manage snmp permit 允许snmp
service-manage telnet permit 允许telnet登录
如果你只想允许ping,那么只要service-manage ping permit即可