HP 8/40 Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June - Page 636
snmpConfig, To display the SNMPv1 configuration, To set the SNMPv1 configuration of a switch, To set
View all HP 8/40 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 636 highlights
2 snmpConfig Examples To display the SNMPv1 configuration: switch:admin> snmpConfig --show snmpv1 SNMPv1 community and trap recipient configuration: Community 1: Secret C0de (rw) Trap recipient: 10.32.147.113 Trap recipient Severity Level: 0 Community 2: OrigEquipMfr (rw) Trap recipient: 1080::8:800:200C:1234 Trap recipient Severity Level: 0 Community 3: private (rw) No trap recipient configured yet Community 4: public (ro) No trap recipient configured yet Community 5: common (ro) No trap recipient configured yet Community 6: FibreChannel (ro) No trap recipient configured yet To set the SNMPv1 configuration of a switch: switch:admin> snmpConfig --set snmpv1 SNMP community and trap recipient configuration: Community (rw): [Secret C0de] Trap Recipient's IP address: [0.0.0.0] 1080::8:800:200C:1234 Community (rw): [OrigEquipMfr] string size must be between 2 and 16 - please re-enter Community (rw): [OrigEquipMfr] Trap Recipient's IP address: [1080::8:800:200C:1230] 10.32.147.113 Community (rw): [private] Trap Recipient's IP address: [0.0.0.0] Community (ro): [public] Trap Recipient's IP address: [0.0.0.0] Community (ro): [common] Trap Recipient's IP address: [0.0.0.0] Community (ro): [FibreChannel] Trap Recipient's IP address: [0.0.0.0] To set the access control configuration: switch:admin> snmpconfig --set accessControl SNMP access list configuration: Access host subnet area in dot notation: [0.0.0.0] 192.168.0.0 Read/Write? (true, t, false, f): [true] Access host subnet area in dot notation: [0.0.0.0] 10.32.148.0 Read/Write? (true, t, false, f): [true] f Access host subnet area in dot notation: [0.0.0.0] Read/Write? (true, t, false, f): [true] Access host subnet area in dot notation: [0.0.0.0] 10.33.0.0 Read/Write? (true, t, false, f): [true] f Access host subnet area in dot notation: [0.0.0.0] Read/Write? (true, t, false, f): [true] Access host subnet area in dot notation: [0.0.0.0] Read/Write? (true, t, false, f): [true] Committing configuration...done. 610 Fabric OS Command Reference 53-1000599-02