SNMP esempio configurazione Junos
28.02 2024 | by massimilianoset snmp community “community_ro” authorization read-only set snmp community “community_ro” clients <ip_client_1> set snmp community “community_ro” clients <ip_client_2> set snmp […]
set snmp community “community_ro” authorization read-only
set snmp community “community_ro” clients <ip_client_1>
set snmp community “community_ro” clients <ip_client_2>
set snmp community “community_ro” clients <ip_client_3>
set snmp community “community_ro” clients <ip_client_4>
set snmp community “community_ro” clients <ip_client_5>
set snmp community “community_ro” clients <ip_client_6>
set snmp community “community_ro” clients <ip_client_7>
set snmp community “community_ro” clients <ip_client_8>
set snmp community “community:ro” clients <ip_client_9>
set snmp community “community:ro” clients <ip_client_10>
set snmp community “community_ro” clients <ip_client_11>
!
set snmp community “community_rw” authorization read-write
set snmp community “community_rw” clients <ip_client_rw>
!
set snmp community SysRO authorization read-only
set snmp community SysRO clients <ip_client_snmp_1_ro>
set snmp community SysRO clients <ip_client_snmp_2_ro>
!
set snmp community SysRW authorization read-write
set snmp community SysRW clients <ip_client_snmp_3_rw>
set snmp community SysRW clients <ip_client_snmp_4_rw>
!
set snmp trap-options source-address lo0.0
!
set snmp trap-group <name_trap_group> categories chassis
set snmp trap-group <name_trap_group> categories link
set snmp trap-group <name_trap_group> categories startup
set snmp trap-group <name_trap_group> categories configuration
!
set snmp trap-group <name_trap_group> targets <ip_target_1>
set snmp trap-group <name_trap_group> targets <ip_target_2>
set snmp trap-group <name_trap_group> targets <ip_target_3>
!
set snmp trap-group <name_trap_group_v2> version v2
set snmp trap-group <name_trap_group_v2> targets <ip_target_1_v2>
set snmp trap-group <name_trap_group_v2> targets <ip_target_1_v2>
set snmp trap-group <name_trap_group_v2> targets <ip_target_1_v2>