hpe:switch:snmp_v3_hpe_comware_cli
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hpe:switch:snmp_v3_hpe_comware_cli [2023/07/29 13:59] – aperez | hpe:switch:snmp_v3_hpe_comware_cli [2023/07/29 14:23] (current) – aperez | ||
---|---|---|---|
Line 20: | Line 20: | ||
[Agent] undo snmp-agent mib-view ViewDefault | [Agent] undo snmp-agent mib-view ViewDefault | ||
[Agent] snmp-agent mib-view included test ifTable | [Agent] snmp-agent mib-view included test ifTable | ||
- | [Agent] snmp-agent group v3 **managev3group** read-view test write-view test | + | [Agent] snmp-agent group v3 managev3group read-view test write-view test |
Line 26: | Line 26: | ||
encryption algorithm to **aes128**, and privacy key to **123456TESTencr& | encryption algorithm to **aes128**, and privacy key to **123456TESTencr& | ||
- | [Agent] snmp-agent usm-user v3 **managev3user** **managev3group** simple authentication-mode | + | [Agent] snmp-agent usm-user v3 managev3user managev3group simple authentication-mode sha 123456TESTauth& |
- | privacy-mode | + | privacy-mode aes128 123456TESTencr& |
//# Configure contact person and physical location information for the agent.// | //# Configure contact person and physical location information for the agent.// | ||
Line 37: | Line 37: | ||
[Agent] snmp-agent trap enable | [Agent] snmp-agent trap enable | ||
- | [Agent] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname | + | [Agent] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname managev3user v3 privacy |
| | ||
**// | **// | ||
- Specify SNMPv3. | - Specify SNMPv3. | ||
- | - Create the SNMPv3 user **managev3user**. | + | - Create the SNMPv3 user managev3user. |
- Enable both authentication and privacy functions. | - Enable both authentication and privacy functions. | ||
- | - Use **SHA-1** for authentication and **AES** for encryption. | + | - Use SHA-1 for authentication and AES for encryption. |
- | - Set the authentication key to **123456TESTauth& | + | - Set the authentication key to 123456TESTauth& |
- Set the timeout time and maximum number of retries. | - Set the timeout time and maximum number of retries. | ||
Line 92: | Line 92: | ||
**SNMP Client (Zabbix): 172.16.48.26** | **SNMP Client (Zabbix): 172.16.48.26** | ||
+ | |||
**SNMP Server (Switch): 172.16.4.1** | **SNMP Server (Switch): 172.16.4.1** | ||
Line 98: | Line 99: | ||
snmp-agent | snmp-agent | ||
snmp-agent local-engineid 800063A280DC680CF0E3C400000001 | snmp-agent local-engineid 800063A280DC680CF0E3C400000001 | ||
- | snmp-agent | + | snmp-agent community read Companyread |
- | snmp-agent | + | snmp-agent community write Companywrite |
- | snmp-agent sys-info | + | snmp-agent sys-info contact Eng. Jhon Smith |
- | snmp-agent sys-info | + | snmp-agent sys-info location US |
- | snmp-agent sys-info | + | snmp-agent sys-info version all |
- | snmp-agent group v3 **Company3group read-view** privacy | + | snmp-agent group v3 Company3group read-view privacy write-view internet |
- | snmp-agent target-host trap address udp-domain | + | snmp-agent target-host trap address udp-domain 172.16.48.26 params securityname |
- | snmp-agent | + | snmp-agent mib-view included internet internet |
- | snmp-agent usm-user v3 Company3user Company3group | + | snmp-agent usm-user v3 Company3user Company3group |
- | privacy-mode | + | privacy-mode aes128 passwordclient2 |
- | snmp-agent trap **enable arp** | + | snmp-agent trap enable arp |
- | snmp-agent trap **enable radius** | + | snmp-agent trap enable radius |
- | snmp-agent trap **enable stp** | + | snmp-agent trap enable stp |
- | snmp-agent trap **enable syslog** | + | snmp-agent trap enable syslog |
**Zabbix Configuration host:** | **Zabbix Configuration host:** |
hpe/switch/snmp_v3_hpe_comware_cli.1690657195.txt.gz · Last modified: 2023/07/29 13:59 by aperez