Trap community string, Access control – HP e-CommerceXML Accelerator sa7150 User Manual
Page 138

C H A P T E R 6 HP e-Commerce/XML Server Accelerator SA7150 User Guide
128
Trap Community String
Use CLI commands
setsnmp trap_community, list
trap_community and delete trap_community to set, display, and
delete trap community strings.
HP SA7150> setsnmp trap_community
SNMP Trap Community String(s) Setting.
Enter a SNMP Trap Community IP (q to quit): 0.0.0.0
Enter a SNMP Trap Community String (q to quit): private
Enter a SNMP Trap Community IP (q to quit): 0.0.0.0
Enter a SNMP Trap Community String (q to quit): public
Enter a SNMP Trap Community IP (q to quit): q
HP SA7150> list trap_community
SNMP Trap Community String(s) information.
<2> Current SNMP Trap Community String(s):
1.) IP: 0.0.0.0 => String: public
2.) IP: 0.0.0.0 => String: private
HP SA7150> delete trap_community
SNMP Trap Community String(s) Deletion.
<2> Current Available SNMP Trap Community String(s):
1.) IP: 0.0.0.0 => String: public
2.) IP: 0.0.0.0 => String: private
Enter number (1 to 2) to delete (q to quit) [1]: 2
Enter number (1 to 2) to delete (q to quit) [1]: q
Access Control
The SA7150 provides block and permit commands which allow you
to deny or allow clients to access servers based on IP, IP mask, port
and port mask.
To block a client, specified by IP and IP mask, from accessing a
specified server, use the create block command as illustrated below:
NOTE: To show, list or
delete blocks and permits,
see the Command
Reference in Chapter 5.
HP SA7150> create block
Client IP to block [0.0.0.0]: 10.1.2.1
Client IP mask [0.0.0.0]: 255.255.255.255
Server IP to block [0.0.0.0]: 20.1.2.1
Server IP mask [0.0.0.0]: 255.255.255.255
Server Port to block: 80
Server Port mask [0xffff]: