Hi friend.
You need to configure the IP ACL and then enable the related firewall.
The following two commands you will use:
1. sysman ip-access
2. sysman firewall
For details, see the following configuration example:
1. Allow the ip list for ssh:
huawei(config)#sysman ip-access
{protocol-type<E><telnet,ssh,snmp> }:ssh
{start-ipaddress<I><X.X.X.X> }:X.X.X.X
{end-ipaddress<I><X.X.X.X> }:X.X.X.X
2. Enable ssh Firewall:
huawei(config)#sysman firewall
{ protocol-type<E><telnet,ssh,snmp> }:ssh
{ enable<K>|disable<K> }:enable
Command:
sysman firewall ssh enable
3. Allow the ip list for SNMP:
huawei(config)#sysman ip-access
{ protocol-type<E><telnet,ssh,snmp> }:snmp
{ start-ipaddress<I><X.X.X.X> }:X.X.X.X
{ end-ipaddress<I><X.X.X.X> }:X.X.X.X
4. Enable Firewall for SNMP:
huawei(config)#sysman firewall
{ protocol-type<E><telnet,ssh,snmp> }:snmp
{ enable<K>|disable<K> }:enable
Command:
sysman firewall ssh enable
I hope I can help you!